Skip to content

Commit 0ea536d

Browse files
committed
Merge branch 'main' into fix/compile-perf-profiling-macos
2 parents 1217207 + f158332 commit 0ea536d

2 files changed

Lines changed: 12 additions & 31 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,7 @@ jobs:
4343
sudo sysctl kernel.perf_event_paranoid=1
4444
sudo sysctl kernel.kptr_restrict=0
4545
46-
- uses: bencherdev/bencher@main
47-
48-
- name: Benchmark — poll_overhead
49-
run: |
50-
bencher run \
51-
--token '${{ secrets.BENCHER_API_TOKEN }}' \
52-
--branch '${{ github.ref_name }}' \
53-
--testbed ubuntu-latest \
54-
--adapter rust_criterion \
55-
"cargo bench --package dial9-tokio-telemetry --bench poll_overhead --features task-dump"
46+
- uses: bencherdev/bencher@0f8f620172ccd6225d40a7590598eb7b41718af8 # v0.6.2
5647

5748
- name: Benchmark — writer_encode
5849
run: |
@@ -110,26 +101,7 @@ jobs:
110101
sudo sysctl kernel.perf_event_paranoid=1
111102
sudo sysctl kernel.kptr_restrict=0
112103
113-
- uses: bencherdev/bencher@main
114-
115-
- name: Benchmark — poll_overhead
116-
run: |
117-
bencher run \
118-
--token '${{ secrets.BENCHER_API_TOKEN }}' \
119-
--branch '${{ github.head_ref }}' \
120-
--start-point main \
121-
--start-point-reset \
122-
--testbed ubuntu-latest \
123-
--adapter rust_criterion \
124-
--threshold-measure latency \
125-
--threshold-test percentage \
126-
--threshold-upper-boundary 0.25 \
127-
--threshold-measure throughput \
128-
--threshold-test percentage \
129-
--threshold-lower-boundary 0.25 \
130-
--error-on-alert \
131-
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
132-
"cargo bench --package dial9-tokio-telemetry --bench poll_overhead --features task-dump"
104+
- uses: bencherdev/bencher@0f8f620172ccd6225d40a7590598eb7b41718af8 # v0.6.2
133105

134106
- name: Benchmark — writer_encode
135107
run: |
@@ -142,10 +114,12 @@ jobs:
142114
--adapter rust_criterion \
143115
--threshold-measure latency \
144116
--threshold-test percentage \
117+
--threshold-lower-boundary _ \
145118
--threshold-upper-boundary 0.25 \
146119
--threshold-measure throughput \
147120
--threshold-test percentage \
148121
--threshold-lower-boundary 0.25 \
122+
--threshold-upper-boundary _ \
149123
--error-on-alert \
150124
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
151125
"cargo bench --package dial9-tokio-telemetry --bench writer_encode"
@@ -161,10 +135,12 @@ jobs:
161135
--adapter rust_criterion \
162136
--threshold-measure latency \
163137
--threshold-test percentage \
138+
--threshold-lower-boundary _ \
164139
--threshold-upper-boundary 0.25 \
165140
--threshold-measure throughput \
166141
--threshold-test percentage \
167142
--threshold-lower-boundary 0.25 \
143+
--threshold-upper-boundary _ \
168144
--error-on-alert \
169145
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
170146
"cargo bench --package dial9-trace-format --bench codec"
@@ -180,10 +156,12 @@ jobs:
180156
--adapter json \
181157
--threshold-measure latency \
182158
--threshold-test percentage \
159+
--threshold-lower-boundary _ \
183160
--threshold-upper-boundary 0.25 \
184161
--threshold-measure throughput \
185162
--threshold-test percentage \
186163
--threshold-lower-boundary 0.25 \
164+
--threshold-upper-boundary _ \
187165
--error-on-alert \
188166
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
189167
"cargo bench --bench overhead_bench -- --bmf 10"
@@ -199,10 +177,12 @@ jobs:
199177
--adapter json \
200178
--threshold-measure latency \
201179
--threshold-test percentage \
180+
--threshold-lower-boundary _ \
202181
--threshold-upper-boundary 0.25 \
203182
--threshold-measure throughput \
204183
--threshold-test percentage \
205184
--threshold-lower-boundary 0.25 \
185+
--threshold-upper-boundary _ \
206186
--error-on-alert \
207187
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
208188
"cargo bench --bench e2e_workload -- --bmf 10"

.github/workflows/e2e-trace-integrity-and-analysis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- uses: actions/setup-node@v4
2222
with:
2323
node-version: 24
24-
- name: Enable perf_event_open and kallsyms
24+
- name: Enable perf_event_open and kallsyms for tests
25+
shell: bash
2526
run: |
2627
sudo sysctl kernel.perf_event_paranoid=1
2728
sudo sysctl kernel.kptr_restrict=0

0 commit comments

Comments
 (0)