Render each documentation text once (0.10.1) #6
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/6/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Requested by Moof · project thread
First speed-up from the UI review. Profiling an
NX.xsdbuild showed about 70% of generation time in Markdown rendering of documentation:markdown.markdown()builds a fresh converter (parsers, inline patterns) on every call, and it was called 186k times, mostly on texts NeTEx repeats across declarations.This caches rendered documentation by its text and reuses one converter with
reset().NX.xsdwith--transmodel: 34s to 10s locallydiff -r -I generated-time)🤖 Generated with Claude Code
https://claude.ai/code/session_01SnEtsMrAdL7vb2Ln5KuqTS
Incorporated in !7
Pull request closed