Skip to content

perf(web): chat Markdown parses about twice as fast with the same output - #27685

Merged
juliusmarminge merged 1 commit into
t3/optimize-markdown-renderingfrom
t3/optimize-markdown-rendering-2
Oct 30, 2026
Merged

juliusmarminge merged 1 commit into
t3/optimize-markdown-renderingfrom
t3/optimize-markdown-rendering-2

perf(web): chat Markdown parses about twice as fast with the same output

b8638a5
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Correctness Check succeeded Oct 30, 2026 in 1m 17s

No issues identified (12 code objects reviewed).

• Merge Base: 9db5777
• Head: b8638a5

Details

✅ File Path U3 Bytes Comments Posted Reason
✅ patches/micromark@4.0.2.patch 3158 0
✅ patches/mdast-util-to-hast@13.2.1.patch 1261 0
➖ apps/web/package.json 516 Excluded by macroscope ignore file
✅ pnpm-workspace.yaml 753 0
✅ apps/web/src/textDirection.ts 329 0
➖ packages/shared/package.json 273 Excluded by macroscope ignore file
✅ apps/web/src/components/chat/markdownSyntaxGates.ts 7946 0
✅ packages/shared/src/markdownListIndentation.ts 429 0
➖ packages/shared/src/markdownPipeline.test.ts 2705 Excluded by macroscope ignore file
➖ apps/web/src/components/chat/markdownRenderer.test.tsx 2542 Excluded by macroscope ignore file
✅ packages/shared/src/markdownPipeline.ts 3645 0
✅ apps/web/src/components/chat/markdownRenderer.ts 1969 0
➖ pnpm-lock.yaml 5379 Excluded by macroscope ignore file

Billed Total: 19.49KB of diff | $0.78