Details
Details
- Reviewers
- None
- Maniphest Tasks
- T13487: Improve performance of remarkup block splitting
- Commits
- rPfdbe9ba149b6: Improve Remarkup parsing performance for certain large input blocks
- Saw local cold-cache end-to-end rendering time drop from 12s to 4s for the highly secret input corpus.
- Verified output has the same hashes before/after.
- Ran all remarkup unit tests.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/infrastructure/markup/remarkup/PhutilRemarkupEngine.php | ||
---|---|---|
250–254 | This piece was pretty wild. It meant "Are both blocks default blocks (plain old paragraphs)?" but tested that in a very convoluted way. |