check for USE_DOUBLE in perf thread