v1.8.4
版本发布时间: 2024-05-23 22:03:56
google/benchmark最新发布版本:v1.9.0(2024-08-16 18:09:24)
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 ofIterationCount
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 ofBENCHMARK_CAPTURE
andBENCHMARK_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 linkmain()
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