diff --git a/src/run/runner/wall_time/perf/mod.rs b/src/run/runner/wall_time/perf/mod.rs index 7cefc097..c9386bc7 100644 --- a/src/run/runner/wall_time/perf/mod.rs +++ b/src/run/runner/wall_time/perf/mod.rs @@ -94,7 +94,9 @@ impl PerfRunner { || config.command.contains("uv") || config.command.contains("python") { - (UnwindingMode::Dwarf, Some(65528)) + // Max supported stack size is 64KiB, but this will increase the file size by a lot. In + // order to allow uploads and maintain accuracy, we limit this to 8KiB. + (UnwindingMode::Dwarf, Some(8 * 1024)) } else { // Default to dwarf unwinding since it works well with most binaries. debug!("No call graph mode detected, defaulting to dwarf");