diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next-editor.md | 4 | ||||
| -rw-r--r-- | docs/typ/building.typ | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/next-editor.md b/docs/next-editor.md index e7168256..4b62f6b0 100644 --- a/docs/next-editor.md +++ b/docs/next-editor.md @@ -72,7 +72,7 @@ registers before it writes anything. A ring never refuses: it drops its oldest snapshots, never part of one (an undo ring holds at least one whole text, checked at compile time). -**Measured** (test/lib `zig build bench`, a text in C's shape, a key typed +**Measured** (test/consumer `zig build bench`, a text in C's shape, a key typed into its middle, 200 keys, this machine): a key at 1, 16, 64 KiB is 13, 173 and 692 µs in Debug (270k, 3.1M, 12.2M instructions) and 0.7, 7.7 and 30 µs in ReleaseFast: the 64 KiB key is 4% of a 16 ms frame in Debug. A @@ -82,7 +82,7 @@ text's and the cursor's); the first after a jump moves the gap, 3, 5 and optimised in every mode): once a changed key, not a frame, so no incremental re-parse. -A package taking the editor (test/lib) compiles cold in 6.4 s (126e9 +A package taking the editor (test/consumer) compiles cold in 6.4 s (126e9 instructions), an edit of its own file in 0.95 s plainly and 0.09-0.11 s under `--watch -fincremental`. pardes itself: core-test's full recompile 238.8e9 instructions before and after; the typing cells of `zig build diff --git a/docs/typ/building.typ b/docs/typ/building.typ index 8403df9a..8d14374d 100644 --- a/docs/typ/building.typ +++ b/docs/typ/building.typ @@ -130,7 +130,7 @@ what it is missing in one round. Zig still unpacks a lazy package whose archive its global cache already holds; `--pkg-dir` (or `ZIG_LOCAL_PKG_DIR`) at pardes's `zig-pkg` shares the one copy. What a pane measures stays out: a cell's width is vaxis's and uucode's, and a tab is -`config.tab_width` cells wherever it stands. `test/lib` is such a +`config.tab_width` cells wherever it stands. `test/consumer` is such a package, and `zig build lib-test` builds and runs it. === The editor @@ -186,7 +186,7 @@ zig build kitty-harness kitty graphics through a pane end to end (a fake kitt kitten icat and chafa too when installed) zig build syntax-test tree-sitter tests without building the editor zig build syntax deterministic per-byte highlighting snapshots -zig build lib-test the library, from a package that depends on pardes (test/lib); +zig build lib-test the library, from a package that depends on pardes (test/consumer); unit-test runs it too zig build hxlib helix's cases on the library's editor (-- --parity: against the file pane) zig build behaviour-test behaviour through the 9P tree, in process (test/behaviour/), |
