dartdoc always parses full markdown even when it doesn't need to #1417
Labels
P2
A bug or feature request we're likely to work on
type-code-health
Internal changes to our tools and workflows to make them cleaner, simpler, or more maintainable
Uh oh!
There was an error while loading. Please reload this page.
Partially because markdown doesn't currently have an option to do otherwise, dartdoc has an issue where we always generate the full HTML for each ModelElement's comment via markdown, even when we don't need to (for example, only the oneLineDoc is used). This mattered less before 0.9.11 and canonicalization as we weren't as picky about what docs we write, but now we're generating and discarding a lot of HTML, repeatedly. Profiling suggests this is why complex packages are slow, because there is a lot of inheritance and a high percentage of non-canonical ModelElements.
Given that we have to run some of the markdown for non-canonical ModelElements so we can have one-line doc summaries, I propose:
The text was updated successfully, but these errors were encountered: