Commit Graph

1101 Commits

Author SHA1 Message Date
openharmony_ci
a8c51b3f98
!27 开源三方库benchmark版本升级至1.8.3
Merge pull request !27 from CrazyRong/master
2024-04-22 07:24:39 +00:00
CrazyRong
94c9a67cd9 升级benchmark版本到版本火车要求的1.8.3版本
Signed-off-by: CrazyRong <zzr189911@163.com>
2024-04-20 18:07:52 +08:00
CrazyRong
16ef5830ae 升级benchmark版本到版本火车要求的1.8.3版本
Signed-off-by: CrazyRong <zzr189911@163.com>
2024-04-20 18:07:14 +08:00
CrazyRong
0359b467ad 升级benchmark版本到版本火车要求的1.8.3版本
Signed-off-by: CrazyRong <zzr189911@163.com>
2024-04-20 17:01:00 +08:00
CrazyRong
f9e826db52 升级benchmark版本到版本火车要求的1.8.3版本
Signed-off-by: CrazyRong <zzr189911@163.com>
2024-04-20 16:24:00 +08:00
openharmony_ci
863be78498
!21 部件名整改
Merge pull request !21 from caojiale1/master
2023-07-18 06:19:35 +00:00
caojiale1
a9a901f631
Signed-off-by: caojiale1 <caojiale1@huawei.com>
Signed-off-by: caojiale1 <caojiale1@huawei.com>
2023-07-18 03:27:25 +00:00
caojiale1
803a8f42ee
Signed-off-by: caojiale1 <caojiale1@huawei.com>
Signed-off-by: caojiale1 <caojiale1@huawei.com>
2023-07-17 07:24:09 +00:00
caojiale1
0a7632ae3b
Signed-off-by: caojiale1 <caojiale1@huawei.com>
Signed-off-by: caojiale1 <caojiale1@huawei.com>
2023-07-14 02:00:53 +00:00
openharmony_ci
775c069b48
!19 修改bundle.json中部件名并添加子系统名
Merge pull request !19 from ry/master
2023-05-26 06:27:41 +00:00
ry
6720909224 modity part name and add subsystem name
Signed-off-by: ry <ry.renyi@huawei.com>
2023-05-26 11:19:15 +08:00
ry
b0475508fd modity part name and add subsystem name
Signed-off-by: ry <ry.renyi@huawei.com>
2023-05-26 11:17:14 +08:00
ry
06386c2571 modity part name and add subsystem name
Signed-off-by: ry <ry.renyi@huawei.com>
2023-05-26 10:45:46 +08:00
ry
447141bb0e modity part name and add subsystem name
Signed-off-by: ry <ry.renyi@huawei.com>
2023-05-25 21:03:34 +08:00
openharmony_ci
b36466fb47
!18 修改外部依赖文件bundle.json
Merge pull request !18 from caojiale1/master
2023-04-17 08:44:01 +00:00
caojiale1
b7855bc843
Signed-off-by: caojiale1 <caojiale1@huawei.com>
Signed-off-by: caojiale1 <caojiale1@huawei.com>
2023-04-17 06:30:02 +00:00
openharmony_ci
39a7777fad
!17 benchmark 从1.5.2升级到1.6.1
Merge pull request !17 from mipengwei/master
2022-07-21 02:07:50 +00:00
mipengwei
7667342230 Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-21 09:29:34 +08:00
mipengwei
72bfbaf914
Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-20 08:20:47 +00:00
mipengwei
3c92e8a7d8
Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-20 07:55:40 +00:00
mipengwei
8a0b36d7b5
Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-20 07:46:41 +00:00
mipengwei
dc2f792fed
Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-20 07:37:17 +00:00
mipengwei
4de4fb08d7
Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-20 07:22:41 +00:00
mipengwei
a85da27a02
Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-20 03:47:59 +00:00
mipengwei
f01f57451a
Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-20 02:30:46 +00:00
mipengwei
a0da9a7685 Signed-off-by:mipengwei <mipengwei@huawei.com> 2022-07-20 09:51:00 +08:00
openharmony_ci
babc73c00a
!12 Modified the OAT.xml
Merge pull request !12 from stivn/master
2022-02-10 06:09:06 +00:00
stivn
e0cab12ebc Modified the OAT.xml
Signed-off-by: stivn <sunteng10@huawei.com>
2022-02-10 11:12:58 +08:00
openharmony_ci
b021ba3c9a
!11 Modified the OAT.xml
Merge pull request !11 from stivn/master
2022-02-09 08:17:24 +00:00
stivn
5eabf8c66c Modified the OTA.xml
Signed-off-by: stivn <sunteng10@huawei.com>
2022-02-08 17:52:35 +08:00
openharmony_ci
c7268d4857
!8 feat: add bundle.json
Merge pull request !8 from pjscc/master
2022-01-21 07:22:31 +00:00
pjscc
6fe58e836d add bundle.json
Signed-off-by: pjscc <pangjiashuai@huawei.com>
2022-01-21 11:27:47 +08:00
openharmony_sig_ci
7a92d42c09
!7 add self-developed modify on third party source
Merge pull request !7 from NicoYam/master
2022-01-11 06:50:14 +00:00
NicoYam
3c0ae2ef78 add self-developed modify on third party source
Signed-off-by: NicoYam <renxiang11@huawei.com>
2022-01-11 14:24:36 +08:00
Antoine Prouvost
73d4d5e8d6
Bind benchmark builder to Python (#1040)
* 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-11 10:55:18 +01:00
Dominic Hamon
df9e2948fa
Add workflow to exercise bindings (#1041)
* Initial version to try to run python bindings example

* python indent issue in setup.py

* better naming
2020-09-10 16:32:25 +01:00
Antoine Prouvost
12e85b2eeb
Bind more State methods/attributes to Python (#1037)
* 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-10 09:57:30 +01:00
Dominic Hamon
beb360d03e
Create pylint.yml (#1039)
* 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-09 09:43:26 +01:00
Yesudeep Mangalapilly
4751550871
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) 2020-09-03 10:59:15 +01:00
Yesudeep Mangalapilly
4475ff6b8a
Adds -lm linker flag for FreeBSD/OpenBSD and uses github.com/bazelbuil… (#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-28 08:46:12 +01:00
Jeremy Ong
01c0ab7cbb
Fix Clang builds on Windows (#1021)
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-27 11:17:19 +01:00
Christian Wassermann
4857962394
Add CartesianProduct with associated test (#1029)
* 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-25 13:47:44 +01:00
Dominic Hamon
5c25ad3acb
Ctest support (#1025)
* 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-21 16:25:56 +01:00
Adam Badura
bb978c06d0
Update build instructions to better use CMake (#1017)
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-19 11:57:19 +01:00
Dominic Hamon
5b72b6c2da
Remove "BENCHMARK_" prefix from env var version of command line flags (#997)
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-18 10:02:20 +01:00
Dominic Hamon
4986d0b2ea
Create build-and-test.yml (#1013)
First attempt at a non-travis/non appveyor CI solution
2020-08-18 08:53:21 +01:00
Dominic Hamon
1302d2ce09
Add missing breaks for QNX cache counting (#1012) 2020-07-30 09:51:48 +01:00
Alexander Enaldiev
9901011880
JSONReporter: don't report on scaling if we didn't get it (#1005) (#1008)
* 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-28 12:46:07 +01:00
Chris Jones
37177a84b7
Fix python extension import (#1000) 2020-07-09 12:54:41 +01:00
Chris Jones
39c8d58a76
Rename python bindings package to google_benchmark. (#999)
A few people have complained that `benchmark` is too generic. Also, add
Python 3.8.
2020-07-09 09:23:06 +01:00