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.
Requires (1)
Reviews
Builds
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-static_O3 |
timestamp |
2025-04-25 13:57:23 UTC (08:37:46 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (test-installed) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-O3 |
timestamp |
2025-04-25 13:55:41 UTC (08:39:29 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (test-installed) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18-static_O3 |
timestamp |
2025-04-25 13:54:51 UTC (08:40:18 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (test-installed) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-O3 |
timestamp |
2025-04-25 13:29:55 UTC (09:05:14 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (test-installed) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-static_O3 |
timestamp |
2025-04-25 13:28:47 UTC (09:06:22 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (test-installed) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18-static_O3 |
timestamp |
2025-04-25 13:27:58 UTC (09:07:11 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (test-installed) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14 |
timestamp |
2025-04-25 13:15:22 UTC (09:19:47 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_12-bindist |
timestamp |
2025-04-25 13:14:37 UTC (09:20:33 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-O3 |
timestamp |
2025-04-25 13:13:52 UTC (09:21:18 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-static_O3 |
timestamp |
2025-04-25 13:13:24 UTC (09:21:45 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_ubuntu_24.04-gcc_13-bindist |
timestamp |
2025-04-25 13:12:13 UTC (09:22:57 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14 |
timestamp |
2025-04-25 13:04:53 UTC (09:30:16 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-O3 |
timestamp |
2025-04-25 13:03:03 UTC (09:32:06 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-static_O3 |
timestamp |
2025-04-25 13:00:54 UTC (09:34:16 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1 |
timestamp |
2025-04-25 12:48:57 UTC (09:46:12 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.10-static_O2 |
timestamp |
2025-04-25 12:30:33 UTC (10:04:36 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (test-installed) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.8-static_O2 |
timestamp |
2025-04-25 11:20:37 UTC (11:14:33 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-ndebug_O3 |
timestamp |
2025-04-25 11:06:03 UTC (11:29:06 hours ago) |
result |
warning (configure) | warning (update) | error (test) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-ndebug_O3 |
timestamp |
2025-04-25 11:06:02 UTC (11:29:08 hours ago) |
result |
warning (configure) | warning (update) | error (test) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13 |
timestamp |
2025-04-25 11:03:52 UTC (11:31:17 hours ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_40-gcc_14-bindist |
timestamp |
2025-04-23 19:59:28 UTC (02 02:35:41 days ago) |
result |
warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_39-gcc_13-bindist |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-clang_15.0 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-clang_15.0-O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-clang_15.0-static_O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew-O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew-static_O3 |
result |
unbuilt |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64 |
result |
excluded |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64-O2 |
result |
excluded |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64-static_O2 |
result |
excluded (user_counters_tabular_test exists aborts with incorrect regex) |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.8 |
result |
excluded |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.8-O2 |
result |
excluded |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.10 |
result |
excluded |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.10-O2 |
result |
excluded |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_17_msvc_msvc_17.10 |
result |
excluded |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_18_llvm_msvc_17.10 |
result |
excluded |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_18_llvm_msvc_17.10-O2 |
result |
excluded |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_18_llvm_msvc_17.10-static_O2 |
result |
excluded (user_counters_tabular_test exists aborts with incorrect regex) |