aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-11Merge "Add libgoogle-benchmark-main module." am: fedc32dd69 am: 33355bcdca ↵Krzysztof Kosiński
am: 9222acf163 am: 3f199de82c am: b31c92665a Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423810 Change-Id: If30fec32fea14d8f4ef327ae121e27a0a6d4d921
2020-09-11Merge "Add libgoogle-benchmark-main module." am: fedc32dd69 am: 33355bcdca ↵Krzysztof Kosiński
am: 9222acf163 am: 3f199de82c Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423810 Change-Id: I8626677109fb86b4c40f3dea79e996ef13748d4d
2020-09-11Merge "Add libgoogle-benchmark-main module." am: fedc32dd69 am: 33355bcdca ↵Krzysztof Kosiński
am: 9222acf163 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423810 Change-Id: I00d19e0f33317ad3e59f9182d6c202330d06efd8
2020-09-11Merge "Add libgoogle-benchmark-main module." am: fedc32dd69 am: 33355bcdcaKrzysztof Kosiński
Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423810 Change-Id: I20394927dcefe68fe5919f6c25744df8b861ff19
2020-09-11Merge "Add libgoogle-benchmark-main module." am: fedc32dd69Krzysztof Kosiński
Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423810 Change-Id: Ia9abc1b77f15276ba56e3f5efdcd8d893f7e6868
2020-09-11Bind benchmark builder to Python (#1040)Antoine Prouvost
* 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>
2020-09-11Merge "Add libgoogle-benchmark-main module."Krzysztof Kosiński
2020-09-10Upgrade google-benchmark to beb360d03e2a1a2673d9c2cf408c13b69fdb5627 am: ↵Haibo Huang
daca24e319 am: c4f8afab29 am: d737881367 am: b4855e3648 am: 6ee8394bc0 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423976 Change-Id: If50b82f822eab0fff589de9780e77a1647b7a707
2020-09-10Upgrade google-benchmark to beb360d03e2a1a2673d9c2cf408c13b69fdb5627 am: ↵Haibo Huang
daca24e319 am: c4f8afab29 am: d737881367 am: b4855e3648 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423976 Change-Id: Ifff61fda3819d0799f9996803d3a5124281264b8
2020-09-10Upgrade google-benchmark to beb360d03e2a1a2673d9c2cf408c13b69fdb5627 am: ↵Haibo Huang
daca24e319 am: c4f8afab29 am: d737881367 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423976 Change-Id: Ia6b56379e278278c739ae1c9e012a106a9827238
2020-09-10Upgrade google-benchmark to beb360d03e2a1a2673d9c2cf408c13b69fdb5627 am: ↵Haibo Huang
daca24e319 am: c4f8afab29 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423976 Change-Id: I90193b00cdd964af18fabdc9933def10ad2fa681
2020-09-10Upgrade google-benchmark to beb360d03e2a1a2673d9c2cf408c13b69fdb5627 am: ↵Haibo Huang
daca24e319 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423976 Change-Id: I28c21942d1723f191149aca609d9bdf1a62490b8
2020-09-10Add workflow to exercise bindings (#1041)Dominic Hamon
* Initial version to try to run python bindings example * python indent issue in setup.py * better naming
2020-09-10Bind more State methods/attributes to Python (#1037)Antoine Prouvost
* 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>
2020-09-09Upgrade google-benchmark to beb360d03e2a1a2673d9c2cf408c13b69fdb5627Haibo Huang
Test: make Change-Id: I8c3bd1189a6c98b3a61cd8fb3c134c0b55879582
2020-09-09Add libgoogle-benchmark-main module.Krzysztof Kosiński
This is useful for benchmarks that don't need a custom main(). Test: mm in external/google-benchmark Change-Id: I5de2e60ac080a288f06ee561ad3104429d679fc1
2020-09-09Create pylint.yml (#1039)Dominic Hamon
* 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
2020-09-03Revert previous linker additions for FreeBSD as the problem is Bazel using ↵Yesudeep Mangalapilly
/usr/bin/clang instead of /usr/bin/clang++ to link C++ code. (#1035)
2020-08-28Adds -lm linker flag for FreeBSD/OpenBSD and uses github.com/bazelbuil… ↵Yesudeep Mangalapilly
(#1032) * 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.
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: f0d2e25a73 -s ours am: dcd41819a0 -s ours am: c6f6eed85b -s ours am: b1bb1b368c -s ours am skip reason: Change-Id I31ff045dafe2de51b6f492bf1df3b249f9e138d1 with SHA-1 f6d69ef8c8 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/google-benchmark/+/12469775 Change-Id: Ia039401907006fdd295af355d0ba7fa3300869bc
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: f0d2e25a73 -s ours am: dcd41819a0 -s ours am: c6f6eed85b -s ours am skip reason: Change-Id I31ff045dafe2de51b6f492bf1df3b249f9e138d1 with SHA-1 f6d69ef8c8 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/google-benchmark/+/12469775 Change-Id: I88a34e48516a254519a198f4ccc985794479a573
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: f0d2e25a73 -s ours am: dcd41819a0 -s ours am skip reason: Change-Id I31ff045dafe2de51b6f492bf1df3b249f9e138d1 with SHA-1 f6d69ef8c8 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/google-benchmark/+/12469775 Change-Id: Ia37e1a985bab16df08e51efcbc8064aa711a4085
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: f0d2e25a73 -s ours am skip reason: Change-Id I31ff045dafe2de51b6f492bf1df3b249f9e138d1 with SHA-1 f6d69ef8c8 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/google-benchmark/+/12469775 Change-Id: Ibe5f507b46b8502edaf200d109fa0e2e9c328771
2020-08-27Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as mergedXin Li
Bug: 166295507 Merged-In: I31ff045dafe2de51b6f492bf1df3b249f9e138d1 Change-Id: Ic2d8827c133cceb5497bcabed5d2defdffa116e6
2020-08-27Fix Clang builds on Windows (#1021)Jeremy Ong
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.
2020-08-25Add CartesianProduct with associated test (#1029)Christian Wassermann
* 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
2020-08-21Ctest support (#1025)Dominic Hamon
* 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
2020-08-19Update build instructions to better use CMake (#1017)Adam Badura
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.
2020-08-18Remove "BENCHMARK_" prefix from env var version of command line flags (#997)Dominic Hamon
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
2020-08-18Create build-and-test.yml (#1013)Dominic Hamon
First attempt at a non-travis/non appveyor CI solution
2020-08-11Upgrade google-benchmark to 1302d2ce094a9753b0f81a81ea74c0fa71fae582 am: ↵Haibo Huang
ee5323428d am: 4e25a86e8b am: 4240a052d0 am: 31cbeeb679 am: f61124a0b6 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1395728 Change-Id: Ie965604ad8982308f0f27e8d66f7b609b3b5bde5
2020-08-11Upgrade google-benchmark to 1302d2ce094a9753b0f81a81ea74c0fa71fae582 am: ↵Haibo Huang
ee5323428d am: 4e25a86e8b am: 4240a052d0 am: 31cbeeb679 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1395728 Change-Id: I367ffb8f5fbcd642833991249f420e17115aabae
2020-08-11Upgrade google-benchmark to 1302d2ce094a9753b0f81a81ea74c0fa71fae582 am: ↵Haibo Huang
ee5323428d am: 4e25a86e8b am: 4240a052d0 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1395728 Change-Id: I230d2593de71b7298ee881c39bf328e703e62f7c
2020-08-11Upgrade google-benchmark to 1302d2ce094a9753b0f81a81ea74c0fa71fae582 am: ↵Haibo Huang
ee5323428d am: 4e25a86e8b Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1395728 Change-Id: I9eabcbab20ddb4012cd48978f0fd3fcba568e85a
2020-08-11Upgrade google-benchmark to 1302d2ce094a9753b0f81a81ea74c0fa71fae582 am: ↵Haibo Huang
ee5323428d Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1395728 Change-Id: I9399414822bf26a253bf899f52904d2e1a5b1e22
2020-08-10Upgrade google-benchmark to 1302d2ce094a9753b0f81a81ea74c0fa71fae582Haibo Huang
Change-Id: Ifca49ed88d349adaa1acd9630645f4dd362e40d6
2020-07-30Add missing breaks for QNX cache counting (#1012)Dominic Hamon
2020-07-28JSONReporter: don't report on scaling if we didn't get it (#1005) (#1008)Alexander Enaldiev
* 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
2020-07-13Upgrade google-benchmark to 37177a84b7e8d33696ea1e1854513cb0de3b4dc3 am: ↵Haibo Huang
1c12faf75d am: cb290e283d am: f6d69ef8c8 am: b3a217d707 am: f473c44bc4 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1361218 Change-Id: I673b3bdf8006f1f187bbce03d0d3735b5dbc60ec
2020-07-13Upgrade google-benchmark to 37177a84b7e8d33696ea1e1854513cb0de3b4dc3 am: ↵Haibo Huang
1c12faf75d am: cb290e283d am: f6d69ef8c8 am: b3a217d707 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1361218 Change-Id: I4a0f84b5d55fc8747649870bf0ea266bd6f8f48e
2020-07-13Upgrade google-benchmark to 37177a84b7e8d33696ea1e1854513cb0de3b4dc3 am: ↵Haibo Huang
1c12faf75d am: cb290e283d am: f6d69ef8c8 Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1361218 Change-Id: If2054a6ce2b12935109bfbc119161225b31b8897
2020-07-13Upgrade google-benchmark to 37177a84b7e8d33696ea1e1854513cb0de3b4dc3 am: ↵Haibo Huang
1c12faf75d am: cb290e283d Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1361218 Change-Id: I31ff045dafe2de51b6f492bf1df3b249f9e138d1
2020-07-13Upgrade google-benchmark to 37177a84b7e8d33696ea1e1854513cb0de3b4dc3 am: ↵Haibo Huang
1c12faf75d Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1361218 Change-Id: I93b588e5cb8f35b4a64e9083557b47c4c6b1a9f9
2020-07-10Upgrade google-benchmark to 37177a84b7e8d33696ea1e1854513cb0de3b4dc3android-r-beta-3android-r-beta-2Haibo Huang
Change-Id: I040316a5cee481697f83454677324f49dd7bd6ba
2020-07-09Fix python extension import (#1000)Chris Jones
2020-07-09Rename python bindings package to `google_benchmark`. (#999)Chris Jones
A few people have complained that `benchmark` is too generic. Also, add Python 3.8.
2020-06-30Expose methods for custom main functions in Python. (#993)Skye Wanderman-Milne
2020-06-29Add requirements.txt for python dependencies (#994)Jonas Otto
* add requirements.txt for python tools * adds documentation for requirements.txt Adds installation instructions for python dependencies using pip and requirements.txt
2020-06-25adds a "--no-color" flag to the compare.py script (#990)Jonas Otto
2020-06-17timers: silence strncat truncation warning (#984)Reid Paape