finally found the --perftest bug