Writing.

Field notes on databases, type systems, and the occasional 3 a.m. pager incident.

01
Apr 3, 2026

Two perf bugs in Open Notion

Open Notion is a Notion-style editor I built on Tiptap. Stress-testing it, 1000 plain blocks typed fine but 300 custom NodeViews hit 500ms INP. The trail led to a class-field-initialization bug inside Tiptap and a Shiki tokenizer running on every keystroke — here's how I found both and fixed them.