Skip to content

Commit 4f7d78d

Browse files
committed
Update BENCH_INCLUDE_EXCLUDE_OPTS.
Also describe what it does, which is non-obvious.
1 parent 969aa0a commit 4f7d78d

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,23 @@ jobs:
6363
test_benchmarks:
6464
strategy:
6565
matrix:
66+
# We split `bench_local` testing into four jobs that run in parallel,
67+
# by splitting the inputs into halves along two dimensions.
68+
#
69+
# - Dimension 1: In one half we run just the benchmarks listed here (a
70+
# few of the most expensive ones). In the other half we run
71+
# everything but the benchmarks listed here.
72+
#
73+
# - Dimension 2: In one half we run the Check, Debug, and Doc profiles.
74+
# In the other half we run the Opt profiles.
75+
#
76+
# We want the four parts to have similar runtimes.
6677
BENCH_INCLUDE_EXCLUDE_OPTS: [
67-
"--exclude cargo-0.60.0",
68-
"--include cargo-0.60.0",
78+
"--include cargo-0.60.0,stm32f4-0.14.0,webrender-2022",
79+
"--exclude cargo-0.60.0,stm32f4-0.14.0,webrender-2022",
6980
]
7081
PROFILES: [
71-
"Check,Doc,Debug",
82+
"Check,Debug,Doc",
7283
"Opt",
7384
]
7485
name: Test benchmarks

0 commit comments

Comments
 (0)