3 ms·
I have never noticed any lag from Prettier running on single files. The perf starts to matter with whole-repo format passes. For interactive use we really shou
by spankalee 3y ago
I have never noticed any lag from Prettier running on single files. The perf starts to matter with whole-repo format passes.
For interactive use we really should be using long-running, warmed up, processes too, where the start time of Node is irrelevant. Ideally type-checking, linting, highlighting and formatting would run in one language service doing incremental parsing and updates to a shared AST on every keystroke.
- strager 3y ago> Ideally type-checking, linting, highlighting and formatting would run in one language service doing incremental parsing and updates to a shared AST on every keystroke. I think this is the reason Biome (originally called Rome) started. Rome's vision was a shared toolchain to yield better performance and to fix config hell.