Google-benchmark

Latest version: v1.9.1

Safety actively analyzes 707283 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.9.1

What's Changed
* Fix Python manual timing example by alxbilger in https://github.com/google/benchmark/pull/1722
* Align benchmark::State to a cacheline. by ckennelly in https://github.com/google/benchmark/pull/1230
* Fix C4459: Rename a function parameter `profiler_manager` to avoid hiding the global declaration. by fsb4000 in https://github.com/google/benchmark/pull/1839
* Bump oldest supported Python to 3.10, eliminate setuptools-scm by nicholasjng in https://github.com/google/benchmark/pull/1842
* enable the /MP MSVC compiler argument for parallel compilation by imrichardcole in https://github.com/google/benchmark/pull/1846
* Added the functionality for a dry run benchmark called through the cli argument --benchmark_dry_run. by dmah42 in https://github.com/google/benchmark/pull/1851
* Version string correction in pkg-config files by aespondac in https://github.com/google/benchmark/pull/1858
* Add enum value from newest Windows SDK by DKLoehr in https://github.com/google/benchmark/pull/1859
* Fix spurious warning 'misc-use-anonymous-namespace' (1860) by codeinred in https://github.com/google/benchmark/pull/1861
* Update user_guide.md by aespondac in https://github.com/google/benchmark/pull/1863
* upgrade bazel mods. requires c++14 for tests by dmah42 in https://github.com/google/benchmark/pull/1867
* Update nanobind_bazel to v2.2.0 by nicholasjng in https://github.com/google/benchmark/pull/1866
* bump googletest version to match bazel by dmah42 in https://github.com/google/benchmark/pull/1868
* Verify RegisterProfilerManager doesn't overwrite an existing registration by xdje42 in https://github.com/google/benchmark/pull/1837
* [1487] ensure background color is preserved by imrichardcole in https://github.com/google/benchmark/pull/1865
* Add `nb::is_flag()` annotation to Counter::Flags by nicholasjng in https://github.com/google/benchmark/pull/1870
* Add a Python matrix to ensure the bindings build on all supported versions by nicholasjng in https://github.com/google/benchmark/pull/1871
* Declare a Python 3.13 toolchain, revert setup.py toolchain target sele… by nicholasjng in https://github.com/google/benchmark/pull/1876
* update standard to C++17 per C++ build support by dmah42 in https://github.com/google/benchmark/pull/1875
* Improve examples on `ComputeStatistics` by guoci in https://github.com/google/benchmark/pull/1881

New Contributors
* alxbilger made their first contribution in https://github.com/google/benchmark/pull/1722
* fsb4000 made their first contribution in https://github.com/google/benchmark/pull/1839
* imrichardcole made their first contribution in https://github.com/google/benchmark/pull/1846
* aespondac made their first contribution in https://github.com/google/benchmark/pull/1858
* codeinred made their first contribution in https://github.com/google/benchmark/pull/1861
* guoci made their first contribution in https://github.com/google/benchmark/pull/1881

**Full Changelog**: https://github.com/google/benchmark/compare/v1.9.0...v1.9.1

1.9.0

What's Changed
breaking
* Ensure reported Time is walltime by removing spurious scaling by threads by dmah42 in https://github.com/google/benchmark/pull/1836

other
* Update benchmark Python bindings for nanobind 2.0, and update to nano… by hawkinsp in https://github.com/google/benchmark/pull/1817
* Revert to token authentication for PyPI wheel uploads by nicholasjng in https://github.com/google/benchmark/pull/1819
* Suppress invalid-offsetof warning for clang by DKLoehr in https://github.com/google/benchmark/pull/1821
* Use log2 now that NDK requires at least API 21 which includes it. by dmah42 in https://github.com/google/benchmark/pull/1822
* Update libs into .pre-commit-config.yaml by mosfet80 in https://github.com/google/benchmark/pull/1825
* Update nanobind into benchmark_deps.bzl by mosfet80 in https://github.com/google/benchmark/pull/1826
* Bump nanobind-bazel to v2.1.0, add stubgen target by nicholasjng in https://github.com/google/benchmark/pull/1824
* Move ProfilerManager Start/Stop routines closer to benchmark 1807 by xdje42 in https://github.com/google/benchmark/pull/1818
* Cache upd by mosfet80 in https://github.com/google/benchmark/pull/1830
* Update clang-format-lint-action by mosfet80 in https://github.com/google/benchmark/pull/1829
* chore: update perf_counters.cc by eltociear in https://github.com/google/benchmark/pull/1831


New Contributors
* hawkinsp made their first contribution in https://github.com/google/benchmark/pull/1817
* DKLoehr made their first contribution in https://github.com/google/benchmark/pull/1821
* eltociear made their first contribution in https://github.com/google/benchmark/pull/1831

**Full Changelog**: https://github.com/google/benchmark/compare/v1.8.5...v1.9.0

1.8.5

What's Changed
* Improve compatibility with Hexagon hardware by steven-johnson in https://github.com/google/benchmark/pull/1785
* hotfix: Correct pypi-publishing action tag to v1.8.14 by nicholasjng in https://github.com/google/benchmark/pull/1791
* CMake: unbreak version handling for tarballs by LebedevRI in https://github.com/google/benchmark/pull/1793
* cycleclock: Fix type conversion to match function return type by kraj in https://github.com/google/benchmark/pull/1794
* bump standard to C++14 by dmah42 in https://github.com/google/benchmark/pull/1799
* Docs: Bump minimum required C++ version from C++11 to C++14 by rschu1ze in https://github.com/google/benchmark/pull/1800
* cycleclock: Fix type conversion to match function return type on riscv64 by kraj in https://github.com/google/benchmark/pull/1802
* [bazel] Use `includes` instead of `strip_include_prefix` by alexkaratarakis in https://github.com/google/benchmark/pull/1803
* Find libpfm dependency in installed CMake configs by stephenswat in https://github.com/google/benchmark/pull/1806
* Add -lkstat to the .pc for Solaris by ccotter in https://github.com/google/benchmark/pull/1801
* add PERF_FORMAT_TOTAL_TIME_{ENABLED,RUNNING} to support multiplexing by dmah42 in https://github.com/google/benchmark/pull/1814
* Clarify the difference between `BENCHMARK_TEMPLATE_F` and `BENCHMARK_TEMPLATE_DEFINE_F` + `BENCHMARK_REGISTER_F` by jiawen in https://github.com/google/benchmark/pull/1815
* [FR] Add API to provide custom profilers 1807 by xdje42 in https://github.com/google/benchmark/pull/1809

New Contributors
* steven-johnson made their first contribution in https://github.com/google/benchmark/pull/1785
* kraj made their first contribution in https://github.com/google/benchmark/pull/1794
* rschu1ze made their first contribution in https://github.com/google/benchmark/pull/1800
* alexkaratarakis made their first contribution in https://github.com/google/benchmark/pull/1803
* stephenswat made their first contribution in https://github.com/google/benchmark/pull/1806
* ccotter made their first contribution in https://github.com/google/benchmark/pull/1801
* jiawen made their first contribution in https://github.com/google/benchmark/pull/1815
* xdje42 made their first contribution in https://github.com/google/benchmark/pull/1809

**Full Changelog**: https://github.com/google/benchmark/compare/v1.8.4...v1.8.5

1.8.4

What's Changed
* Audit MSVC references in cmake files to consider clang++ by Maetveis in https://github.com/google/benchmark/pull/1669
* Make json and csv output consistent. by andreas-abel in https://github.com/google/benchmark/pull/1662
* Update bazel.yml by mosfet80 in https://github.com/google/benchmark/pull/1671
* Fix building on MinGW: default `WINVER` is too old by zm1060 in https://github.com/google/benchmark/pull/1681
* Increase the kMaxIterations limit by andreas-abel in https://github.com/google/benchmark/pull/1668
* Set -Wno-unused-variable for tests by oontvoo in https://github.com/google/benchmark/pull/1682
* Add no-unititialized-variable to tests by dmah42 in https://github.com/google/benchmark/pull/1683
* Add Python 3.12 support by nicholasjng in https://github.com/google/benchmark/pull/1676
* Change nanobind linkage to response file approach on macOS by nicholasjng in https://github.com/google/benchmark/pull/1638
* Reapply size optimizations for clang & MSVC, LTO for Mac+Linux by nicholasjng in https://github.com/google/benchmark/pull/1685
* [bindings] Add LTO builds on Windows+MSVC by nicholasjng in https://github.com/google/benchmark/pull/1687
* Add pre-commit config and GitHub Actions job by nicholasjng in https://github.com/google/benchmark/pull/1688
* Replace isort hook with ruff builtin import sorting by nicholasjng in https://github.com/google/benchmark/pull/1689
* Add `setuptools_scm` for dynamic zero-config Python versioning by nicholasjng in https://github.com/google/benchmark/pull/1690
* Fix unit tests compilation by non-gnu/msvc compilers with c++11 support. by ivafanas in https://github.com/google/benchmark/pull/1691
* Fixed compiler warnings by tmiguelf in https://github.com/google/benchmark/pull/1697
* Switch out black for ruff format by nicholasjng in https://github.com/google/benchmark/pull/1698
* Add Missing `\n` at the End of Error Log String by itzmeanjan in https://github.com/google/benchmark/pull/1700
* Fix CMakeLists.txt for perf_counters_test by illbegood in https://github.com/google/benchmark/pull/1701
* [CI] Fix sanitizer builds by pinning the LLVM revision by LebedevRI in https://github.com/google/benchmark/pull/1703
* Support windows MSYS2 environments by LebedevRI in https://github.com/google/benchmark/pull/1704
* Fix `pre-commit` GitHub Actions job by nicholasjng in https://github.com/google/benchmark/pull/1708
* [NFC] `complexity_n` is not of `IterationCount` type by LebedevRI in https://github.com/google/benchmark/pull/1709
* Fix editable install by unsetting `build_ext.copy_extensions_to_source` by nicholasjng in https://github.com/google/benchmark/pull/1710
* Upgrade core bazel dependencies by nicholasjng in https://github.com/google/benchmark/pull/1711
* Run `pre-commit autoupdate`, fix stale pyproject.toml comments by nicholasjng in https://github.com/google/benchmark/pull/1712
* Check out repo at depth 0 for Python tests, bump Python and PyPI actions by nicholasjng in https://github.com/google/benchmark/pull/1713
* Fix mis-matching argument in closing tag for cmake macro (1714) by iakovs in https://github.com/google/benchmark/pull/1715
* define HOST_NAME_MAX for z/OS by abhina-sree in https://github.com/google/benchmark/pull/1717
* Fix division by zero for low frequency timers for CV statistics by ivafanas in https://github.com/google/benchmark/pull/1724
* Remove the use of "Sanity" and replace it with "Safety" by hamptonm1 in https://github.com/google/benchmark/pull/1728
* CycleClock: use RDTIME instead of RDCYCLE on RISC-V by aurel32 in https://github.com/google/benchmark/pull/1727
* Enable Large-file Support by oToToT in https://github.com/google/benchmark/pull/1726
* Fix per-thread timing error on z/OS by abhina-sree in https://github.com/google/benchmark/pull/1719
* Avoid leaking LFS flags to reverse dependencies by afq984 in https://github.com/google/benchmark/pull/1730
* Change Fixture to use non-const SetUp and TearDown in example by FantasqueX in https://github.com/google/benchmark/pull/1723
* fix: fail to import gbench in bazel and python3.12 by dhmemi in https://github.com/google/benchmark/pull/1721
* Issue1731 created console does not receive output by bstordrup in https://github.com/google/benchmark/pull/1732
* tools/compare: don't actually discard valid (but zero) `pvalue` by LebedevRI in https://github.com/google/benchmark/pull/1733
* Issue 1734: Streams not flushed if not running actual benchmarks by bstordrup in https://github.com/google/benchmark/pull/1735
* fix(cmakelists.txt): enforce CMake to find PFM or fail when BENCHMARK… by ananta in https://github.com/google/benchmark/pull/1705
* Docs: `reducing_variance.md`: proofreading, fix typos by LebedevRI in https://github.com/google/benchmark/pull/1736
* Fix C-style typecasting in QNX-specific code by Arech in https://github.com/google/benchmark/pull/1739
* Bump pre-commit dependencies by nicholasjng in https://github.com/google/benchmark/pull/1740
* Output library / schema versions in JSON context block by LebedevRI in https://github.com/google/benchmark/pull/1742
* set library version in bazel by dmah42 in https://github.com/google/benchmark/pull/1746
* Add `BENCHMARK_TEMPLATE[12]_CAPTURE`, fusion of `BENCHMARK_CAPTURE` and `BENCHMARK_TEMPLATE` by LebedevRI in https://github.com/google/benchmark/pull/1747
* Deflake CI by LebedevRI in https://github.com/google/benchmark/pull/1751
* Fix typo in GetBenchmarkVersion() by Liedtke in https://github.com/google/benchmark/pull/1755
* CycleClock: Add support for Alpha architecture by thesamesam in https://github.com/google/benchmark/pull/1753
* sysinfo.cc: Always abort on GetNumCPUs failure by thesamesam in https://github.com/google/benchmark/pull/1756
* Rewrite complexity_test to use (hardcoded) manual time by LebedevRI in https://github.com/google/benchmark/pull/1757
* Revert "fix some warnings" by LebedevRI in https://github.com/google/benchmark/pull/1762
* Fixed LTO issue on no discard variable by tmiguelf in https://github.com/google/benchmark/pull/1761
* mitigate clang build warnings -Wconversion by dmah42 in https://github.com/google/benchmark/pull/1763
* Add Python bindings build using bzlmod by nicholasjng in https://github.com/google/benchmark/pull/1764
* Fix implicit conversion changes signess warning in perf_counters.cc by ivafanas in https://github.com/google/benchmark/pull/1765
* clang-tidy broke the world by LebedevRI in https://github.com/google/benchmark/pull/1766
* allow BENCHMARK_VERSION to be undefined by PhilipDeegan in https://github.com/google/benchmark/pull/1769
* fix OpenBSD build by vazub in https://github.com/google/benchmark/pull/1772
* Remove COMPILER_IBMXL macro for z/OS by fanbo-meng in https://github.com/google/benchmark/pull/1777
* Refactor: Return frequency as double by dhairyarungta in https://github.com/google/benchmark/pull/1782
* Add `benchmark_main.pc` to link `main()` containing library by SoapGentoo in https://github.com/google/benchmark/pull/1779
* Switch git override to stable BCR tag for nanobind_bazel by nicholasjng in https://github.com/google/benchmark/pull/1778
* Modernize wheel building job config by nicholasjng in https://github.com/google/benchmark/pull/1783
* preparing for v1.8.4 by dmah42 in https://github.com/google/benchmark/pull/1788

New Contributors
* Maetveis made their first contribution in https://github.com/google/benchmark/pull/1669
* andreas-abel made their first contribution in https://github.com/google/benchmark/pull/1662
* mosfet80 made their first contribution in https://github.com/google/benchmark/pull/1671
* zm1060 made their first contribution in https://github.com/google/benchmark/pull/1681
* ivafanas made their first contribution in https://github.com/google/benchmark/pull/1691
* tmiguelf made their first contribution in https://github.com/google/benchmark/pull/1697
* itzmeanjan made their first contribution in https://github.com/google/benchmark/pull/1700
* illbegood made their first contribution in https://github.com/google/benchmark/pull/1701
* iakovs made their first contribution in https://github.com/google/benchmark/pull/1715
* aurel32 made their first contribution in https://github.com/google/benchmark/pull/1727
* oToToT made their first contribution in https://github.com/google/benchmark/pull/1726
* afq984 made their first contribution in https://github.com/google/benchmark/pull/1730
* FantasqueX made their first contribution in https://github.com/google/benchmark/pull/1723
* dhmemi made their first contribution in https://github.com/google/benchmark/pull/1721
* bstordrup made their first contribution in https://github.com/google/benchmark/pull/1732
* ananta made their first contribution in https://github.com/google/benchmark/pull/1705
* Arech made their first contribution in https://github.com/google/benchmark/pull/1739
* Liedtke made their first contribution in https://github.com/google/benchmark/pull/1755
* thesamesam made their first contribution in https://github.com/google/benchmark/pull/1753
* vazub made their first contribution in https://github.com/google/benchmark/pull/1772
* dhairyarungta made their first contribution in https://github.com/google/benchmark/pull/1782
* SoapGentoo made their first contribution in https://github.com/google/benchmark/pull/1779

**Full Changelog**: https://github.com/google/benchmark/compare/v1.8.3...v1.8.4

1.8.3

What's Changed
* Fix broken PFM-enabled tests by macandy13 in https://github.com/google/benchmark/pull/1623
* Update tools.md for missing color meaning issue 1491 by varshneydevansh in https://github.com/google/benchmark/pull/1624
* Add pyproject.toml file for PEP518 compliance by nicholasjng in https://github.com/google/benchmark/pull/1625
* pfm: Use a more standard CMake approach for finding libpfm by chipot in https://github.com/google/benchmark/pull/1628
* Bump `nanobind` to stable v1.4.0 tag by nicholasjng in https://github.com/google/benchmark/pull/1626
* Bump scipy from 1.5.4 to 1.10.0 in /tools by dependabot in https://github.com/google/benchmark/pull/1630
* Downgrade bazel to windows-2019 by dmah42 in https://github.com/google/benchmark/pull/1629
* Add tests for Human Readable functionality by dmah42 in https://github.com/google/benchmark/pull/1632
* Delete unused requirements file, simplify nanobind build file by nicholasjng in https://github.com/google/benchmark/pull/1635
* Update bzlmod support to new rules_python extension API by jsharpe in https://github.com/google/benchmark/pull/1633
* Re-enable `windows-latest` tests for newer Bazel by nicholasjng in https://github.com/google/benchmark/pull/1641
* Fix `-Werror,-Wold-style-cast` build failure on Windows. by saran-t in https://github.com/google/benchmark/pull/1637
* Mark internal deps as dev_depenencies so that downstream modules don't require those by macandy13 in https://github.com/google/benchmark/pull/1640
* bug: Inconsistent suffixes console reporter 1009 by varshneydevansh in https://github.com/google/benchmark/pull/1631
* Fix IntelLLVM compiler error by joannapng in https://github.com/google/benchmark/pull/1644
* fix: added benchmark_counters_tabular for file by varshneydevansh in https://github.com/google/benchmark/pull/1645
* [perf-counters] Fix pause/resume by mtrofin in https://github.com/google/benchmark/pull/1643
* sysinfo.cc: Call getloadavg for Android API >= 29 by jmr in https://github.com/google/benchmark/pull/1649
* benchmark.cc: Fix benchmarks_with_threads condition by jmr in https://github.com/google/benchmark/pull/1651
* perf-counters: Make tests pass on Android by jmr in https://github.com/google/benchmark/pull/1653
* State: Initialize counters with kAvgIteration in constructor by jmr in https://github.com/google/benchmark/pull/1652
* perf_counters: Initialize once only when needed by jmr in https://github.com/google/benchmark/pull/1656
* test: Use gtest_main only when needed by jmr in https://github.com/google/benchmark/pull/1657
* StatisticsMedian: Fix bug by jmr in https://github.com/google/benchmark/pull/1658

New Contributors
* varshneydevansh made their first contribution in https://github.com/google/benchmark/pull/1624
* chipot made their first contribution in https://github.com/google/benchmark/pull/1628
* dependabot made their first contribution in https://github.com/google/benchmark/pull/1630
* jsharpe made their first contribution in https://github.com/google/benchmark/pull/1633
* saran-t made their first contribution in https://github.com/google/benchmark/pull/1637
* joannapng made their first contribution in https://github.com/google/benchmark/pull/1644
* jmr made their first contribution in https://github.com/google/benchmark/pull/1649

**Full Changelog**: https://github.com/google/benchmark/compare/v1.8.2...v1.8.3

1.8.2

What's Changed
* Add more terminals with color support by p00f in https://github.com/google/benchmark/pull/1621
* Fix passing non-const lvalue refs to DoNotOptimize by eseiler in https://github.com/google/benchmark/pull/1622

New Contributors
* p00f made their first contribution in https://github.com/google/benchmark/pull/1621
* eseiler made their first contribution in https://github.com/google/benchmark/pull/1622

**Full Changelog**: https://github.com/google/benchmark/compare/v1.8.1...v1.8.2

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.