refactor performance test cases