perf(semantic): calculate number of nodes, scopes, symbols, references before visiting AST #4328
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Jul 19, 2024 in 0s
Performance Gate Passed
Summary
⚡ 12
improvements
✅ 20
untouched benchmarks
Benchmarks breakdown
Benchmark | main |
test-visit |
Change | |
---|---|---|---|---|
⚡ | minifier[antd.js] |
344.3 ms | 304.6 ms | +13.05% |
⚡ | minifier[react.development.js] |
3.9 ms | 3.5 ms | +10.46% |
⚡ | minifier[typescript.js] |
692 ms | 616.4 ms | +12.27% |
⚡ | semantic[RadixUIAdoptionSection.jsx] |
108.8 µs | 102 µs | +6.71% |
⚡ | semantic[antd.js] |
175.7 ms | 135 ms | +30.11% |
⚡ | semantic[cal.com.tsx] |
56.4 ms | 48.8 ms | +15.47% |
⚡ | semantic[checker.ts] |
104.9 ms | 83.5 ms | +25.56% |
⚡ | semantic[pdf.mjs] |
26.5 ms | 22.2 ms | +19.36% |
⚡ | transformer[antd.js] |
298.5 ms | 258 ms | +15.7% |
⚡ | transformer[cal.com.tsx] |
75.4 ms | 65.4 ms | +15.34% |
⚡ | transformer[checker.ts] |
170.2 ms | 152.1 ms | +11.91% |
⚡ | transformer[pdf.mjs] |
45.9 ms | 39.9 ms | +15.21% |
Loading