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 3 of 5

1.6.1

What's Changed

Fixes

* Remove unused parameter from lambda. by dominichamon in https://github.com/google/benchmark/pull/1223
* Optimized docs installation by xvitaly in https://github.com/google/benchmark/pull/1225
* Fix mention of --benchmarks in comment by oontvoo in https://github.com/google/benchmark/pull/1229
* cmake: eliminate redundant `target_include_directories` by sergiud in https://github.com/google/benchmark/pull/1242
* Cmake: options for controlling werror, disable werror for PGI compilers by PhilipDeegan in https://github.com/google/benchmark/pull/1246
* Fix -Wdeprecated-declarations warning triggered by clang-cl. by bc-lee in https://github.com/google/benchmark/pull/1245
* cmake: make package config relocatable by sergiud in https://github.com/google/benchmark/pull/1244
* cmake: allow to use package config from build directory by sergiud in https://github.com/google/benchmark/pull/1240
* Fix -Wdeprecated-declarations warning once more. by bc-lee in https://github.com/google/benchmark/pull/1256
* Fix un-initted error in test and fix change the API previously proposed to use std::string instead of raw char* by oontvoo in https://github.com/google/benchmark/pull/1266
* [cleanup] Change `== ""` to `.empty()` on string to avoid clang-tidy warnings by oontvoo in https://github.com/google/benchmark/pull/1271
* Fix errorWshorten-64-to-32 with clang 12.0 by bensuperpc in https://github.com/google/benchmark/pull/1273
* Fix error with Fix Werror=old-style-cast by bensuperpc in https://github.com/google/benchmark/pull/1272
* Fixed typo in doc: s/marcro/macro by oontvoo in https://github.com/google/benchmark/pull/1274
* Fix warning with MacOS by bensuperpc in https://github.com/google/benchmark/pull/1276
* clang-format Google on {src/,include/} by dominichamon in https://github.com/google/benchmark/pull/1280
* format tests with clang-format by dominichamon in https://github.com/google/benchmark/pull/1282
* check clang format on pull requests and merges by dominichamon in https://github.com/google/benchmark/pull/1281
* Fix dependency typo and unpin cibuildwheel version in wheel building … by nicholasjng in https://github.com/google/benchmark/pull/1263
* disable lint check where we know it'd fail by oontvoo in https://github.com/google/benchmark/pull/1286
* Disable clang-tidy (unused-using-decls) by oontvoo in https://github.com/google/benchmark/pull/1287
* Add clang-tidy check by dominc8 in https://github.com/google/benchmark/pull/1290
* Fix broken link to Setup/Teardown section by Krzmbrzl in https://github.com/google/benchmark/pull/1291
* Update user_guide.md: `thread_index` should be `thread_index()` by ShawnZhong in https://github.com/google/benchmark/pull/1296
* clang-tidy: readability-redundant and performance by dominc8 in https://github.com/google/benchmark/pull/1298
* update googletest to latest release tag 1.11.0 by dominichamon in https://github.com/google/benchmark/pull/1301
* Avoid errors due to "default label in switch which covers all enumeration values" in Windows codepath by mstorsjo in https://github.com/google/benchmark/pull/1302
* Fix `-DBENCHMARK_ENABLE_INSTALL=OFF` build (Fixes 1275) by LebedevRI in https://github.com/google/benchmark/pull/1305
* Address c4267 warning on MSVC by staffantj in https://github.com/google/benchmark/pull/1315
* Destructor not returning is expected in some cases by staffantj in https://github.com/google/benchmark/pull/1316

Features

* Added support of packaged GTest for running unit tests by xvitaly in https://github.com/google/benchmark/pull/1226
* Introduce additional memory metrics by oontvoo in https://github.com/google/benchmark/pull/1238
* Added Doxygen support by xvitaly in https://github.com/google/benchmark/pull/1228
* Allow template arguments to be specified directly on the BENCHMARK macro by oontvoo in https://github.com/google/benchmark/pull/1262
* [RFC] Adding API for setting/getting benchmark_filter flag? by oontvoo in https://github.com/google/benchmark/pull/1254
* use docker container for ubuntu-16.04 builds by dominichamon in https://github.com/google/benchmark/pull/1265
* Support for building with LLVM clang-10/clang-11 on Windows. by alisenai in https://github.com/google/benchmark/pull/1227
* Add Setup/Teardown option on Benchmark. by oontvoo in https://github.com/google/benchmark/pull/1269
* compare.py: compute and print 'OVERALL GEOMEAN' aggregate by LebedevRI in https://github.com/google/benchmark/pull/1289

New Contributors
* PhilipDeegan made their first contribution in https://github.com/google/benchmark/pull/1246
* bc-lee made their first contribution in https://github.com/google/benchmark/pull/1245
* bensuperpc made their first contribution in https://github.com/google/benchmark/pull/1273
* alisenai made their first contribution in https://github.com/google/benchmark/pull/1227
* rHermes made their first contribution in https://github.com/google/benchmark/pull/1283
* dondenton made their first contribution in https://github.com/google/benchmark/pull/1285
* dominc8 made their first contribution in https://github.com/google/benchmark/pull/1290
* Krzmbrzl made their first contribution in https://github.com/google/benchmark/pull/1291
* ShawnZhong made their first contribution in https://github.com/google/benchmark/pull/1296
* staffantj made their first contribution in https://github.com/google/benchmark/pull/1315

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

1.6.0

features
* **[breaking change]** introduce accessorrs for public data members (1208)
* add support for percentage units in statistics (1219)
* introduce coefficient of variation aggregate (1220)
* format percentages in console reporter (1221)

bugfixes
* fix unreachable code warning (1214)
* replace warning with pragma message (1216)
* report PFM as found when it is
* update u-test value expectations due to scipy upgrade

other stuff
* refactored documentation to minimise README.md (1211)
* install docs when installing library (1212)

1.5.6

features
* helper methods to create integer lists (1179)
* default of `--benchmark_filter` is now <empty> rather than "." (1207)

fixes
* type warning (1193)
* returning a reference when callers want pointers (65dc63b)

cleanup
* remove dead code from `PredictNumItersNeeded` (1206)
* fix clang-tidy warnings (1195) and typos (1194)
* prefix macros (1186) and flags (1187, 1185) to avoid name clashes
* downgrade warnings for googletest (twice) (1203, 560b0834, ee726a7)

1.5.5

new features
* Add support for new architecture loongarch (1173)
* Fixed version of random interleaving of benchmark repetitions (1163, fixing 1051)
* Easier comparison of results across families (1168 1166 1165 1164)

fixes
* Fix perf counter argument parsing (1160)

internal cleanup
* Drop warning to satisfy clang's -Wunused-but-set-variable diag (1174)
* Enable some sanitizer builds in github actions (1167 1171)
* Fix memory leak in test (1169)

1.5.4

new features
* better versioning in releases [1047]
* MSVC arm64 support [1090]
* add support for hardware performance counters [1114, 1153]
* add interface for custom context to be included [1127, 1137]
* random interleaving to reduce noise [1105]

compiler cleanliness
* support -Wsuggest-override [1059]
* builds correctly with gcc-11 [1060]
* fix some windows warnings [1121]
* fix -Wreserved-identifier failures [1143]
* fix pendantic warnings [1156]

1.5.3

New features
* Implement custom benchmark names (1107)
* Support for macro expansion in benchmark names (1054)
* Reduce ramp up repetitions when `KeepRunningBatch` is used (1113)

Platform support
* `CycleTimer` implemented for M68K architecture (1050)
* Support for DragonFly BSD (1058)
* Better support for z/OS (1063, 1067)
* Add MSVC ARM64 support for cycle clocks (1052)
* Add support for Elbrus 2000 (1091)
* Fix CPU frequency for AMD Ryzen (and probably other CPUs) (1117)

Bug fixes
* Fix range when starting at zero (1073)

Tool improvements
* Build tools with bazel (982)
* Support JSON dumps of benchmark diffs (1042)

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.