mirror of https://github.com/grpc/grpc.git
Merge pull request #70 from ctiller/benchmark
Opportunistically use perftools if installed.pull/99/head
commit
a537ae465b
5 changed files with 48 additions and 4 deletions
@ -0,0 +1,7 @@ |
|||||||
|
#include <gperftools/profiler.h> |
||||||
|
|
||||||
|
int main() { |
||||||
|
ProfilerStart("/dev/null"); |
||||||
|
ProfilerStop(); |
||||||
|
return 0; |
||||||
|
} |
Loading…
Reference in new issue