Skip to content

Commit 8e80a27

Browse files
committed
increase tracelog buffer sizes
Otherwise a lot of the benchmarks trigger errors and warnings about lost events, for example (pardon my french ...xperf): ``` xperf: error: rustc-perf-counters: Le nom d'instance passé n'a pas été reconnu valide par un fournisseur de données WMI. (0x1069). xperf: warning: Session "rustc-perf-counters" lost 5204 events. ```
1 parent 6a76b61 commit 8e80a27

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

collector/src/rustc-fake.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ fn main() {
150150
"CSWITCH+PROC_THREAD+LOADER",
151151
"-PMC",
152152
"InstructionRetired,TotalCycles:CSWITCH",
153+
"-b",
154+
"1024",
155+
"-min",
156+
"512",
157+
"-max",
158+
"2048",
153159
]);
154160
let status = cmd.status().expect("failed to spawn tracelog");
155161
assert!(status.success(), "tracelog did not complete successfully");

0 commit comments

Comments
 (0)