mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-28 15:55:14 +00:00
Benchmark comparison (-d:danger --mm:arc --debugger:native -d:useMalloc,
OpenAI file benchmark, 5 runs):
- Before: 0.196674934, 0.189423191, 0.198763300, 0.197125584,
0.205015032
- After: 0.182827130, 0.183330852, 0.174878542, 0.174360811, 0.181704921
- Median before: 0.197125584s
- Median after: 0.181704921s
- Improvement: 7.82% faster
Callgrind comparison (same build flags):
- Total Ir before: 3,219,477,120
- Total Ir after: 2,449,556,167
- Total Ir reduction: 23.91%
parseString hotspot:
- Before: 1,343,343,723 Ir
- After: 573,423,735 Ir
- Reduction: 57.31%
(cherry picked from commit f4dd00c4cc)