Google-benchmark

Latest version: v1.9.2

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

Scan your dependencies

Page 2 of 5

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

1.8.1

What's Changed
* Disable debug-only test in release builds to avoid expected failures. by macandy13 in https://github.com/google/benchmark/pull/1595
* Fix code triggering -Wsign-conversion by oontvoo in https://github.com/google/benchmark/pull/1596
* Update Python version to PY3, as indicated by the actual source file. by macandy13 in https://github.com/google/benchmark/pull/1598
* Fixed a typo in docs by toughengineer in https://github.com/google/benchmark/pull/1600
* Fix pass rvalue to DoNotOptimize by bgaifullin in https://github.com/google/benchmark/pull/1608
* Fix a typo in regex choice by Chilledheart in https://github.com/google/benchmark/pull/1610
* remove old-style (C-style) casts by garymm in https://github.com/google/benchmark/pull/1614
* Add support for bzlmod (excluding Python bindings) by macandy13 in https://github.com/google/benchmark/pull/1615
* Add a CI test for the new bzlmod integration by macandy13 in https://github.com/google/benchmark/pull/1617
* Suppress intentional potential memory leak as detected by clang static analysis by LebedevRI in https://github.com/google/benchmark/pull/1618

New Contributors
* macandy13 made their first contribution in https://github.com/google/benchmark/pull/1595
* toughengineer made their first contribution in https://github.com/google/benchmark/pull/1600
* bgaifullin made their first contribution in https://github.com/google/benchmark/pull/1608
* Chilledheart made their first contribution in https://github.com/google/benchmark/pull/1610
* garymm made their first contribution in https://github.com/google/benchmark/pull/1614

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

1.8.0

What's Changed
* Removed deprecated function by oontvoo in https://github.com/google/benchmark/pull/1506
* Return option benchmark_perf_counters to help output by MaximSmolskiy in https://github.com/google/benchmark/pull/1508
* Fixes incorrect wide string conversion on win32 by JessyDL in https://github.com/google/benchmark/pull/1516
* Try removing attempt to set the C++ standard by dmah42 in https://github.com/google/benchmark/pull/1464
* Add a `benchmark_deps.bzl` function to Google Benchmark by nicholasjng in https://github.com/google/benchmark/pull/1520
* Bug fix variable 'actual_iterations' set but not used by yuryf-google in https://github.com/google/benchmark/pull/1517
* Fix Clang-Tidy warnings related to modernize-use-override by SunBlack in https://github.com/google/benchmark/pull/1523
* Fix typos found by codespell by SunBlack in https://github.com/google/benchmark/pull/1519
* Include the benchmark's family-name in State by oontvoo in https://github.com/google/benchmark/pull/1511
* Fix Clang-Tidy warnings readability-else-after-return by SunBlack in https://github.com/google/benchmark/pull/1528
* [doc]Add quick instructions on how to enable sans checks by oontvoo in https://github.com/google/benchmark/pull/1529
* Modernize setup.py, extend Python bindings CI by nicholasjng in https://github.com/google/benchmark/pull/1535
* Switch bindings implementation to `nanobind` by nicholasjng in https://github.com/google/benchmark/pull/1526
* try disabling liquid for jekyll to fix curly braces by dmah42 in https://github.com/google/benchmark/pull/1536
* remove best effort support for ubuntu 18.04 by dmah42 in https://github.com/google/benchmark/pull/1537
* Deprecate constant reference API to DoNotOptimize. by ckennelly in https://github.com/google/benchmark/pull/1493
* Fixing issue with ARM64EC and MSVC by jbr-smtg in https://github.com/google/benchmark/pull/1514
* fix 1446 by removing the address operator by dmah42 in https://github.com/google/benchmark/pull/1538
* Support --benchmarks_filter in the compare.py 'benchmarks' command by matta in https://github.com/google/benchmark/pull/1486
* Allow specifying number of iterations via --benchmark_min_time. by oontvoo in https://github.com/google/benchmark/pull/1525
* Refactor links which include "master" and change it to "main" by hamptonm1 in https://github.com/google/benchmark/pull/1540
* replace complexity with simplicity for faster libc++ setup by dmah42 in https://github.com/google/benchmark/pull/1539
* update github actions to latest versions by dmah42 in https://github.com/google/benchmark/pull/1541
* Removing warnings appearing with C++20 / CLang 15 by yuryf-google in https://github.com/google/benchmark/pull/1542
* Add missing parentheses in ParseBenchMinTime() by JonathonReinhart in https://github.com/google/benchmark/pull/1545
* Werror all the time by dmah42 in https://github.com/google/benchmark/pull/1546
* cleanup: support CMake >= 3.10 by coryan in https://github.com/google/benchmark/pull/1544
* Fix CPU frequency estimation on riscv by dtcxzyw in https://github.com/google/benchmark/pull/1549
* add compiler to build-and-test and create min-cmake CI bot by dmah42 in https://github.com/google/benchmark/pull/1550
* Implement unlimited number of performance counters by HFTrader in https://github.com/google/benchmark/pull/1552
* Filter performance counter names, not invalidate all by HFTrader in https://github.com/google/benchmark/pull/1554
* get rid of `DoNotOptimize` warnings in tests by dmah42 in https://github.com/google/benchmark/pull/1562
* Refactoring of PerfCounters infrastructure by HFTrader in https://github.com/google/benchmark/pull/1559
* Bump nanobind to stable v0.2.0, change linker options by nicholasjng in https://github.com/google/benchmark/pull/1565
* Fix examples in user guide using deprecated `DoNotOptimize`-API by mjacobse in https://github.com/google/benchmark/pull/1568
* Fix build break with nvc++ when -Werror is ON by HFTrader in https://github.com/google/benchmark/pull/1569
* [FR] state.SkipWithMessage 963 by gatorfax in https://github.com/google/benchmark/pull/1564
* use std::string for skip messages by dmah42 in https://github.com/google/benchmark/pull/1571
* [FR] Provide public accessors to benchmark name and arguments 1551 by gatorfax in https://github.com/google/benchmark/pull/1563
* Address warnings on NVIDIA nvc++ by HFTrader in https://github.com/google/benchmark/pull/1573
* add '' to correctly reference build file for libpfm by dmah42 in https://github.com/google/benchmark/pull/1575
* Convert uses of `const char*` to `std::string` by dmah42 in https://github.com/google/benchmark/pull/1567
* link to benchmark directly for tests that aren't link_main_test by dmah42 in https://github.com/google/benchmark/pull/1576
* Fix compile warnings about ignoring a [[nodiscard]] type. by pkasting in https://github.com/google/benchmark/pull/1577
* Correct libpfm dep for integrators. by shiqing117 in https://github.com/google/benchmark/pull/1579
* Guard NOMINMAX to prevent redefinition error (1581) by dushko in https://github.com/google/benchmark/pull/1582
* reenable msan sanitizer workflow by dmah42 in https://github.com/google/benchmark/pull/1589

New Contributors
* MaximSmolskiy made their first contribution in https://github.com/google/benchmark/pull/1508
* JessyDL made their first contribution in https://github.com/google/benchmark/pull/1516
* yuryf-google made their first contribution in https://github.com/google/benchmark/pull/1517
* SunBlack made their first contribution in https://github.com/google/benchmark/pull/1523
* jbr-smtg made their first contribution in https://github.com/google/benchmark/pull/1514
* hamptonm1 made their first contribution in https://github.com/google/benchmark/pull/1540
* JonathonReinhart made their first contribution in https://github.com/google/benchmark/pull/1545
* coryan made their first contribution in https://github.com/google/benchmark/pull/1544
* dtcxzyw made their first contribution in https://github.com/google/benchmark/pull/1549
* HFTrader made their first contribution in https://github.com/google/benchmark/pull/1552
* gatorfax made their first contribution in https://github.com/google/benchmark/pull/1564
* pkasting made their first contribution in https://github.com/google/benchmark/pull/1577
* shiqing117 made their first contribution in https://github.com/google/benchmark/pull/1579
* dushko made their first contribution in https://github.com/google/benchmark/pull/1582

**Full Changelog**: https://github.com/google/benchmark/compare/v1.7.1...v1.8.0

1.7.1

What's Changed
* Remove stray comment and added missing header by oontvoo in https://github.com/google/benchmark/pull/1444
* Initialize help hook before actually parsing the command line by yurikhan in https://github.com/google/benchmark/pull/1447
* remove unnecessary generated include directory by dominichamon in https://github.com/google/benchmark/pull/1451
* Fixed build issues on window by oontvoo in https://github.com/google/benchmark/pull/1449
* Explicitly cast int literals to int8_t in tests to silence implicit-conversion warnings by oontvoo in https://github.com/google/benchmark/pull/1455
* Ensure we don't need benchmark installed to pass c++ feature checks by dominichamon in https://github.com/google/benchmark/pull/1456
* Avoid deprecation warning in NVHPC by cz4rs in https://github.com/google/benchmark/pull/1459
* run ClearRegisteredBenchmarks at exit by dominichamon in https://github.com/google/benchmark/pull/1463
* FIx typo in benchmark.h by bdaase in https://github.com/google/benchmark/pull/1465
* add debug option for enabling more output for failed cxxfeaturechecks by dominichamon in https://github.com/google/benchmark/pull/1467
* Fix link error when use as static library on windows. by PSyton in https://github.com/google/benchmark/pull/1470
* use CMAKE_INSTALL_FULL in pkg-config file (fixes nix package) by babbaj in https://github.com/google/benchmark/pull/1473
* Clean up test documentation formatting by drfloob in https://github.com/google/benchmark/pull/1475
* Enable aarch64 Linux wheel builds, use cibuildwheel action directly by nicholasjng in https://github.com/google/benchmark/pull/1472
* Eliminate usage of deprecated API in sysinfo.cc by oontvoo in https://github.com/google/benchmark/pull/1474
* Stop using pandas.Timedelta (fixes 1482) by matta in https://github.com/google/benchmark/pull/1483
* Discuss sources of variance in the user guide by matta in https://github.com/google/benchmark/pull/1481
* Bump pybind11 version to enable Python 3.11 wheel builds by nicholasjng in https://github.com/google/benchmark/pull/1489
* bump cmake dep and docs by dominichamon in https://github.com/google/benchmark/pull/1468
* Support for QuRT OS (Hexagon RTOS) by Maratyszcza in https://github.com/google/benchmark/pull/1497
* Fix Solaris compilation (1499) by rorth in https://github.com/google/benchmark/pull/1500
* Do not depend on unversioned python binary by MatzeB in https://github.com/google/benchmark/pull/1496
* Partially revert "Do not depend on unversioned python binary (1496)" by LebedevRI in https://github.com/google/benchmark/pull/1501
* Add information for supported Python versions to setup.py by nicholasjng in https://github.com/google/benchmark/pull/1502
* [bazel] Build libpfm as a dependency to allow collection of perf counters by rajachan in https://github.com/google/benchmark/pull/1408

New Contributors
* bdaase made their first contribution in https://github.com/google/benchmark/pull/1465
* PSyton made their first contribution in https://github.com/google/benchmark/pull/1470
* babbaj made their first contribution in https://github.com/google/benchmark/pull/1473
* drfloob made their first contribution in https://github.com/google/benchmark/pull/1475
* rorth made their first contribution in https://github.com/google/benchmark/pull/1500
* MatzeB made their first contribution in https://github.com/google/benchmark/pull/1496
* rajachan made their first contribution in https://github.com/google/benchmark/pull/1408

**Full Changelog**: https://github.com/google/benchmark/compare/v1.7.0...v1.7.1

1.7.0

Small release to replace broken v1.6.2 release

What's Changed
* Stop generating the export header and just check it in by dominichamon in https://github.com/google/benchmark/pull/1435
* use target_compile_definitions by dominichamon in https://github.com/google/benchmark/pull/1440
* simplified code by maochongxin in https://github.com/google/benchmark/pull/1439

New Contributors
* maochongxin made their first contribution in https://github.com/google/benchmark/pull/1439

**Full Changelog**: https://github.com/google/benchmark/compare/v1.6.2...v1.7.0

1.6.2

What's Changed
* Add docs for `ThreadRange`. by dominichamon in https://github.com/google/benchmark/pull/1318
* Add docs on Memory profiling (1217). by dominichamon in https://github.com/google/benchmark/pull/1319
* Suppress GoogleTest warnings on windows (MSVC) too. by dominichamon in https://github.com/google/benchmark/pull/1320
* Expand documentation for unpacking arbitrary arguments. by dominichamon in https://github.com/google/benchmark/pull/1324
* Refine docs on changing cpufreq governor by dominichamon in https://github.com/google/benchmark/pull/1325
* Refine the User Guide CPU Frequency Scaling section by matta in https://github.com/google/benchmark/pull/1331
* Fix some errors in Custom Statistics document demo code. by YuanYingdong in https://github.com/google/benchmark/pull/1332
* Cache PerfCounters instance in PerfCountersMeasurement by taoliq in https://github.com/google/benchmark/pull/1308
* Fix cross compilation for macOS ARM builds in `cibuildwheel` by nicholasjng in https://github.com/google/benchmark/pull/1334
* bump numby, as per dependabot by dominichamon in https://github.com/google/benchmark/pull/1336
* Use Win32 API only for Win32 apps by batortaller in https://github.com/google/benchmark/pull/1333
* Add mutex when reading counters_ (Fixes 1335) by taoliq in https://github.com/google/benchmark/pull/1338
* Avoid potential truncation issues for the integral type parameterized tests. by staffantj in https://github.com/google/benchmark/pull/1341
* Expose default display reporter creation in public API by dominichamon in https://github.com/google/benchmark/pull/1344
* explicitly export public symbols by sergiud in https://github.com/google/benchmark/pull/1321
* Check for macro existence before using by oontvoo in https://github.com/google/benchmark/pull/1347
* simplify reference to internal path by dominichamon in https://github.com/google/benchmark/pull/1349
* Introduce the possibility to customize the help printer function by vincenzopalazzo in https://github.com/google/benchmark/pull/1342
* move bzl file out of tools by dominichamon in https://github.com/google/benchmark/pull/1352
* resolve case sensitivity issues with `WORKSPACE` and `workspace` by dominichamon in https://github.com/google/benchmark/pull/1354
* Make generate_export_header.bzl work for Windows. by junyer in https://github.com/google/benchmark/pull/1355
* platforms is magical; remove it from WORKSPACE. by junyer in https://github.com/google/benchmark/pull/1356
* restore `BENCHMARK_MAIN()` by sergiud in https://github.com/google/benchmark/pull/1357
* Allow setting the default time unit globally by batortaller in https://github.com/google/benchmark/pull/1337
* Add long description and content type for proper PyPI presentation by nicholasjng in https://github.com/google/benchmark/pull/1361
* Add SetBenchmarkFilter() to set --benchmark_filter flag value in user code by oontvoo in https://github.com/google/benchmark/pull/1362
* Appended additional BSD 3-Clause to LICENSE by oontvoo in https://github.com/google/benchmark/pull/1363
* Add PyPI upload job to wheel building workflow by nicholasjng in https://github.com/google/benchmark/pull/1359
* Fix float comparaison and add float comparison warning by bensuperpc in https://github.com/google/benchmark/pull/1368
* Update LICENSE file to clearly state which file needs BSD 3 by oontvoo in https://github.com/google/benchmark/pull/1366
* Add BENCHMARK_STATIC_DEFINE to the Python bindings' `cc_binary` local… by nicholasjng in https://github.com/google/benchmark/pull/1369
* Remove conditional trigger from PyPI upload job by nicholasjng in https://github.com/google/benchmark/pull/1370
* Change artifact download name to dist to match upload name by nicholasjng in https://github.com/google/benchmark/pull/1371
* Build `//:benchmark` as a static library only. by junyer in https://github.com/google/benchmark/pull/1373
* Fix Bazel build breakage caused by commit 6a894bd. by junyer in https://github.com/google/benchmark/pull/1374
* [nfc] Reformat doc-string in generate_export_header by oontvoo in https://github.com/google/benchmark/pull/1376
* Updates for inclusive language by messerb5467 in https://github.com/google/benchmark/pull/1360
* getting sysinfo in line with Google style by dominichamon in https://github.com/google/benchmark/pull/1381
* Small optimization to counter map management by dominichamon in https://github.com/google/benchmark/pull/1382
* Shut down Bazel gracefully and revert wheel build strategy to job matrix by nicholasjng in https://github.com/google/benchmark/pull/1383
* Fix wheel job name for PyPI uploads by nicholasjng in https://github.com/google/benchmark/pull/1384
* Filter out benchmarks that start with "DISABLED_" by dominichamon in https://github.com/google/benchmark/pull/1387
* Add benchmark labels to the output of the comparison tool by dominichamon in https://github.com/google/benchmark/pull/1388
* Enable -Wconversion by dominichamon in https://github.com/google/benchmark/pull/1390
* Add installation and build instructions for Python bindings by nicholasjng in https://github.com/google/benchmark/pull/1392
* fix some typos by cuishuang in https://github.com/google/benchmark/pull/1393
* Add option to get the verbosity provided by commandline flag -v (1330) by Matthdonau in https://github.com/google/benchmark/pull/1397
* Add support to get clock for new architecture CSKY by zixuan-wu in https://github.com/google/benchmark/pull/1400
* Introduce warmup phase to BenchmarkRunner (1130) by Matthdonau in https://github.com/google/benchmark/pull/1399
* Report large numbers in scientific notation in console reporter (1303) by Matthdonau in https://github.com/google/benchmark/pull/1402
* add multiple OSes to bazel workflow by dominichamon in https://github.com/google/benchmark/pull/1412
* Add possibility to ask for libbenchmark version number (1004) by Matthdonau in https://github.com/google/benchmark/pull/1403
* Fix DoNotOptimize() GCC copy overhead (1340) by alexgpg in https://github.com/google/benchmark/pull/1410
* Clarify that the cpu frequency is not used for benchmark timings. by dominichamon in https://github.com/google/benchmark/pull/1414
* Revert "Add possibility to ask for libbenchmark version number (1004)" by dominichamon in https://github.com/google/benchmark/pull/1417
* Remove redundant formatting tags by tomcobley in https://github.com/google/benchmark/pull/1420
* Fix DoNotOptimize() GCC compile error with some types (1340) by alexgpg in https://github.com/google/benchmark/pull/1424
* Expose default help printer function by yurikhan in https://github.com/google/benchmark/pull/1425
* fix sanitizer builds by using clang 13 by dominichamon in https://github.com/google/benchmark/pull/1426
* Suppress nvcc `offsetof` warning by cz4rs in https://github.com/google/benchmark/pull/1429
* Expose google_benchmark.State for python bindings. by rmcilroy in https://github.com/google/benchmark/pull/1430

New Contributors
* YuanYingdong made their first contribution in https://github.com/google/benchmark/pull/1332
* taoliq made their first contribution in https://github.com/google/benchmark/pull/1308
* batortaller made their first contribution in https://github.com/google/benchmark/pull/1333
* vincenzopalazzo made their first contribution in https://github.com/google/benchmark/pull/1342
* messerb5467 made their first contribution in https://github.com/google/benchmark/pull/1360
* cuishuang made their first contribution in https://github.com/google/benchmark/pull/1393
* Matthdonau made their first contribution in https://github.com/google/benchmark/pull/1397
* zixuan-wu made their first contribution in https://github.com/google/benchmark/pull/1400
* alexgpg made their first contribution in https://github.com/google/benchmark/pull/1410
* tomcobley made their first contribution in https://github.com/google/benchmark/pull/1420
* yurikhan made their first contribution in https://github.com/google/benchmark/pull/1425
* cz4rs made their first contribution in https://github.com/google/benchmark/pull/1429
* rmcilroy made their first contribution in https://github.com/google/benchmark/pull/1430

**Full Changelog**: https://github.com/google/benchmark/compare/v1.6.1...v1.6.2

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.