Skip to main content

Module bench

Module bench 

Source
Expand description

In-editor self-benchmark (:bench).

Times the hot paths that dominate large-file feel — syntax parsing, fold rebuild/lookup, the per-row token slice the renderer uses, bulk paste, and the whole-buffer text join — against a synthetic large source plus the file you actually have open. Everything runs on throwaway local engine instances so it never disturbs editor state.

Structs§

BenchReport
BenchResult

Functions§

run