Fix performance test to only count the time of the operation under test.