The NetBSD Project

CVS log for pkgsrc/benchmarks/google-benchmark/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / benchmarks / google-benchmark

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Nov 9 08:49:21 2026 UTC (7 days, 2 hours ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
google-benchmark: updated to 1.10.0

1.10.0

exclude linking to lib rt for QNX to avoid linking error
fix(pyproject): Update license to SPDX identifier
Replicate generic hardware events on all CPU PMUs
2125: Fix error: format string is not a string literal
Revert "Remove redundant feature checks on re-run of CMake config ste…
Bump the version of python used for pip.
Add BENCHMARK_NAMED macro for named benchmarks without lambda
cmake: cache HAVE_* results to skip feature checks on re-runs
multiple fixes to avoid Windows x64 crashes
Refactor/modularize headers
refactor ToExponentAndMantissa to use StrFormat instead of std::stringstream
Fix CMake detection on pthread_affinity test on FreeBSD
Add WASI compatibility
docs: document benchmark_min_time CLI forms
feat: Add ScopedPauseTiming RAII helper
Fix two GCC 16 issues
[doc] Properly document CMake minimum required version as 3.13
In PerfCountersTest.MultiThreaded, serialize worker threads
Fix thread safety attribute detection failing to link in CMake check
Replace deprecated _ReadWriteBarrier with std::atomic_signal_fence in MSVC path
docs: document benchmark argument names
Docs: JSON output format
BENCHMARK_ENABLE_WERROR=Off should also disable -pedantic-errors
docs: Add comprehensive command-line options documentation
Fix .gitignore to unignore .cmake files recursively under cmake/
Sort entry in AUTHORS and CONTRIBUTORS
Add -lpfm to pkg-config Libs.private when libpfm is enabled
Fix pkg-config paths for absolute install dirs
Add AGENTS.md
Clarify benchmark_main CMake target usage
Document static library benchmark registration
Document CMake embedding guidance
Skip errored runs when computing repetition statistics
Clarify DoNotOptimize const-ref warning
Skip perf counter tests when counters are unavailable
Tune AGENTS.md
CONTRIBUTING: actually link to AGENTS.md
Disable allocation zeroing in benchmarks on Android
Handle missing locale in test on more platforms
Fix up windows tests
Introduce Rust bindings
better rust build/test
rust bindings: keep argv[0] alive across benchmark reporting
docs: document Bazel integration
Run an autofix pass on github workflows using zizmor
fix(linux): prevent infinite re-exec loop under AppArmor
Make --benchmark_list_tests respect --benchmark_format
Fix typos, add codespell configuration
Fix compile error with clang -Werror -Wunused-template
Fix use-after-free in CreateDefaultDisplayReporter
Exclude setup/teardown from the MemoryManager measurement window
Make random number generator thread-local in perf_counters_gtest.
Update Bazel tooling for Python bindings
Fix tsan/asan/hwasan/etc failures on Android
Ignore skipped benchmark when computing geomean
Py tooling: fix Windows terminal color output and handle color flags in compare.py
Report the complexity aggregates in the family's time unit
Replace offsetof cache-line check with a well-defined runtime check
Detect thread safety attribute support in mutex.h
Diagnose invalid PauseTiming()/ResumeTiming() calls
Register Python 3.14 with Bazel
feat: allow custom multiplier in Benchmark::ThreadRange
Pass State to ProfilerManager via new WithState hooks
feat(reporter): introduce scientific notation for counters in console
fix(timing): Do not resume timing in pause scope on skipped benchmarks
Guard result.rms against division by zero
Add Python 3.13–3.15 and free-threading wheel support
Apply UseManualTime to BM_bytes_per_second and BM_items_per_second
Add State::in_timed_section() helper
fix(mutex): hold lock during notify_all in Barrier::wait to prevent teardown race
Support DoNotOptimize on types with const members

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jan 21 19:05:57 2026 UTC (9 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
google-benchmark: updated to 1.9.5

1.9.5

python binding: add range check
fix: resolve editable installation issue for python package
Add deprecation warnings for MSVC
[doc] Added nice to reducing_variance
Fix bug: link Shlwapi in Libs.private for Windows
Improve handling of private link libraries in pkg-config generation
python: Update to cibuildwheel 3.0
core(perf): use string move constructor for AddCustomContext
Guard adding intel compiler flag behind check for intel compiler.
Compilation error with warning C4267 fix
CI: update available containers
Update pre-commit ruff lib
Added OpenSSF Scorecard Badge for Security Insights
Fix build when targeting Arm64EC using Clang
python: Assert that libdir is a Path in all branches
ci: Update pre-commit hooks and GitHub Action
Python: add bindings for AddCustomContext
[StepSecurity] Apply security best practices
clang-format python bindings (benchmark.cc)
Bump actions/checkout from 4.3.0 to 5.0.0
Bump actions/download-artifact from 4.3.0 to 5.0.0
Bump DoozyX/clang-format-lint-action from 0.18.2 to 0.20
Bump astral-sh/setup-uv from 6.4.3 to 6.5.0
Bump pypa/cibuildwheel from 3.0.0 to 3.1.3
Bump numpy from 1.25 to 2.0.2 in /tools
Bump scipy from 1.10.0 to 1.13.1 in /tools
python: fix segfault on empty argv in main()
2011: Installing contents from benchmark's tools/ subdirectory.
Bump pypa/cibuildwheel from 3.1.3 to 3.1.4
Bump astral-sh/setup-uv from 6.5.0 to 6.6.0
Bump msys2/setup-msys2 from 2.28.0 to 2.29.0
Bump astral-sh/setup-uv from 6.6.0 to 6.6.1
Bump lukka/get-cmake from 4.1.0 to 4.1.1
Bump actions/setup-python from 5.6.0 to 6.0.0
Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0
Add initializer for statistics field
JSON reporter: make int dumping always happen in C locale
Bump astral-sh/setup-uv from 6.6.1 to 6.7.0
Adding explicit cast to aid in template argument deduction.
Bump pypa/cibuildwheel from 3.1.4 to 3.2.0
Bump actions/cache from 4.2.4 to 4.3.0
Bump astral-sh/setup-uv from 6.7.0 to 6.8.0
Bump ossf/scorecard-action from 2.4.2 to 2.4.3
Fix CXX feature check when try_run compilation fails
Bump lukka/get-cmake from 4.1.1 to 4.1.2
Bump numpy from 2.0.2 to 2.3.3 in /tools
Bump scipy from 1.13.1 to 1.16.2 in /tools
Bump astral-sh/setup-uv from 6.8.0 to 7.0.0
dev: Update pre-commit hooks and nanobind_bazel version
wheels: Update GitHub Actions runner to avoid errors due to macOS x86…
Bump pypa/cibuildwheel from 3.2.0 to 3.2.1
bindings(python): Remove hard absl-py dependency
Bump astral-sh/setup-uv from 7.0.0 to 7.1.0
Bump numpy from 2.3.3 to 2.3.4 in /tools
fix: add missing override key word to ThreadRunnerDefault::RunThreads
Bump astral-sh/setup-uv from 7.1.0 to 7.1.1
Fix warnings from Clang
Bump actions/upload-artifact from 4.6.2 to 5.0.0
Bump actions/download-artifact from 5.0.0 to 6.0.0
Bump astral-sh/setup-uv from 7.1.1 to 7.1.2
Bump scipy from 1.16.2 to 1.16.3 in /tools
Bump astral-sh/setup-uv from 7.1.2 to 7.1.3
docs: fix typos in some files
Bump actions/checkout from 5.0.0 to 5.0.1
Bump pypa/cibuildwheel from 3.2.1 to 3.3.0
Bump numpy from 2.3.4 to 2.3.5 in /tools
Take a closure for benchmark configuration
Add missing type_traits include to benchmark_register.h
Bump lukka/get-cmake from 4.1.2 to 4.2.0
Bump actions/checkout from 5.0.1 to 6.0.0
Bump actions/setup-python from 6.0.0 to 6.1.0
Bump astral-sh/setup-uv from 7.1.3 to 7.1.4
Remove redundant feature checks on re-run of CMake config step
Make the build work with -Wformat=2
Add tests for user counters w/ threads
Bump lukka/get-cmake from 4.2.0 to 4.2.1
Bump actions/checkout from 6.0.0 to 6.0.1
Bump astral-sh/setup-uv from 7.1.4 to 7.1.5
Fix rate and thread rate counter aggregates
Bump actions/download-artifact from 6.0.0 to 7.0.0
Bump actions/upload-artifact from 5.0.0 to 6.0.0
Bump actions/cache from 4.3.0 to 5.0.1
Bump msys2/setup-msys2 from 2.29.0 to 2.30.0
Bump astral-sh/setup-uv from 7.1.5 to 7.1.6
Bump egor-tensin/setup-clang from 1.4 to 2.1
Bump numpy from 2.3.5 to 2.4.0 in /tools
Bump astral-sh/setup-uv from 7.1.6 to 7.2.0
Bump pypa/cibuildwheel from 3.3.0 to 3.3.1
Bump numpy from 2.4.0 to 2.4.1 in /tools
Bump scipy from 1.16.3 to 1.17.0 in /tools
Make the Benchmark class public
Bump actions/cache from 5.0.1 to 5.0.2
Silence -Wc2y-extensions warning around __COUNTER__

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue May 20 12:22:34 2025 UTC (17 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
google-benchmark: updated to 1.9.4

1.9.4

Update build instructions for Visual Studio
MaybeReenterWithoutASLR(): be more cautious about argument types
Fix MaybeReenterWithoutASLR() in docker
Enable Google Benchmark to run in WebAssembly with filesystem disabled
wheels: Build Linux ARM wheels natively on ARM runners

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed May 7 12:44:07 2025 UTC (18 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
google-benchmark: updated to 1.9.3

1.9.3

Use the top-level ::benchmark namespace to resolve make_unique
Refactor threading run
Threading api v3
Templated fixture methods
Macro fix
Deprecate ubuntu-20.04 images in actions
deps: Update nanobind_bazel to v2.7.0
Fix error handling of getloadavg
Improve user UX on empty benchmarks
Detect and report ASLR status
Automatic ASLR disablement
dev: Update pre-commit hooks

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 31 16:48:30 2025 UTC (19 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
google-benchmark: updated to 1.9.2

1.9.2

Add artifact name to download before wheel PyPI upload
Remove if statement from wheel upload job
Fix malformed clang invocation in build_ext.run
Remove wheel merge job, merge artifacts on download
Change SDK version check
[bazel] Remove selects on CPU
cycleclock: Support for PA-RISC (hppa) architecture
fix: remove clang-cl compilation warning
README.md: fix build instructions
cycleclock: Use clock_gettime() as fallback for any Linux architecture
Fix runtime crash when parsing /proc/cpuinfo fails
Get number of CPUs with sysconf() on Linux
Update nanobind-bazel to v2.4.0
ci: Update pre-commit hooks
Lint Python: Add more ruff rules
GitHub Actions: build-and-test on an ARM processor
ruff rule E501: Fix long lines in Python code
[BUG] Fix ProfilerManager number of iterations
Update error message now that /proc/cpuinfo is no longer in use
add back /proc/cpuinfo as a fallback for some platforms
change pacboy compiler target for windows builds
Retrieve the number of online CPUs on OpenBSD and NetBSD
Replace usage of deprecated sysctl on macOS
Try to use the _SC_NPROCESSORS_ONLN sysconf elsewhere
fix sanitizer cmake builds
Remove /proc/cpuinfo fallback path
Build libpfm with rules_cc
remove cxx03 test, fully unblocking c++1X development
run clang-tidy using a common config and reduced set of tests
benchmark declarations can and should be const (clang-tidy)
[clang-tidy] use unique_ptr for benchmark registration
[clang-tidy] fix warning about decaying array to pointer
[clang-tidy] fix missing braces
[clang-tidy] autofix cppcoreguidelines
[clang-tidy] autofix readability issues
dx: Update pre-commit repos, change imports of Python / CC rules
deps: Update nanobind_bazel to v2.5.0
use smart pointers
[clang-tidy] resolve some global clang-tidy issues
Fix build errors on QuRT (Hexagon)
change setup and teardown callback type
Install FindPFM.cmake for bencmarkConfig.cmake
fix memory manager result bug
Compilation example was wrong. Fixed standard
CI: unbreak MSan job
update version of gtest to v1.15.2 (latest) and also the cmake config
Finish cxx version bump

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Dec 4 11:23:46 2024 UTC (23 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
google-benchmark: updated to 1.9.1

1.9.1

Fix Python manual timing example
Align benchmark::State to a cacheline.
Fix C4459: Rename a function parameter profiler_manager to avoid hiding the global declaration.
Bump oldest supported Python to 3.10, eliminate setuptools-scm
enable the /MP MSVC compiler argument for parallel compilation
Added the functionality for a dry run benchmark called through the cli argument --benchmark_dry_run.
Version string correction in pkg-config files
Add enum value from newest Windows SDK
Fix spurious warning 'misc-use-anonymous-namespace'
Update user_guide.md
upgrade bazel mods. requires c++14 for tests
Update nanobind_bazel to v2.2.0
bump googletest version to match bazel
Verify RegisterProfilerManager doesn't overwrite an existing registration
ensure background color is preserved
Add nb::is_flag() annotation to Counter::Flags
Add a Python matrix to ensure the bindings build on all supported versions
Declare a Python 3.13 toolchain, revert setup.py toolchain target sele…
update standard to C++17 per C++ build support
Improve examples on ComputeStatistics

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Aug 25 06:18:26 2024 UTC (2 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Aug 19 22:03:38 2024 UTC (2 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -2 lines
google-benchmark: update to 1.9.0.

breaking

    Ensure reported Time is walltime by removing spurious scaling by threads by @dmah42 in #1836

other

    Update benchmark Python bindings for nanobind 2.0, and update to nano… by @hawkinsp in #1817
    Revert to token authentication for PyPI wheel uploads by @nicholasjng in #1819
    Suppress invalid-offsetof warning for clang by @DKLoehr in #1821
    Use log2 now that NDK requires at least API 21 which includes it. by @dmah42 in #1822
    Update libs into .pre-commit-config.yaml by @mosfet80 in #1825
    Update nanobind into benchmark_deps.bzl by @mosfet80 in #1826
    Bump nanobind-bazel to v2.1.0, add stubgen target by @nicholasjng in #1824
    Move ProfilerManager Start/Stop routines closer to benchmark #1807 by @xdje42 in #1818
    Cache upd by @mosfet80 in #1830
    Update clang-format-lint-action by @mosfet80 in #1829
    chore: update perf_counters.cc by @eltociear in #1831

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jul 19 06:49:06 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -10 lines
google-benchmark: updated to 1.8.5

v1.8.5

Improve compatibility with Hexagon hardware
hotfix: Correct pypi-publishing action tag to v1.8.14
CMake: unbreak version handling for tarballs
cycleclock: Fix type conversion to match function return type
bump standard to C++14
Docs: Bump minimum required C++ version from C++11 to C++14
cycleclock: Fix type conversion to match function return type on riscv64
[bazel] Use includes instead of strip_include_prefix
Find libpfm dependency in installed CMake configs
Add -lkstat to the .pc for Solaris
add PERF_FORMAT_TOTAL_TIME_{ENABLED,RUNNING} to support multiplexing
Clarify the difference between BENCHMARK_TEMPLATE_F and BENCHMARK_TEMPLATE_DEFINE_F + BENCHMARK_REGISTER_F
[FR] Add API to provide custom profilers

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon May 27 12:17:19 2024 UTC (2 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
google-benchmark: updated to 1.8.4

v1.8.4

Audit MSVC references in cmake files to consider clang++
Make json and csv output consistent.
Update bazel.yml
Fix building on MinGW: default WINVER is too old
Increase the kMaxIterations limit
Set -Wno-unused-variable for tests
Add no-unititialized-variable to tests
Add Python 3.12 support
Change nanobind linkage to response file approach on macOS
Reapply size optimizations for clang & MSVC, LTO for Mac+Linux
[bindings] Add LTO builds on Windows+MSVC
Add pre-commit config and GitHub Actions job
Replace isort hook with ruff builtin import sorting
Add setuptools_scm for dynamic zero-config Python versioning
Fix unit tests compilation by non-gnu/msvc compilers with c++11 support.
Fixed compiler warnings
Switch out black for ruff format
Add Missing \n at the End of Error Log String
Fix CMakeLists.txt for perf_counters_test
[CI] Fix sanitizer builds by pinning the LLVM revision
Support windows MSYS2 environments
Fix pre-commit GitHub Actions job
[NFC] complexity_n is not of IterationCount type
Fix editable install by unsetting build_ext.copy_extensions_to_source
Upgrade core bazel dependencies
Run pre-commit autoupdate, fix stale pyproject.toml comments
Check out repo at depth 0 for Python tests, bump Python and PyPI actions
Fix mis-matching argument in closing tag for cmake macro
define HOST_NAME_MAX for z/OS
Fix division by zero for low frequency timers for CV statistics
Remove the use of "Sanity" and replace it with "Safety"
CycleClock: use RDTIME instead of RDCYCLE on RISC-V
Enable Large-file Support
Fix per-thread timing error on z/OS
Avoid leaking LFS flags to reverse dependencies
Change Fixture to use non-const SetUp and TearDown in example
fix: fail to import gbench in bazel and python3.12
Issue1731 created console does not receive output
tools/compare: don't actually discard valid (but zero) pvalue
Issue 1734: Streams not flushed if not running actual benchmarks
fix(cmakelists.txt): enforce CMake to find PFM or fail when BENCHMARK…
Docs: reducing_variance.md: proofreading, fix typos
Fix C-style typecasting in QNX-specific code
Bump pre-commit dependencies
Output library / schema versions in JSON context block
set library version in bazel
Add BENCHMARK_TEMPLATE[12]_CAPTURE, fusion of BENCHMARK_CAPTURE and BENCHMARK_TEMPLATE
Deflake CI
Fix typo in GetBenchmarkVersion()
CycleClock: Add support for Alpha architecture
sysinfo.cc: Always abort on GetNumCPUs failure
Rewrite complexity_test to use (hardcoded) manual time
Revert "fix some warnings"
Fixed LTO issue on no discard variable
mitigate clang build warnings -Wconversion
Add Python bindings build using bzlmod
Fix implicit conversion changes signess warning in perf_counters.cc
clang-tidy broke the world
allow BENCHMARK_VERSION to be undefined
fix OpenBSD build
Remove COMPILER_IBMXL macro for z/OS
Refactor: Return frequency as double
Add benchmark_main.pc to link main() containing library
Switch git override to stable BCR tag for nanobind_bazel
Modernize wheel building job config
preparing for v1.8.4

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Aug 31 17:22:52 2023 UTC (3 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -3 lines
google-benchmark: updated to 1.8.3

v1.8.3

Fix broken PFM-enabled tests
Update tools.md for missing color meaning
Add pyproject.toml file for PEP518 compliance
pfm: Use a more standard CMake approach for finding libpfm
Bump nanobind to stable v1.4.0 tag
Bump scipy from 1.5.4 to 1.10.0 in /tools
Downgrade bazel to windows-2019
Add tests for Human Readable functionality
Delete unused requirements file, simplify nanobind build file
Update bzlmod support to new rules_python extension API
Re-enable windows-latest tests for newer Bazel
Fix -Werror,-Wold-style-cast build failure on Windows.
Mark internal deps as dev_depenencies so that downstream modules don't require those
bug: Inconsistent suffixes console reporter 1009
Fix IntelLLVM compiler error
fix: added benchmark_counters_tabular for file
[perf-counters] Fix pause/resume
sysinfo.cc: Call getloadavg for Android API >= 29
benchmark.cc: Fix benchmarks_with_threads condition
perf-counters: Make tests pass on Android
State: Initialize counters with kAvgIteration in constructor
perf_counters: Initialize once only when needed
test: Use gtest_main only when needed
StatisticsMedian: Fix bug

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Aug 14 05:23:50 2023 UTC (3 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
*: recursive bump for Python 3.11 as new default

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jul 9 21:09:32 2023 UTC (3 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
google-benchmark: updated to 1.8.2

v1.8.2

Add more terminals with color support
Fix passing non-const lvalue refs to DoNotOptimize

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jul 5 12:13:55 2023 UTC (3 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
google-benchmark: updated to 1.8.1

v1.8.1
Disable debug-only test in release builds to avoid expected failures.
Fix code triggering -Wsign-conversion
Update Python version to PY3, as indicated by the actual source file.
Fixed a typo in docs
Fix pass rvalue to DoNotOptimize
Fix a typo in regex choice
remove old-style (C-style) casts
Add support for bzlmod (excluding Python bindings)
Add a CI test for the new bzlmod integration
Suppress intentional potential memory leak as detected by clang static analysis

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun May 7 09:51:01 2023 UTC (3 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
google-benchmark: update to 1.8.0.

v1.8.0

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

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jan 24 18:36:21 2023 UTC (3 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
*: convert to cmake/build.mk

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Nov 26 17:53:02 2022 UTC (3 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
google-benchmark: updated to 1.7.1

v1.7.1
What's Changed

Remove stray comment and added missing header
Initialize help hook before actually parsing the command line
remove unnecessary generated include directory
Fixed build issues on window
Explicitly cast int literals to int8_t in tests to silence implicit-conversion warnings
Ensure we don't need benchmark installed to pass c++ feature checks
Avoid deprecation warning in NVHPC
run ClearRegisteredBenchmarks at exit
FIx typo in benchmark.h
add debug option for enabling more output for failed cxxfeaturechecks
Fix link error when use as static library on windows.
use CMAKE_INSTALL_FULL in pkg-config file (fixes nix package)
Clean up test documentation formatting
Enable aarch64 Linux wheel builds, use cibuildwheel action directly
Eliminate usage of deprecated API in sysinfo.cc
Stop using pandas.Timedelta
Discuss sources of variance in the user guide
Bump pybind11 version to enable Python 3.11 wheel builds
bump cmake dep and docs
Support for QuRT OS (Hexagon RTOS)
Fix Solaris compilation
Do not depend on unversioned python binary
Partially revert "Do not depend on unversioned python binary"
Add information for supported Python versions to setup.py
[bazel] Build libpfm as a dependency to allow collection of perf counters

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Jul 31 09:52:51 2022 UTC (4 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -10 lines
google-benchmark: update to 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 #1435
    use target_compile_definitions by @dominichamon in #1440
    simplified code by @maochongxin in #1439

New Contributors

    @maochongxin made their first contribution in #1439

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jul 22 08:34:14 2022 UTC (4 years, 3 months ago) by adam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -4 lines
google-benchmark: updated to 1.6.2

v1.6.2

Add docs for ThreadRange.
Add docs on Memory profiling
Suppress GoogleTest warnings on windows (MSVC) too.
Expand documentation for unpacking arbitrary arguments.
Refine docs on changing cpufreq governor
Refine the User Guide CPU Frequency Scaling section
Fix some errors in Custom Statistics document demo code.
Cache PerfCounters instance in PerfCountersMeasurement
Fix cross compilation for macOS ARM builds in cibuildwheel
bump numby, as per dependabot
Use Win32 API only for Win32 apps
Add mutex when reading counters_
Avoid potential truncation issues for the integral type parameterized tests.
Expose default display reporter creation in public API
explicitly export public symbols
Check for macro existence before using
simplify reference to internal path
Introduce the possibility to customize the help printer function
move bzl file out of tools
resolve case sensitivity issues with WORKSPACE and workspace
Make generate_export_header.bzl work for Windows.
@platforms is magical; remove it from WORKSPACE.
restore BENCHMARK_MAIN()
Allow setting the default time unit globally
Add long description and content type for proper PyPI presentation
Add SetBenchmarkFilter() to set --benchmark_filter flag value in user code
Appended additional BSD 3-Clause to LICENSE
Add PyPI upload job to wheel building workflow
Fix float comparaison and add float comparison warning
Update LICENSE file to clearly state which file needs BSD 3
Add BENCHMARK_STATIC_DEFINE to the Python bindings' cc_binary local…
Remove conditional trigger from PyPI upload job
Change artifact download name to dist to match upload name
Build //:benchmark as a static library only.
Fix Bazel build breakage caused by commit 6a894bd.
[nfc] Reformat doc-string in generate_export_header
Updates for inclusive language
getting sysinfo in line with Google style
Small optimization to counter map management
Shut down Bazel gracefully and revert wheel build strategy to job matrix
Fix wheel job name for PyPI uploads
Filter out benchmarks that start with "DISABLED_"
Add benchmark labels to the output of the comparison tool
Enable -Wconversion
Add installation and build instructions for Python bindings
fix some typos
Add option to get the verbosity provided by commandline flag -v
Add support to get clock for new architecture CSKY
Introduce warmup phase to BenchmarkRunner
Report large numbers in scientific notation in console reporter
add multiple OSes to bazel workflow
Add possibility to ask for libbenchmark version number
Fix DoNotOptimize() GCC copy overhead
Clarify that the cpu frequency is not used for benchmark timings.
Revert "Add possibility to ask for libbenchmark version number
Remove redundant formatting tags
Fix DoNotOptimize() GCC compile error with some types
Expose default help printer function
fix sanitizer builds by using clang 13
Suppress nvcc offsetof warning
Expose google_benchmark.State for python bindings.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jan 16 23:09:35 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
google-benchmark: update to 1.6.1.

Fixes

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

Features

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

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Sep 12 10:58:25 2021 UTC (5 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -4 lines
google-benchmark: update to 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)

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 15 13:29:05 2021 UTC (5 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -5 lines
google-benchmark: update to 1.5.6.

features

    helper methods to create integer lists (#1179)
    default of --benchmark_filter is now 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)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jun 28 08:10:58 2021 UTC (5 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -7 lines
google-benchmark: update to 1.5.5.

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)

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 10 10:08:07 2021 UTC (5 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
google-benchmark: update to 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]

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Apr 26 15:23:37 2021 UTC (5 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -6 lines
google-benchmark: update to 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)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 7 20:49:56 2020 UTC (6 years, 1 month ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -2 lines
google-benchmark: update to 1.5.2.

    Timestamps in output are now rfc3339-formatted #965
    overflow warnings with timers fixed #980
    Python dependencies are now covered by a requirements.txt #994
    JSON output cleaned up when no CPU scaling is present (#1008)
    CartesianProduct added for easier settings of multiple ranges (#1029)
    Python bindings improvements:
        Custom main functions (#993)
        A rename to google_benchmark (#199
        More state methods bound (#1037) with a builder interface (#1040)
    Workflow additions in github include pylint (#1039) and bindings runs (#1041)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jun 11 17:01:06 2020 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -3 lines
google-benchmark: updated to 1.5.1

v1.5.1:
Python bindings are now available in //bindings/python
Upgraded bazel from 0.10.1 to 3.2.0 (long overdue)
RISC-V and PPC cycleclock fixes
Various build warnings and cmake issues resolved
Documentation improvements

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Apr 26 13:32:18 2020 UTC (6 years, 6 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -1 lines
benchmark/google-benchmark: remove runtime dependency on Python

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Mar 21 17:27:24 2020 UTC (6 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -1 lines
benchmarks/google-benchmark: add build dependency to Python

Without the dependency, the build fails with:
> Scanning dependencies of target copy_clobber_memory_assembly_test
> env: python: No such file or directory

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Mar 16 14:00:58 2020 UTC (6 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
google-benchmark: remove -Werror

Breaks build with stack check

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue May 21 09:55:15 2019 UTC (7 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
google-benchmark: updated to 1.5

v1.5:
Bump CMake minimum version to 3.5.1 (see dependencies.md)
Add threads and repetitions to the JSON outputa
Memory management and reporting hooks
Documentation improvements
Miscellaneous build fixes (Mostly Intel compiler and Android)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Mar 21 22:16:25 2019 UTC (7 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -6 lines
google-benchmark: updated to 1.4.1

v1.4.1
Bug-fix release on v1.4.
Realign expectation that State::iterations() returns 0 before the main benchmark loop begins.
CMake error message fixes
Enscripten check fix
OpenBSD porting
Windows bazel fixes
Bazel pthread linking
Negative regexes
gmock fix

v1.4.0
Removal of deprecated headers
Improved CPU cache info reporting
Support State::KeepRunningBatch()
Support int64_t for AddRange()
New platform support: NetBSD, s390x, Solaris
Bazel build support
Support googletest unit tests
Add assembler tests
Various warnings fixed

v1.3.0
Ranged for loop optimization!
Make installation optional
Better stats including user-provided ones
JSON reporter format fixes
Documentation improvements

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Mar 24 11:41:58 2017 UTC (9 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Merge patch from upstream to always use std::string, the original
intention of optional inclusion no longer applies anyway.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Nov 21 18:20:30 2016 UTC (9 years, 11 months ago) by minskim
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Import google-benchmark-1.1.0

It is a library to support the benchmarking of functions, similar to
unit-tests.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>