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-08-22 11:57:18 UTC (20:13:27 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-08-22 11:52:45 UTC (20:18: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-08-22 00:27:32 UTC (01 07:43:14 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 |
timestamp |
2025-08-21 13:16:37 UTC (01 18:54: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-clang_18_llvm_msvc_17.10 |
timestamp |
2025-08-21 13:14:22 UTC (01 18:56:23 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_14-static_O3 |
timestamp |
2025-08-21 13:13:04 UTC (01 18:57:42 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-08-21 13:11:21 UTC (01 18:59:25 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_ubuntu_24.04-gcc_13-bindist |
timestamp |
2025-08-21 13:04:18 UTC (01 19:06:27 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-clang_17_msvc_msvc_17.10 |
timestamp |
2025-08-21 12:56:03 UTC (01 19:14:43 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-08-21 12:52:33 UTC (01 19:18:13 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-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.8-static_O2 |
timestamp |
2025-08-21 12:43:50 UTC (01 19:26:55 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_17_libc++ |
timestamp |
2025-08-21 12:41:18 UTC (01 19:29:28 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++ |
timestamp |
2025-08-21 12:34:47 UTC (01 19:35: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-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.10-static_O2 |
timestamp |
2025-08-21 12:34:09 UTC (01 19:36:37 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-08-21 12:32:36 UTC (01 19:38: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 |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-O3 |
timestamp |
2025-08-21 12:31:11 UTC (01 19:39: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-gcc_13.1 |
timestamp |
2025-08-21 12:31:02 UTC (01 19:39:43 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-08-21 12:30:40 UTC (01 19:40:05 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-gcc_14-ndebug_O3 |
timestamp |
2025-08-21 11:56:49 UTC (01 20:13:57 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-08-21 11:51:41 UTC (01 20:19:05 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-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_18_llvm_msvc_17.10-static_O2 |
timestamp |
2025-08-21 11:22:39 UTC (01 20:48:07 days ago) |
result |
warning (configure) | warning (update) | error (test) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_18_llvm_msvc_17.10-O2 |
timestamp |
2025-08-21 11:22:08 UTC (01 20:48:38 days ago) |
result |
warning (configure) | warning (update) | error (test) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64-O2 |
timestamp |
2025-08-21 11:20:01 UTC (01 20:50:45 days ago) |
result |
warning (configure) | warning (update) | error (test) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64 |
timestamp |
2025-08-21 11:19:14 UTC (01 20:51:32 days ago) |
result |
warning (configure) | warning (update) | error (test) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64-static_O2 |
timestamp |
2025-08-21 11:17:10 UTC (01 20:53:36 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-08-21 11:10:30 UTC (01 21:00:16 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-08-21 11:07:32 UTC (01 21:03:14 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-08-21 10:52:35 UTC (01 21:18:11 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-08-21 06:33:17 UTC (02 01:37: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-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-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 |