File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,17 @@ bash -c "while true; do sleep 30; echo \$(date) - running ...; done" &
6
6
PING_LOOP_PID=$!
7
7
trap ' kill $PING_LOOP_PID' ERR 1 2 3 6
8
8
9
- # Check if the runtime benchmarks can be compiled.
10
- # Once we can actually run the benchmarks on CI, we will also execute them here.
11
- # Currently it is not possible because of `perf` permission issues when gathering perf. counters.
12
- cd collector/runtime-benchmarks
13
- cargo check
9
+ # Install a toolchain.
10
+ RUST_BACKTRACE=1 RUST_LOG=raw_cargo_messages=trace,collector=debug,rust_sysroot=debug \
11
+ bindir=` cargo run -p collector --bin collector install_next`
12
+
13
+ # Do some benchmarking.
14
+ RUST_LOG=raw_cargo_messages=trace,collector=debug,rust_sysroot=debug \
15
+ cargo run -p collector --bin collector -- \
16
+ bench_runtime_local $bindir /rustc \
17
+ --cargo $bindir /cargo \
18
+ --iterations 1 \
19
+ --id Test
14
20
15
21
kill $PING_LOOP_PID
16
22
exit 0
You can’t perform that action at this time.
0 commit comments