{"push_id":809157806,"size":1,"distinct_size":1,"ref":"refs/heads/bench","head":"7500d59463c59d8675acf551b5b4ec826880da26","before":"e91b47f622e48ca87d4bd1c4a4dcc3718a411272","commits":[{"sha":"7500d59463c59d8675acf551b5b4ec826880da26","author":{"email":"19a45ba432ebf68c5c553ec17ef341bff6a9e1b9@gmail.com","name":"Gavin Andresen"},"message":"Simple benchmarking framework\n\nBenchmarking framework, loosely based on google's micro-benchmarking\nlibrary (https://github.com/google/benchmark)\n\nWny not use the Google Benchmark framework? Because adding Even More Dependencies\nisn't worth it. If we get a dozen or three benchmarks and need nanosecond-accurate\ntimings of threaded code then switching to the full-blown Google Benchmark library\nshould be considered.\n\nThe benchmark framework is hard-coded to run each benchmark for one wall-clock second,\nand then spits out .csv-format timing information to stdout. It is left as an\nexercise for later (or maybe never) to add command-line arguments to specify which\nbenchmark(s) to run, how long to run them for, how to format results, etc etc etc.\nAgain, see the Google Benchmark framework for where that might end up.\n\nSee src/bench/MilliSleep.cpp for a sanity-test benchmark that just benchmarks\n'sleep 100 milliseconds.'\n\nTo compile and run benchmarks:\n  cd src; make bench\n\nSample output:\n\nBenchmark,count,min,max,average\nSleep100ms,10,0.101854,0.105059,0.103881","distinct":true,"url":"https://api.github.com/repos/gavinandresen/bitcoin-git/commits/7500d59463c59d8675acf551b5b4ec826880da26"}]}