Skip to content

Commit ba07e0e

Browse files
committed
Execute smaller subset for comparison benchmarks
1 parent 76097b4 commit ba07e0e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
matrix:
5252
include:
5353
- os: ubuntu-latest
54-
additional-task: ':benchmark:jvmComparisonBenchmark'
54+
additional-task: ":benchmark:${{ github.event.pull_request.number && 'jvmPrValidationComparisonBenchmark' || 'jvmComparisonBenchmark' }}"
5555
- os: macos-latest
5656
additional-task: '-x :benchmark:jvmBenchmark'
5757
- os: macos-13 # for macosX64

benchmark/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ benchmark {
6868
create("comparison") {
6969
include(".*Comparison.*Benchmark.*")
7070
}
71+
create("prValidationComparison") {
72+
include(".*ComparisonAvgTimeBenchmark.*")
73+
}
7174
}
7275
targets {
7376
register("jvm")

0 commit comments

Comments
 (0)