Up to [cvs.NetBSD.org] / pkgsrc / benchmarks / google-benchmark
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
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
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__
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
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
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
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.
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)
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
Import google-benchmark-1.1.0 It is a library to support the benchmarking of functions, similar to unit-tests.