zed/crates/benchmarks
Kirill Bulatov e0931d5a9d
Reuse char-scan invisibles detection in highlight_invisibles (#62715)
Follow-up to
https://github.com/zed-industries/zed/pull/62478#discussion_r3769810809

New bench results:

| corpus | old | new | speedup |
|---|---|---|---|
| ascii, no invisibles | 83 MB/s | 580 MB/s | **7.0x** |
| unicode, no invisibles | 88 MB/s | 442 MB/s | **5.0x** |
| sparse invisibles | 63 MB/s | 431 MB/s | **6.9x** |
| dense invisibles | 82 MB/s | 109 MB/s | 1.3x |


Release Notes:

- N/A
2026-08-17 09:45:39 +00:00
..
benches Reuse char-scan invisibles detection in highlight_invisibles (#62715) 2026-08-17 09:45:39 +00:00
src perf: Add initial benchmark for markdown element (#59524) 2026-06-18 02:47:10 +00:00
Cargo.toml perf: Add initial benchmark for markdown element (#59524) 2026-06-18 02:47:10 +00:00
LICENSE-GPL