Build2 package for google benchmark
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 |
5 Versions
version | 1.8.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
requires | 1; c++11 |
reviews | +1 |
version | 1.7.1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
requires | 1; c++11 |
reviews | +1 |
version | 1.7.0+2 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
requires | 1; c++11 |
reviews | +1 |
version | 1.6.1+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
requires | 1; c++11 |
reviews | +1 |
version | 1.6.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 0 |
requires | 1; c++11 |
reviews | +1 |