perftest.cpp