Avatar for the Kludex user
Kludex
python-multipart
BlogDocsChangelog

Speed up multipart header parsing and callback dispatch

#295Merged
Comparing
perf/hot-path-optimizations
(
0a64a18
) with
main
(
9d3ead5
)
CodSpeed Performance Gauge
+34%
Improvement
1
Untouched
4

Benchmarks

5 total
test_querystring_large_form
tests/test_benchmarks.py
CodSpeed Performance Gauge
+34%
1,229.4 µs916.8 µs
test_multipart_simple_form
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
108.2 µs106.7 µs
test_multipart_large_form
tests/test_benchmarks.py
CodSpeed Performance Gauge
0%
92 µs92.2 µs
test_multipart_worstcase_boundary_chars
tests/test_benchmarks.py
CodSpeed Performance Gauge
-2%
205.8 µs210.3 µs
test_multipart_file_upload
tests/test_benchmarks.py
CodSpeed Performance Gauge
-3%
1 ms1.1 ms

Commits

Click on a commit to change the comparison range
Base
main
9d3ead5
+34.1%
Speed up multipart header parsing and callback dispatch
0a64a18
9 hours ago
by Kludex
© 2026 CodSpeed Technology
Home Terms Privacy Docs