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
- Branch
- remarkup1
- Lint
Lint Passed Severity Location Code Message Advice src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php:200 XHP14 Misuse of `preg_quote` Advice src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php:213 XHP14 Misuse of `preg_quote` - Unit
Tests Passed - Build Status
Buildable 23787 Build 32712: Run Core Tests Build 32711: arc lint + arc unit
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. |