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-07-08 11:55:55 UTC (21:07:01 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-07-08 11:53:46 UTC (21:09:10 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-07-08 11:51:05 UTC (21:11:50 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-07-07 13:20:36 UTC (01 19:42:19 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-O3 |
timestamp |
2025-07-07 13:18:27 UTC (01 19:44:29 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-static_O3 |
timestamp |
2025-07-07 13:17:56 UTC (01 19:45:00 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_12-bindist |
timestamp |
2025-07-07 13:17:47 UTC (01 19:45:09 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-clang_17_libc++ |
timestamp |
2025-07-07 12:57:13 UTC (01 20:05:42 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-07-07 12:53:29 UTC (01 20:09:27 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_18_libc++-static_O3 |
timestamp |
2025-07-07 12:48:36 UTC (01 20:14:19 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_18_libc++-O3 |
timestamp |
2025-07-07 12:46:27 UTC (01 20:16:29 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-07-07 12:46:10 UTC (01 20:16:45 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-07-07 12:26:23 UTC (01 20:36:33 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-07-07 12:17:46 UTC (01 20:45:09 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-07-07 12:15:50 UTC (01 20:47: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 |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18-static_O3 |
timestamp |
2025-07-07 12:06:07 UTC (01 20:56:49 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-07-07 12:01:06 UTC (01 21:01:50 days 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-07-07 11:26:08 UTC (01 21:36:48 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_17_libc++ |
timestamp |
2025-07-07 11:12:15 UTC (01 21:50:41 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-07-07 11:02:48 UTC (01 22:00:07 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_40-gcc_14-bindist |
timestamp |
2025-07-06 13:37:15 UTC (02 19:25:40 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-07-06 12:55:45 UTC (02 20:07:10 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_libc++ |
timestamp |
2025-06-21 05:41:20 UTC (18 03:21:35 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_libc++-O3 |
timestamp |
2025-06-21 05:16:56 UTC (18 03:46:00 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_libc++-static_O3 |
timestamp |
2025-06-21 05:10:57 UTC (18 03:51:59 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-static_O3 |
timestamp |
2025-06-21 05:07:04 UTC (18 03:55:52 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_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) |