google-benchmark

[full]

Build2 package for google benchmark

build-and-test bazel pylint test-bindings

Build Status Coverage Status

A library to benchmark code snippets, similar to unit tests. Example:

#include <benchmark/benchmark.h>

static void BM_SomeFunction(benchmark::State& state) {
  // Perform setup here
  for (auto _ : state) {
    // This code gets timed
    SomeFunction();
  }
}
// Register the function as a benchmark
BENCHMARK(BM_SomeFunction);
// Run the benchmark
BENCHMARK_MAIN();

Getting Started

To get started, see Requirements and Installation. See Usage for a full example and the User Guide for a more comprehensive feature overview.

... More
license Apache-2.0
project google-benchmark
url github.com/google/benchmark.git
4 Versions
version 1.7.1
repository https://pkg.cppget.org/1/stable
depends 0
requires 1; c++11
version 1.7.0+2
repository https://pkg.cppget.org/1/stable
depends 0
requires 1; c++11
version 1.6.1+1
repository https://pkg.cppget.org/1/stable
depends 0
requires 1; c++11
version 1.6.0+1
repository https://pkg.cppget.org/1/stable
depends 0
requires 1; c++11