perftest: automatically calc filename