Why opening a big file took 28 seconds — and how we got it to 2
August 6, 2026 · performance · profiling · architecture
Opening a file in an editor breaks into three stages: split the bytes into lines, find what syntax highlighting needs, and lay the lines out for the screen. Here's the bottleneck each stage hides on a big file, and how we fixed it.