test/trace: add performance test cases