Merge pull request #16738 from hcaseyal/add_microbenchmarking_documentation

Add documentation for running microbenchmarks with internal tooling
pull/16748/head
hcaseyal 6 years ago committed by GitHub
commit b8d102460e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc

@ -31,6 +31,8 @@ auto& force_library_initialization = Library::get();
* CONFIGURATIONS
*/
// Replace "benchmark::internal::Benchmark" with "::testing::Benchmark" to use
// internal microbenchmarking tooling
static void SweepSizesArgs(benchmark::internal::Benchmark* b) {
b->Args({0, 0});
for (int i = 1; i <= 128 * 1024 * 1024; i *= 8) {

Loading…
Cancel
Save