- 05 Jan, 2021 1 commit
-
- 22 Dec, 2020 2 commits
-
-
Dominic Hamon authored
* Create workflow to exercise bazel build
-
Aidan Wolter authored
Fixes google#1077 Bazel clients currently cannot build the benchmark library in Release mode. This commit adds a new target ":benchmark_release" to enable this.
-
- 21 Dec, 2020 1 commit
-
-
feserr authored
Fixes #1075. * Add an option to report in seconds. * Reduce the time of the test. * Add CSV/JSON tests for new time reports.
-
- 26 Nov, 2020 2 commits
-
-
Dominic Hamon authored
-
Scott K Logan authored
The existing behavior results in the `0` value being added twice. Since `lo` is always added to `dst`, we never want to explicitly add `0` if `lo` is equal to `0`.
-
- 23 Nov, 2020 1 commit
-
-
Dominic Hamon authored
-
- 19 Nov, 2020 1 commit
-
-
Mario Emmenlauer authored
* Adding test for defined names in test fixtures * include/benchmark/benchmark.h: Added support for macro expansion in benchmark names
-
- 06 Nov, 2020 1 commit
-
-
Alexander authored
* packages versions updated to be in sync with modern python versions
-
- 03 Nov, 2020 1 commit
-
-
Steven Wan authored
* Rename 'mftbl' to 'mftb' * Add my name to the contributor list
-
- 29 Oct, 2020 1 commit
-
-
Abhina Sree authored
* z/OS does not support nanosleep, add workaround to use sleep() and usleep() instead * change unsigned to int, and fix while loop
-
- 21 Oct, 2020 1 commit
-
-
Fanbo Meng authored
On s390 architecture, z/OS XL compiler uses HLASM inline assembly, which has different syntax and needs to be distinguished to avoid compilation error.
-
- 15 Oct, 2020 1 commit
-
-
Sergei Trofimovich authored
Noticed missing header when was building llvm with gcc-11: ``` llvm-project/llvm/utils/benchmark/src/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std' 17 | static const T kmax = std::numeric_limits<T>::max(); | ^~~~~~~~~~~~~~ ```
-
- 12 Oct, 2020 1 commit
-
-
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 ```
-
- 29 Sep, 2020 1 commit
-
-
Min-Yih Hsu authored
As per discussions in here [1], LLVM is going to get backend support on Motorola 68000 series CPUs (a.k.a M68K or M680x0). So it's necessary to add CycleTimer implementation here, which is simply using `gettimeofday` same as MIPS. This fixes #1049 [1] https://reviews.llvm.org/D88389
-
- 28 Sep, 2020 1 commit
-
-
Dominic Hamon authored
-
- 21 Sep, 2020 1 commit
-
-
Jusufadis Bakamovic authored
NOTE: This is a fresh-start of #738 pull-request which I messed up by re-editing the commiter email which I forgot to modify before pushing. Sorry for the inconvenience. This PR brings proposed solution for functionality described in #737 Fixes #737.
-
- 12 Sep, 2020 1 commit
-
-
Vitaly Zaitsev authored
Signed-off-by:Vitaly Zaitsev <vitaly@easycoding.org>
-
- 11 Sep, 2020 1 commit
-
-
Antoine Prouvost authored
* Fix setup.py and reformat * Bind benchmark * Add benchmark option to Python * Add Python examples for range, complexity, and thread * Remove invalid multithreading in Python * Bump Python bindings version to 0.2.0 Co-authored-by:Dominic Hamon <dominichamon@users.noreply.github.com>
-
- 10 Sep, 2020 2 commits
-
-
Dominic Hamon authored
* Initial version to try to run python bindings example * python indent issue in setup.py * better naming
-
Antoine Prouvost authored
* Bind Counter to Python * Bind State methods to Python * Bind state.counters to Python * Import _benchmark.Counter * Add Python example of state usage Co-authored-by:Dominic Hamon <dominichamon@users.noreply.github.com>
-
- 09 Sep, 2020 1 commit
-
-
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
-
- 03 Sep, 2020 1 commit
-
-
Yesudeep Mangalapilly authored
Revert previous linker additions for FreeBSD as the problem is Bazel using /usr/bin/clang instead of /usr/bin/clang++ to link C++ code. (#1035)
-
- 28 Aug, 2020 1 commit
-
-
Yesudeep Mangalapilly authored
* Adds -lm linker flag for (Free|Open)BSD and uses github.com/bazelbuild/platforms for platform detection. * Prefer selects.with_or to select the linkopts. * @platforms appears to be implicitly available. @bazel_skylib would require updating every dependent repository. * Re-enable platforms package.
-
- 27 Aug, 2020 1 commit
-
-
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.
-
- 25 Aug, 2020 1 commit
-
-
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
-
- 21 Aug, 2020 1 commit
-
-
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
-
- 19 Aug, 2020 1 commit
-
-
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.
-
- 18 Aug, 2020 2 commits
-
-
Dominic Hamon authored
As noted in #995, this causes issues when the command line flag already starts with "benchmark_", which they all do. Not caught by tests as the test flags didn't start with "benchmark". Fixes #995
-
Dominic Hamon authored
First attempt at a non-travis/non appveyor CI solution
-
- 30 Jul, 2020 1 commit
-
-
Dominic Hamon authored
-
- 28 Jul, 2020 1 commit
-
-
Alexander Enaldiev authored
* JSONReporter: don't report on scaling if we didn't get it (#1005) * JSONReporter: fix due to review (std::pair<bool, bool> -> enum) * JSONReporter: scaling: fix the algo (due to review discussion) * benchmark.h: revert to old-fashioned enum's (C++03 compatibility); rreporter_output_test: let's skip scaling
-
- 09 Jul, 2020 2 commits
-
-
Chris Jones authored
-
Chris Jones authored
A few people have complained that `benchmark` is too generic. Also, add Python 3.8.
-
- 30 Jun, 2020 1 commit
-
-
Skye Wanderman-Milne authored
-
- 29 Jun, 2020 1 commit
-
-
Jonas Otto authored
* add requirements.txt for python tools * adds documentation for requirements.txt Adds installation instructions for python dependencies using pip and requirements.txt
-
- 25 Jun, 2020 1 commit
-
-
Jonas Otto authored
-
- 17 Jun, 2020 1 commit
-
-
Reid Paape authored
-
- 16 Jun, 2020 1 commit
-
-
Dominic Hamon authored
timers: silence format overflow warning
-
- 15 Jun, 2020 1 commit
-
-
Brian Wolfe authored
-