./benchmarks/google-benchmark, Microbenchmark support library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.9.5, Package name: google-benchmark-1.9.5, Maintainer: minskim

A library to support the benchmarking of functions, similar to unit-tests.


Required to build:
[lang/python310]

Master sites:

Filesize: 260.894 KB

Version history: (Expand)


CVS history: (Expand)


�� 2026-01-21 20:05:57 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
google-benchmark: updated to 1.9.5

1.9.5

python binding: add range check
fix: resolve editable installation issue for python package
Add deprecation warnings for MSVC
[doc] Added nice to reducing_variance
Fix bug: link Shlwapi in Libs.private for Windows
Improve handling of private link libraries in pkg-config generation
python: Update to cibuildwheel 3.0
core(perf): use string move constructor for AddCustomContext
Guard adding intel compiler flag behind check for intel compiler.
Compilation error with warning C4267 fix
CI: update available containers
Update pre-commit ruff lib
Added OpenSSF Scorecard Badge for Security Insights
Fix build when targeting Arm64EC using Clang
python: Assert that libdir is a Path in all branches
ci: Update pre-commit hooks and GitHub Action
Python: add bindings for AddCustomContext
[StepSecurity] Apply security best practices
clang-format python bindings (benchmark.cc)
Bump actions/checkout from 4.3.0 to 5.0.0
Bump actions/download-artifact from 4.3.0 to 5.0.0
Bump DoozyX/clang-format-lint-action from 0.18.2 to 0.20
Bump astral-sh/setup-uv from 6.4.3 to 6.5.0
Bump pypa/cibuildwheel from 3.0.0 to 3.1.3
Bump numpy from 1.25 to 2.0.2 in /tools
Bump scipy from 1.10.0 to 1.13.1 in /tools
python: fix segfault on empty argv in main()
2011: Installing contents from benchmark's tools/ subdirectory.
Bump pypa/cibuildwheel from 3.1.3 to 3.1.4
Bump astral-sh/setup-uv from 6.5.0 to 6.6.0
Bump msys2/setup-msys2 from 2.28.0 to 2.29.0
Bump astral-sh/setup-uv from 6.6.0 to 6.6.1
Bump lukka/get-cmake from 4.1.0 to 4.1.1
Bump actions/setup-python from 5.6.0 to 6.0.0
Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0
Add initializer for statistics field
JSON reporter: make int dumping always happen in C locale
Bump astral-sh/setup-uv from 6.6.1 to 6.7.0
Adding explicit cast to aid in template argument deduction.
Bump pypa/cibuildwheel from 3.1.4 to 3.2.0
Bump actions/cache from 4.2.4 to 4.3.0
Bump astral-sh/setup-uv from 6.7.0 to 6.8.0
Bump ossf/scorecard-action from 2.4.2 to 2.4.3
Fix CXX feature check when try_run compilation fails
Bump lukka/get-cmake from 4.1.1 to 4.1.2
Bump numpy from 2.0.2 to 2.3.3 in /tools
Bump scipy from 1.13.1 to 1.16.2 in /tools
Bump astral-sh/setup-uv from 6.8.0 to 7.0.0
dev: Update pre-commit hooks and nanobind_bazel version
wheels: Update GitHub Actions runner to avoid errors due to macOS x86…
Bump pypa/cibuildwheel from 3.2.0 to 3.2.1
bindings(python): Remove hard absl-py dependency
Bump astral-sh/setup-uv from 7.0.0 to 7.1.0
Bump numpy from 2.3.3 to 2.3.4 in /tools
fix: add missing override key word to ThreadRunnerDefault::RunThreads
Bump astral-sh/setup-uv from 7.1.0 to 7.1.1
Fix warnings from Clang
Bump actions/upload-artifact from 4.6.2 to 5.0.0
Bump actions/download-artifact from 5.0.0 to 6.0.0
Bump astral-sh/setup-uv from 7.1.1 to 7.1.2
Bump scipy from 1.16.2 to 1.16.3 in /tools
Bump astral-sh/setup-uv from 7.1.2 to 7.1.3
docs: fix typos in some files
Bump actions/checkout from 5.0.0 to 5.0.1
Bump pypa/cibuildwheel from 3.2.1 to 3.3.0
Bump numpy from 2.3.4 to 2.3.5 in /tools
Take a closure for benchmark configuration
Add missing type_traits include to benchmark_register.h
Bump lukka/get-cmake from 4.1.2 to 4.2.0
Bump actions/checkout from 5.0.1 to 6.0.0
Bump actions/setup-python from 6.0.0 to 6.1.0
Bump astral-sh/setup-uv from 7.1.3 to 7.1.4
Remove redundant feature checks on re-run of CMake config step
Make the build work with -Wformat=2
Add tests for user counters w/ threads
Bump lukka/get-cmake from 4.2.0 to 4.2.1
Bump actions/checkout from 6.0.0 to 6.0.1
Bump astral-sh/setup-uv from 7.1.4 to 7.1.5
Fix rate and thread rate counter aggregates
Bump actions/download-artifact from 6.0.0 to 7.0.0
Bump actions/upload-artifact from 5.0.0 to 6.0.0
Bump actions/cache from 4.3.0 to 5.0.1
Bump msys2/setup-msys2 from 2.29.0 to 2.30.0
Bump astral-sh/setup-uv from 7.1.5 to 7.1.6
Bump egor-tensin/setup-clang from 1.4 to 2.1
Bump numpy from 2.3.5 to 2.4.0 in /tools
Bump astral-sh/setup-uv from 7.1.6 to 7.2.0
Bump pypa/cibuildwheel from 3.3.0 to 3.3.1
Bump numpy from 2.4.0 to 2.4.1 in /tools
Bump scipy from 1.16.3 to 1.17.0 in /tools
Make the Benchmark class public
Bump actions/cache from 5.0.1 to 5.0.2
Silence -Wc2y-extensions warning around __COUNTER__
�� 2025-05-20 14:22:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
google-benchmark: updated to 1.9.4

1.9.4

Update build instructions for Visual Studio
MaybeReenterWithoutASLR(): be more cautious about argument types
Fix MaybeReenterWithoutASLR() in docker
Enable Google Benchmark to run in WebAssembly with filesystem disabled
wheels: Build Linux ARM wheels natively on ARM runners
�� 2025-05-07 14:44:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
google-benchmark: updated to 1.9.3

1.9.3

Use the top-level ::benchmark namespace to resolve make_unique
Refactor threading run
Threading api v3
Templated fixture methods
Macro fix
Deprecate ubuntu-20.04 images in actions
deps: Update nanobind_bazel to v2.7.0
Fix error handling of getloadavg
Improve user UX on empty benchmarks
Detect and report ASLR status
Automatic ASLR disablement
dev: Update pre-commit hooks
�� 2025-03-31 18:48:30 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
google-benchmark: updated to 1.9.2

1.9.2

Add artifact name to download before wheel PyPI upload
Remove if statement from wheel upload job
Fix malformed clang invocation in build_ext.run
Remove wheel merge job, merge artifacts on download
Change SDK version check
[bazel] Remove selects on CPU
cycleclock: Support for PA-RISC (hppa) architecture
fix: remove clang-cl compilation warning
README.md: fix build instructions
cycleclock: Use clock_gettime() as fallback for any Linux architecture
Fix runtime crash when parsing /proc/cpuinfo fails
Get number of CPUs with sysconf() on Linux
Update nanobind-bazel to v2.4.0
ci: Update pre-commit hooks
Lint Python: Add more ruff rules
GitHub Actions: build-and-test on an ARM processor
ruff rule E501: Fix long lines in Python code
[BUG] Fix ProfilerManager number of iterations
Update error message now that /proc/cpuinfo is no longer in use
add back /proc/cpuinfo as a fallback for some platforms
change pacboy compiler target for windows builds
Retrieve the number of online CPUs on OpenBSD and NetBSD
Replace usage of deprecated sysctl on macOS
Try to use the _SC_NPROCESSORS_ONLN sysconf elsewhere
fix sanitizer cmake builds
Remove /proc/cpuinfo fallback path
Build libpfm with rules_cc
remove cxx03 test, fully unblocking c++1X development
run clang-tidy using a common config and reduced set of tests
benchmark declarations can and should be const (clang-tidy)
[clang-tidy] use unique_ptr for benchmark registration
[clang-tidy] fix warning about decaying array to pointer
[clang-tidy] fix missing braces
[clang-tidy] autofix cppcoreguidelines
[clang-tidy] autofix readability issues
dx: Update pre-commit repos, change imports of Python / CC rules
deps: Update nanobind_bazel to v2.5.0
use smart pointers
[clang-tidy] resolve some global clang-tidy issues
Fix build errors on QuRT (Hexagon)
change setup and teardown callback type
Install FindPFM.cmake for bencmarkConfig.cmake
fix memory manager result bug
Compilation example was wrong. Fixed standard
CI: unbreak MSan job
update version of gtest to v1.15.2 (latest) and also the cmake config
Finish cxx version bump
�� 2024-12-04 12:23:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
google-benchmark: updated to 1.9.1

1.9.1

Fix Python manual timing example
Align benchmark::State to a cacheline.
Fix C4459: Rename a function parameter profiler_manager to avoid hiding the \ 
global declaration.
Bump oldest supported Python to 3.10, eliminate setuptools-scm
enable the /MP MSVC compiler argument for parallel compilation
Added the functionality for a dry run benchmark called through the cli argument \ 
--benchmark_dry_run.
Version string correction in pkg-config files
Add enum value from newest Windows SDK
Fix spurious warning 'misc-use-anonymous-namespace'
Update user_guide.md
upgrade bazel mods. requires c++14 for tests
Update nanobind_bazel to v2.2.0
bump googletest version to match bazel
Verify RegisterProfilerManager doesn't overwrite an existing registration
ensure background color is preserved
Add nb::is_flag() annotation to Counter::Flags
Add a Python matrix to ensure the bindings build on all supported versions
Declare a Python 3.13 toolchain, revert setup.py toolchain target sele…
update standard to C++17 per C++ build support
Improve examples on ComputeStatistics
�� 2024-08-25 08:19:21 by Thomas Klausner | Files touched by this commit (575)
Log message:
*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
�� 2024-07-19 08:49:06 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
google-benchmark: updated to 1.8.5

v1.8.5

Improve compatibility with Hexagon hardware
hotfix: Correct pypi-publishing action tag to v1.8.14
CMake: unbreak version handling for tarballs
cycleclock: Fix type conversion to match function return type
bump standard to C++14
Docs: Bump minimum required C++ version from C++11 to C++14
cycleclock: Fix type conversion to match function return type on riscv64
[bazel] Use includes instead of strip_include_prefix
Find libpfm dependency in installed CMake configs
Add -lkstat to the .pc for Solaris
add PERF_FORMAT_TOTAL_TIME_{ENABLED,RUNNING} to support multiplexing
Clarify the difference between BENCHMARK_TEMPLATE_F and \ 
BENCHMARK_TEMPLATE_DEFINE_F + BENCHMARK_REGISTER_F
[FR] Add API to provide custom profilers
�� 2023-08-31 19:22:52 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
google-benchmark: updated to 1.8.3

v1.8.3

Fix broken PFM-enabled tests
Update tools.md for missing color meaning
Add pyproject.toml file for PEP518 compliance
pfm: Use a more standard CMake approach for finding libpfm
Bump nanobind to stable v1.4.0 tag
Bump scipy from 1.5.4 to 1.10.0 in /tools
Downgrade bazel to windows-2019
Add tests for Human Readable functionality
Delete unused requirements file, simplify nanobind build file
Update bzlmod support to new rules_python extension API
Re-enable windows-latest tests for newer Bazel
Fix -Werror,-Wold-style-cast build failure on Windows.
Mark internal deps as dev_depenencies so that downstream modules don't require those
bug: Inconsistent suffixes console reporter 1009
Fix IntelLLVM compiler error
fix: added benchmark_counters_tabular for file
[perf-counters] Fix pause/resume
sysinfo.cc: Call getloadavg for Android API >= 29
benchmark.cc: Fix benchmarks_with_threads condition
perf-counters: Make tests pass on Android
State: Initialize counters with kAvgIteration in constructor
perf_counters: Initialize once only when needed
test: Use gtest_main only when needed
StatisticsMedian: Fix bug