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-gcc_14 |
timestamp |
2025-09-24 21:51:16 UTC (58:20 minutes 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-09-24 21:33:03 UTC (01:16:33 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-09-24 11:45:46 UTC (11:03:50 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-clang_18_libc++-static_O3 |
timestamp |
2025-09-24 05:33:33 UTC (17:16:03 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-O3 |
timestamp |
2025-09-24 05:28:32 UTC (17:21:04 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-clang_18_libc++-O3 |
timestamp |
2025-09-24 05:27:32 UTC (17:22:04 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_12-bindist |
timestamp |
2025-09-24 04:41:36 UTC (18:08:00 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 |
timestamp |
2025-09-24 03:55:19 UTC (18:54: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_debian_12-gcc_14-O3 |
timestamp |
2025-09-24 03:48:49 UTC (19:00: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_14-static_O3 |
timestamp |
2025-09-24 03:47:05 UTC (19:02:31 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-clang_17_libc++ |
timestamp |
2025-09-23 19:53:46 UTC (01 02:55:50 days 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-freebsd14.1 |
tgt config |
freebsd_14-clang_18-static_O3 |
timestamp |
2025-09-23 19:42:30 UTC (01 03:07:06 days 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_13.1 |
timestamp |
2025-09-23 19:03:40 UTC (01 03:45:56 days 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-09-23 17:28:32 UTC (01 05:21:04 days 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_ubuntu_24.04-gcc_13-bindist |
timestamp |
2025-09-23 16:46:38 UTC (01 06:02:58 days 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.8-static_O2 |
timestamp |
2025-09-23 16:43:51 UTC (01 06:05:45 days 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-gcc_14-ndebug_O3 |
timestamp |
2025-09-23 15:49:08 UTC (01 07:00:27 days ago) |
result |
warning (configure) | warning (update) | error (test) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18-static_O3 |
timestamp |
2025-09-23 15:19:49 UTC (01 07:29:47 days 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_17_libc++ |
timestamp |
2025-09-23 15:03:48 UTC (01 07:45:48 days 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-gcc_13 |
timestamp |
2025-09-23 13:52:13 UTC (01 08:57:23 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_debian_12-gcc_14-ndebug_O3 |
timestamp |
2025-09-23 13:44:22 UTC (01 09:05:14 days ago) |
result |
warning (configure) | warning (update) | error (test) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_40-gcc_14-bindist |
timestamp |
2025-09-23 07:20:46 UTC (01 15:28:50 days 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-clang_18_libc++ |
timestamp |
2025-09-23 01:31:42 UTC (01 21:17:54 days 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 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18-O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18-static_O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++ |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-static_O3 |
result |
unbuilt |
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-darwin22.5.0 |
tgt config |
macos_13-clang_15.0 |
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) |