Repository navigation
curses-free jinxed 2.0 integration - #374
Conversation
Merging this PR will improve performance by 27.19%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | test_length_ansi |
438.8 µs | 365.8 µs | +19.94% |
| ⚡ | test_strip_seqs_ansi |
662.7 µs | 384.6 µs | +72.3% |
| ⚡ | test_length_ascii |
45.3 µs | 35.8 µs | +26.53% |
| ⚡ | test_center_ansi |
469.1 µs | 368.7 µs | +27.25% |
| ⚡ | test_truncate_ansi |
24.3 ms | 22 ms | +10.41% |
| ⚡ | test_ljust_ansi |
458.5 µs | 363.6 µs | +26.11% |
| ⚡ | test_wrap_ansi |
11.2 ms | 9.7 ms | +15.92% |
| ⚡ | test_rjust_ansi |
466.4 µs | 365.8 µs | +27.5% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing jq/jinxed-2.0 (bda31c5) with master (5c80f35)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #374 +/- ##
==========================================
+ Coverage 97.48% 97.51% +0.03%
==========================================
Files 13 13
Lines 3691 3706 +15
Branches 647 646 -1
==========================================
+ Hits 3598 3614 +16
+ Misses 71 70 -1
Partials 22 22 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
035e6d6 to
c579009
Compare
|
@codspeedbot most improvements come from jinxed 2.0's removal of time delay codes, like |
9742d0e to
c1bebc3
Compare
Replace all curses imports with jinxed throughout blessed. Remove _CUR_TERM singleton, add kind_fallback='xterm-256color'. Remove many as_subprocess test guards. Refactor keyboard, formatters, and win_terminal modules for jinxed compatibility. Stub XTGETTCAP probe (completed in xtgettcap-improved branch). Fix susimpleript -> ssubm internal capability typo. Emit UserWarning for unknown terminal capability name lookups.
Replace all 'curses' imports with jinxed throughout blessed.