Use CompactString
for Identifier
#12101
Merged
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Jul 1, 2024 in 0s
Performance Gate Passed
Summary
⚡ 6
improvements
✅ 24
untouched benchmarks
Benchmarks breakdown
Benchmark | main |
identifier-compact_str |
Change | |
---|---|---|---|---|
⚡ | lexer[large/dataset.py] |
1.1 ms | 1.1 ms | +6.06% |
⚡ | lexer[numpy/ctypeslib.py] |
227.2 µs | 216.3 µs | +5.06% |
⚡ | lexer[pydantic/types.py] |
506.2 µs | 481.6 µs | +5.11% |
⚡ | lexer[unicode/pypinyin.py] |
77.4 µs | 74.2 µs | +4.3% |
⚡ | linter/default-rules[pydantic/types.py] |
1.9 ms | 1.8 ms | +7.54% |
⚡ | parser[numpy/ctypeslib.py] |
953.7 µs | 915 µs | +4.23% |
Loading