Avatar for the jquast user
jquast
wcwidth
BlogDocsChangelog

Terminal software identity-assisted wcswidth()

#220
Comparing
jq/dynawidth
(
bf99f90
) with
master
(
6ddc5ea
)
CodSpeed Performance Gauge
-11%
Regression
1
Untouched
87
New
20

Benchmarks

108 total
test_wcswidth_short_mixed
tests/test_benchmarks.py
CodSpeed Performance Gauge
-11%
32.5 µs36.4 µs
test_wcswidth_emoji_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A607.3 µs
test_wcswidth_ri_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A374.3 ms
test_wcswidth_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A523.4 µs
test_wcswidth_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A382.2 µs
test_wcswidth_vs15_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A590.6 µs
test_wcswidth_wide_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A309.5 µs
test_wcswidth_wide_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A779.1 µs
test_wcswidth_emoji_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A109.1 µs
test_wcswidth_ri_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A375.4 ms
test_wcswidth_vs15_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A919.4 µs
test_wcswidth_vs16_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A585.5 µs
test_wcswidth_vs16_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A888 µs
test_width_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A438.5 µs
test_width_vs16_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A636.6 µs
test_width_vs16_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A939.3 µs
test_width_ri_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A375.7 ms
test_width_ri_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A374.5 ms
test_width_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A579.1 µs
test_width_vs15_term_program[ghostty]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A642.2 µs
test_width_vs15_term_program[xterm.js]
tests/test_benchmarks.py
CodSpeed Performance Gauge
N/A
N/A973.2 µs
test_strip_sequences_simple
tests/test_benchmarks.py
CodSpeed Performance Gauge
+3%
26.2 µs25.3 µs
test_width_dense_ansi_control_codes_ignore
tests/test_benchmarks.py
CodSpeed Performance Gauge
+3%
316.1 µs307.1 µs
test_strip_sequences_complex
tests/test_benchmarks.py
CodSpeed Performance Gauge
+2%
31.4 µs30.8 µs
test_iter_sequences_mixed
tests/test_benchmarks.py
CodSpeed Performance Gauge
+1%
51.5 µs50.8 µs

Commits

Click on a commit to change the comparison range
Base
master
6ddc5ea
-24.03%
welcome back, table_vs15.py
1b425df
8 days ago
by jquast
+0.03%
lint, small coverage, deadbeef stuff
ee9c5c3
8 days ago
by jquast
+13.42%
maxsize=1 is sufficient
068a1d5
8 days ago
by jquast
+0.3%
ugh
2291226
8 days ago
by jquast
-0.1%
nits
3067788
8 days ago
by jquast
-0.27%
organize on namedtuple
46b9040
8 days ago
by jquast
-0.07%
some coverage fixes
60fa749
8 days ago
by jquast
-0.18%
very nice rewrite of hashing template and culling
94139c4
7 days ago
by jquast
+0.17%
better non-detectables support, some polish
bf99f90
6 hours ago
by jquast
© 2026 CodSpeed Technology
Home Terms Privacy Docs