v1.6.2
版本发布时间: 2022-07-18 22:35:55
google/benchmark最新发布版本:v1.9.0(2024-08-16 18:09:24)
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
andworkspace
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