1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-25 13:09:08 +01:00
phorge-phorge/src/infrastructure/markup/rule
epriestley fdbe9ba149 Improve Remarkup parsing performance for certain large input blocks
Summary: Fixes T13487. In PHI1628, an install has a 4MB remarkup corpus which takes a long time to render. This is broadly expected, but a few reasonable improvements fell out of running it through the profiler.

Test Plan:
  - 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.

Maniphest Tasks: T13487

Differential Revision: https://secure.phabricator.com/D20968
2020-02-04 15:07:00 -08:00
..
PhabricatorConfigRemarkupRule.php Implement "@{config:...}" as a real Remarkup rule 2018-12-28 00:05:09 -08:00
PhabricatorKeyboardRemarkupRule.php Add inline styles for {key ...} in HTML mail 2016-09-08 17:10:58 -07:00
PhabricatorNavigationRemarkupRule.php Search and Replace calls to setShade 2017-05-22 18:59:53 +00:00
PhabricatorObjectRemarkupRule.php Improve Remarkup parsing performance for certain large input blocks 2020-02-04 15:07:00 -08:00
PhabricatorRemarkupCustomBlockRule.php Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
PhabricatorRemarkupCustomInlineRule.php Rename PhutilRemarkupRule subclasses 2014-08-05 00:55:43 +10:00
PhabricatorYoutubeRemarkupRule.php Replace "getQueryParams()" callsites in Phabricator 2019-02-12 06:37:03 -08:00