v1.6.1
版本发布时间: 2022-01-11 03:19:10
google/benchmark最新发布版本:v1.9.0(2024-08-16 18:09:24)
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 bethread_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