Avatar for the jquast user
jquast
wcwidth
BlogDocsChangelog

Python 3.15 unicodedata.iter_graphemes() integration

#206
Comparing
jq/python-315-iter-graphemes
(
a673460
) with
master
(
6ddc5ea
)
CodSpeed Performance Gauge
+41%
Improvement
33
Untouched
55

Benchmarks

88 total
test_iter_graphemes_combining
tests/test_benchmarks.py
CodSpeed Performance Gauge
×4
306.2 µs76.5 µs
test_iter_graphemes_emoji
tests/test_benchmarks.py
CodSpeed Performance Gauge
×2.7
114.4 µs42.3 µs
test_iter_graphemes_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
×2.5
115 µs46.1 µs
test_clip_cursor_cr_control_codes_ignore
tests/test_benchmarks.py
CodSpeed Performance Gauge
+89%
605.6 µs320.6 µs
test_clip_long_cjk_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+78%
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
+60%
432.2 µs270.9 µs
test_clip_long_cjk_control_codes_ignore
tests/test_benchmarks.py
CodSpeed Performance Gauge
+59%
432.1 µs271.9 µs
test_wcwidth_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+57%
21.5 µs13.7 µs
test_clip_cursor_csi_backward
tests/test_benchmarks.py
CodSpeed Performance Gauge
+49%
829.9 µs556.5 µ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 µs183.1 µs
test_clip_japanese
tests/test_benchmarks.py
CodSpeed Performance Gauge
+37%
112.5 µs81.9 µs
test_clip_dense_ansi_control_codes_ignore
tests/test_benchmarks.py
CodSpeed Performance Gauge
+34%
545.8 µs406.3 µs
test_clip_dense_ansi_no_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+33%
543 µs406.9 µs
test_wcwidth_emoji
tests/test_benchmarks.py
CodSpeed Performance Gauge
+31%
13.9 µs10.6 µ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
+26%
119.3 µs94.5 µs
test_clip_dense_ansi_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+26%
642.5 µs511.1 µs
test_clip_dense_ansi_past_window
tests/test_benchmarks.py
CodSpeed Performance Gauge
+20%
774.6 µs644.3 µs
test_width_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+18%
19 µs16.1 µs
test_clip_with_ansi_no_overtype
tests/test_benchmarks.py
CodSpeed Performance Gauge
+17%
160.1 µs137 µs
test_wcswidth_long_ascii
tests/test_benchmarks.py
CodSpeed Performance Gauge
+16%
23.4 µs20.3 µs
test_clip_with_ansi
tests/test_benchmarks.py
CodSpeed Performance Gauge
+15%
167.8 µs145.8 µs
test_ljust_ascii_control_codes_ignore
tests/test_benchmarks.py
CodSpeed Performance Gauge
+14%
25.2 µs22 µs

Commits

Click on a commit to change the comparison range
Base
master
6ddc5ea
+39.66%
upgrade cospeed for python3.15 support
4fbeb08
6 hours ago
by jquast
+0.93%
matching docstrings for 3.15 or 3.14
a673460
6 hours ago
by jquast
© 2026 CodSpeed Technology
Home Terms Privacy Docs