Skip to content

Commit

Permalink
Separated the benchmarks in the Github Action pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Jun 2, 2024
1 parent aac9ffc commit a0b59bd
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/linux-clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ jobs:
./build/tests/yaml/reflect-cpp-yaml-tests
- name: Run benchmarks
run: |
./build/benchmarks/json/reflect-cpp-json-benchmarks
./build/benchmarks/json/reflect-cpp-json-benchmarks --benchmark_filter=canada
./build/benchmarks/json/reflect-cpp-json-benchmarks --benchmark_filter=simple_read
./build/benchmarks/all/reflect-cpp-all-format-benchmarks --benchmark_filter=canada_read
4 changes: 3 additions & 1 deletion .github/workflows/linux-gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ jobs:
./build/tests/yaml/reflect-cpp-yaml-tests
- name: Run benchmarks
run: |
./build/benchmarks/json/reflect-cpp-json-benchmarks
./build/benchmarks/json/reflect-cpp-json-benchmarks --benchmark_filter=canada
./build/benchmarks/json/reflect-cpp-json-benchmarks --benchmark_filter=simple_read
./build/benchmarks/all/reflect-cpp-all-format-benchmarks --benchmark_filter=canada_read
4 changes: 3 additions & 1 deletion .github/workflows/macos-clang-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ jobs:
./build/tests/yaml/reflect-cpp-yaml-tests
- name: Run benchmarks
run: |
./build/benchmarks/json/reflect-cpp-json-benchmarks
./build/benchmarks/json/reflect-cpp-json-benchmarks --benchmark_filter=canada
./build/benchmarks/json/reflect-cpp-json-benchmarks --benchmark_filter=simple_read
./build/benchmarks/all/reflect-cpp-all-format-benchmarks --benchmark_filter=canada_read
4 changes: 3 additions & 1 deletion .github/workflows/macos-clang-x64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ jobs:
./build/tests/yaml/reflect-cpp-yaml-tests
- name: Run benchmarks
run: |
./build/benchmarks/json/reflect-cpp-json-benchmarks
./build/benchmarks/json/reflect-cpp-json-benchmarks --benchmark_filter=canada
./build/benchmarks/json/reflect-cpp-json-benchmarks --benchmark_filter=simple_read
./build/benchmarks/all/reflect-cpp-all-format-benchmarks --benchmark_filter=canada_read
4 changes: 3 additions & 1 deletion .github/workflows/windows-msvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ jobs:
.\build\tests\yaml\Release\reflect-cpp-yaml-tests.exe
- name: Run benchmarks
run: |
.\build\benchmarks\json\Release\reflect-cpp-json-benchmarks.exe
.\build\benchmarks\json\Release\reflect-cpp-json-benchmarks.exe --benchmark_filter=canada
.\build\benchmarks\json\Release\reflect-cpp-json-benchmarks.exe --benchmark_filter=simple_read
.\build\benchmarks\all\Release\reflect-cpp-all-formats-benchmarks.exe --benchmark_filter=canada_read

0 comments on commit a0b59bd

Please sign in to comment.