Commit 8b1b0b8
miranov25
fix(profiler): Save binary .prof files alongside .txt output
Technical fix to _run_with_profiling() to save both:
- .txt: Human-readable stats (existing)
- .prof: Binary profile for pstats/snakeviz analysis (was missing)
Enables deeper analysis with:
python -c "import pstats; pstats.Stats('file.prof').print_stats(30)"
snakeviz file.prof1 parent 643cc1f commit 8b1b0b8
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1725 | 1725 | | |
1726 | 1726 | | |
1727 | 1727 | | |
| 1728 | + | |
1728 | 1729 | | |
1729 | 1730 | | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
1730 | 1737 | | |
1731 | 1738 | | |
1732 | 1739 | | |
| |||
0 commit comments