Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: martinus/nanobench
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.3.8
Choose a base ref
...
head repository: martinus/nanobench
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 14 commits
  • 67 files changed
  • 5 contributors

Commits on Dec 5, 2022

  1. Copy the full SHA
    a7030c6 View commit details

Commits on Feb 3, 2023

  1. clang-tidy improvements, recreate documentation (#83)

    * Lots of clang-tidy fixes
    
    This enables a bunch of clang-tidy rules, and fixes nanobench.h wherever
    possible, and otherwise disables the warning at that line.
    
    * Updated documentation, adding missing files
    
    Also update highlighting locations
    
    * only use W4 warnings for MSVC
    martinus authored Feb 3, 2023
    Copy the full SHA
    41d6936 View commit details
  2. minor comment fix

    martinus committed Feb 3, 2023
    Copy the full SHA
    13c26fa View commit details

Commits on Feb 6, 2023

  1. Check for failures in parseFile(), perf events tweaks (#84)

    * Check for failures in parseFile()
    
    Check for failures when opening/reading the CPU frequency related sysfs
    files, to avoid needless warning messages.
    
    Note that if `scaling_min_freq` and `scaling_max_freq` both fail, then
    `minFreq` and `maxFreq` will be zeroes and no warning is generated.
    
    * Fallback to PERF_COUNT_HW_CPU_CYCLES
    
    Not all platforms support the reference cycles, so fallback to the cycle
    counter, it's better than nothing.
    
    * Add HW perf events before SW events
    
    The mixed order of HW and SW events causes EINVAL failures from some of
    the perf_event_open() syscalls in one embedded device with 4.14 kernel.
    Fixed by adding all the HW events first, then the SW events.
    cj-tommi-rantala authored Feb 6, 2023
    Copy the full SHA
    a0e1b34 View commit details

Commits on Feb 16, 2023

  1. Workaround missing noexcept for std::string move assignment (#87)

    Due to GCC/libstdc++ bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58265
    the string move assignment may be missing noexcept, resulting in build
    errors even with relative recent GCC versions:
    
    ```
    nanobench.h:2898:9: error: function 'ankerl::nanobench::Config& ankerl::nanobench::Config::operator=(ankerl::nanobench::Config&&)' defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ''
     Config& Config::operator=(Config&&) noexcept = default;
             ^~~~~~
    ```
    cj-tommi-rantala authored Feb 16, 2023
    Copy the full SHA
    407feab View commit details
  2. removed the link (#89)

    martinus authored Feb 16, 2023
    Copy the full SHA
    aa0453a View commit details
  3. Lots of minor cleanups (#85)

    * update a bunch of links
    
    * use the little d() helper instead of static_cast<double> where possible
    
    * add lots of nodiscard
    
    * add missing noexcept (g++ complains)
    
    std::string(std::string&&) is noexcept since c++11
    martinus authored Feb 16, 2023
    Copy the full SHA
    bdd0bfd View commit details
  4. Copy the full SHA
    a5a50c2 View commit details

Commits on Mar 18, 2023

  1. Update doctest to v2.4.11

    mxmlkzdh authored and martinus committed Mar 18, 2023
    Copy the full SHA
    b8d337a View commit details

Commits on Apr 1, 2023

  1. Copy the full SHA
    3e6a87e View commit details
  2. Copy the full SHA
    f09ac93 View commit details
  3. Fix docs

    jonas-schulze authored and martinus committed Apr 1, 2023
    Copy the full SHA
    5d579e6 View commit details
  4. regenerate documentation

    martinus committed Apr 1, 2023
    Copy the full SHA
    9f871ad View commit details

Commits on Oct 6, 2024

  1. test: include <cstdint> to fix compilation w/ GCC 14

    Fixes #118.
    intelfx authored and martinus committed Oct 6, 2024
    Copy the full SHA
    e432789 View commit details
Loading