1. 15 Oct, 2020 1 commit
  2. 12 Oct, 2020 1 commit
    • Add support for DragonFly BSD (#1058) · af72911f
      Michael Neumann authored
      Without this commit, compilation fails on DragonFly with the following message:
      
      ```
      /home/mneumann/Dev/benchmark.old/src/sysinfo.cc:446:2: error: #warning "HOST_NAME_MAX not defined. using 64" [-Werror=cpp]
      ^~~~~~~
      ```
      
      Also note that the sysctl is actually `hw.tsc_frequency` on DragonFly:
      
      ```
      $ sysctl hw.tsc_frequency
      hw.tsc_frequency: 3498984022
      ```
      
      Tested on:
      
      ```
      $ uname -a
      DragonFly box.localnet 5.9-DEVELOPMENT DragonFly v5.9.0.742.g4b29dd-DEVELOPMENT #5: Tue Aug 18 00:21:31 CEST 2020
      ```
  3. 29 Sep, 2020 1 commit
  4. 28 Sep, 2020 1 commit
  5. 21 Sep, 2020 1 commit
  6. 12 Sep, 2020 1 commit
  7. 11 Sep, 2020 1 commit
  8. 10 Sep, 2020 2 commits
  9. 09 Sep, 2020 1 commit
    • Create pylint.yml (#1039) · beb360d0
      Dominic Hamon authored
      * Create pylint.yml
      
      * improve file matching
      
      * fix some pylint issues
      
      * run on PR and push (force on master only)
      
      * more pylint fixes
      
      * suppress noisy exit code and filter to fatals
      
      * add conan as a dep so the module is importable
      
      * fix lint error on unreachable branch
  10. 03 Sep, 2020 1 commit
  11. 28 Aug, 2020 1 commit
  12. 27 Aug, 2020 1 commit
    • Fix Clang builds on Windows (#1021) · 01c0ab7c
      Jeremy Ong authored
      Fixes #974. The `cxx_feature_check` now has an additional
      optional argument which can be used to supply extra cmake flags
      to pass to the `try_compile` command. The `CMAKE_CXX_STANDARD=14`
      flag was determined to be the minimum flag necessary to correctly
      compile and run the regex feature checks when compiling with Clang
      under Windows (n.b. this does *not* refer to clang-cl, the frontend
      to the MSVC compiler). The additional flag is not enabled for any
      other compiler/platform tuple.
  13. 25 Aug, 2020 1 commit
    • Add CartesianProduct with associated test (#1029) · 48579623
      Christian Wassermann authored
      * Add CartesianProduct with associated test
      
      * Use CartesianProduct in Ranges to avoid code duplication
      * Add new cartesian_product_test to CMakeLists.txt
      * Update AUTHORS & CONTRIBUTORS
      
      * Rename CartesianProduct to ArgsProduct
      
      * Rename test & fixture accordingly
      * Add example for ArgsProduct to README
  14. 21 Aug, 2020 1 commit
    • Ctest support (#1025) · 5c25ad3a
      Dominic Hamon authored
      * ctest is now working
      
      * Update README
      
      * remove commented out lines
      
      * Tweaked docs
      
      Added note to use parallel and cleaned build config notes
      
      * Response to comments
      
      * revert all but the readme
      
      * make error message clearer
      
      * drop --parallel
  15. 19 Aug, 2020 1 commit
    • Update build instructions to better use CMake (#1017) · bb978c06
      Adam Badura authored
      Build instructions needlessly referred to make when CMake offers
      a command-line interface to abstract away from the specific build
      system.
      
      Furthermore, CMake offers command-line "tool mode" which performs basic
      filesystem operations. While the syntax is a bit more verbose than
      Linux commands it is platform-independent. Now the commands can be
      copy-pasted on both Linux and Windows and will just work.
      
      Finally, the Release build type is included in initial commands. A natural flow
      for a new-comer is to read and execute the commands and only then learn
      that one has to go back and redo them again this time with proper parameters.
      Now instead the parameters are only explained later but present already in the
      initial commands.
  16. 18 Aug, 2020 2 commits
  17. 30 Jul, 2020 1 commit
  18. 28 Jul, 2020 1 commit
  19. 09 Jul, 2020 2 commits
  20. 30 Jun, 2020 1 commit
  21. 29 Jun, 2020 1 commit
  22. 25 Jun, 2020 1 commit
  23. 17 Jun, 2020 1 commit
  24. 16 Jun, 2020 1 commit
  25. 15 Jun, 2020 4 commits
    • timers: just make the buffers big enough · 7cc06ef8
      Brian Wolfe authored
    • timers: use snprintf instead of sprintf · f25ea40a
      Brian Wolfe authored
    • timers: silence format overflow warning · f6ac240c
      Brian Wolfe authored
    • use rfc3339-formatted timestamps in output [output format change] (#965) · 99c52f14
      Brian Wolfe authored
      * timestamp: use rfc3339-formatted timestamps in output
      
      Replace localized timestamps with machine-readable IETF RFC 3339 format
      timestamps. This is an attempt to make the output timestamps easily
      machine-readable. ISO8601 specifies standards for time interchange
      formats. IETF RFC 3339: https://tools.ietf.org/html/rfc3339 defines a
      subset of these for use in the internet. The general form for these
      timestamps is:
      
      YYYY-MM-DDTHH:mm:SS[+-]hhmm
      
      This replaces the localized time formats that are currently being used
      in the benchmark output to prioritize interchangeability and
      machine-readability.
      
      This might break existing programs that rely on the particular date-time
      format. This might also may make times less human readable. RFC3339 was
      intended to balance human readability and simplicity for machine
      readability, but it is primarily intended as an internal representation.
      
      * timers: remove utc string formatting
      
      We only ever need local time printing. Remove the UTC printing
      and cosnolidate the logic slightly.
      
      * timers: manually create rfc3339 string
      
      The C++ standard library does not output the time offset in RFC3339
      format, it is missing the : between hours and minutes. VS does not
      appear to support timezone information by default. To avoid adding too
      much complexity to benchmark around timezone handling e.g. a full
      date library like https://github.com/HowardHinnant/date, we fall back
      to outputting GMT time with a -00:00 offset for those cases.
      
      * timers: use reentrant form for localtime_r & tmtime_r
      
      For non-windows, use the reentrant form for the time conversion
      functions.
      
      * timers: cleanup
      
      Use strtol instead of brittle moving characters around.
      
      * timers: only call strftime twice.
      
      Also size buffers to known maximum necessary size and name constants
      more appropriately.
      
      * timers: fix unused variable warning
  26. 09 Jun, 2020 1 commit
  27. 08 Jun, 2020 4 commits
  28. 05 Jun, 2020 1 commit
  29. 28 May, 2020 1 commit
  30. 26 May, 2020 1 commit
    • Drop unused mingw.py (#966) · 9284e90f
      Christian Clauss authored
      * Use ==/!= to compare constant literals (str, bytes, int, float, tuple)
      
      Avoid Syntax Warning on Python 3.8: `3 is 3`  # —> Syntax Warning
      
      * Delete mingw.py
  31. 06 May, 2020 1 commit
    • Add Python bindings. (#957) · d3ad0b9d
      Chris Jones authored
      * Add Python bindings.
      
      * Add license headers.
      
      * Change example to a test.
      
      * Add example usage to module docstring.