Implemented a more precise performance test using thrift