Avatar for the jquast user
jquast
wcwidth
BlogDocsChangelog

Enable lazy imports for Python 3.15

#221Merged
Comparing
jq/python-315-lazy-imports
(
3b6ffae
) with
master
(
6ddc5ea
)
CodSpeed Performance Gauge
+40%
Improvement
34
Untouched
54

Benchmarks

88 total
test_iter_graphemes_combining
tests/test_benchmarks.py
CodSpeed Performance Gauge
×4
306.2 µs76.3 µs
test_iter_graphemes_emoji
tests/test_benchmarks.py
CodSpeed Performance Gauge
×2.7
114.4 µs42.2 µs
test_iter_graphemes_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
×2.5
115 µs46.3 µs
test_clip_cursor_cr_control_codes_ignore
tests/test_benchmarks.py
CodSpeed Performance Gauge
+89%
605.6 µs320.7 µs
test_clip_long_cjk_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+79%
10.5 ms5.9 ms
test_clip_cursor_cr_overwrite
tests/test_benchmarks.py
CodSpeed Performance Gauge
+65%
2.8 ms1.7 ms
test_clip_long_cjk_past_window
tests/test_benchmarks.py
CodSpeed Performance Gauge
+63%
432.2 µs264.6 µs
test_clip_long_cjk_control_codes_ignore
tests/test_benchmarks.py
CodSpeed Performance Gauge
+62%
432.1 µs267.1 µs
test_wcwidth_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+58%
21.5 µs13.6 µs
test_clip_cursor_csi_backward
tests/test_benchmarks.py
CodSpeed Performance Gauge
+49%
829.9 µs557.8 µs
test_clip_complex_sgr_no_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+42%
251.7 µs177.2 µs
test_clip_complex_sgr
tests/test_benchmarks.py
CodSpeed Performance Gauge
+41%
258.8 µs182.9 µs
test_clip_japanese
tests/test_benchmarks.py
CodSpeed Performance Gauge
+38%
112.5 µs81.8 µs
test_clip_dense_ansi_control_codes_ignore
tests/test_benchmarks.py
CodSpeed Performance Gauge
+34%
545.8 µs407.1 µs
test_wcwidth_emoji
tests/test_benchmarks.py
CodSpeed Performance Gauge
+34%
13.9 µs10.4 µs
test_clip_dense_ansi_no_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+33%
543 µs407 µs
test_wcwidth_combining
tests/test_benchmarks.py
CodSpeed Performance Gauge
+31%
14.3 µs10.9 µs
test_clip_with_ansi_no_propagate
tests/test_benchmarks.py
CodSpeed Performance Gauge
+27%
119.3 µs94.3 µs
test_clip_dense_ansi_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+26%
642.5 µs510.9 µs
test_clip_dense_ansi_past_window
tests/test_benchmarks.py
CodSpeed Performance Gauge
+20%
774.6 µs644 µs
test_width_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+19%
19 µs16 µs
test_strip_sequences_simple
tests/test_benchmarks.py
CodSpeed Performance Gauge
+18%
26.2 µs22.2 µs
test_clip_with_ansi_no_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+17%
160.1 µs136.5 µs
test_wcswidth_long_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+16%
23.4 µs20.2 µs
test_clip_with_ansi
tests/test_benchmarks.py
CodSpeed Performance Gauge
+15%
167.8 µs145.7 µs

Commits

Click on a commit to change the comparison range
Base
master
6ddc5ea
+42.17%
Enable lazy imports
010d314
8 hours ago
by jquast
-2.07%
Merge branch 'master' into jq/python-315-lazy-imports
3b6ffae
8 hours ago
by jquast
© 2026 CodSpeed Technology
Home Terms Privacy Docs