Commit 8655a1e
fix(ci): Enable CPU profiling and add dotnet tools to PATH
- Add dotnet tools directory to PATH for subsequent steps
- Switch from --providers to --profile cpu-sampling for actual CPU profiling
- This generates flamegraphs with real stack traces instead of empty traces
Previous approach only captured runtime events (GC, JIT) without CPU samples.
The cpu-sampling profile includes Microsoft-DotNETCore-SampleProfiler which
captures stack traces at 1ms intervals, enabling proper performance analysis.
Tested locally with act - generates 22KB trace with actual profiling data.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent e34e7da commit 8655a1e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
149 | | - | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
| |||
0 commit comments