Avatar for the Kludex user
Kludex
python-multipart
BlogDocsChangelog

Replace per-byte partial-boundary scan with rfind lookbehind

#300Merged
Comparing
speed-up-crlf-dense-part-data
(
12cbd2b
) with
main
(
4cffc68
)
CodSpeed Performance Gauge
0%
Untouched
5

Benchmarks

5 total
test_multipart_simple_form
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
107.9 µs106.4 µs
test_multipart_large_form
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
93.2 µs92.6 µs
test_multipart_file_upload
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
1 ms1.1 ms
test_multipart_worstcase_boundary_chars
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
209.6 µs210.1 µs
test_querystring_large_form
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
917.5 µs917.8 µs

Commits

Click on a commit to change the comparison range
Base
main
4cffc68
+0.33%
Replace per-byte partial-boundary scan with rfind lookbehind
12cbd2b
1 month ago
by Kludex
© 2026 CodSpeed Technology
Home Terms Privacy Docs