Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FStringPart for f-string formatting #6365

Closed
wants to merge 17 commits into from

rename helper to clarify its use

1c35588
Select commit
Loading
Failed to load commit list.
Closed

FStringPart for f-string formatting #6365

rename helper to clarify its use
1c35588
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Sep 27, 2023

Performance Gate Passed

Summary

⚡ 8 improvements
✅ 17 untouched benchmarks

Benchmarks breakdown

Benchmark main davidszotten:joined-string-part Change
linter/default-rules[large/dataset.py] 94.1 ms 89.8 ms +4.79%
linter/default-rules[pydantic/types.py] 38 ms 36.9 ms +2.91%
lexer[large/dataset.py] 9.8 ms 9 ms +8.46%
lexer[unicode/pypinyin.py] 620.1 µs 591.9 µs +4.75%
parser[large/dataset.py] 68.4 ms 66.7 ms +2.54%
parser[unicode/pypinyin.py] 4.3 ms 4.2 ms +2.53%
lexer[numpy/ctypeslib.py] 2 ms 1.9 ms +2.55%
lexer[pydantic/types.py] 4.1 ms 4 ms +3.69%