1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Cache remarkup engines in Feed

Summary: Ref T8631. This method uses cached settings.

Test Plan: Saw 40% performance improvement locally (reduced 200ms of 500ms).

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8631

Differential Revision: https://secure.phabricator.com/D13480
This commit is contained in:
epriestley 2015-06-30 11:19:58 -07:00
parent 4adaf53bf0
commit a8f5e10b79

View file

@ -520,7 +520,7 @@ abstract class PhabricatorFeedStory
}
public function newMarkupEngine($field) {
return PhabricatorMarkupEngine::newMarkupEngine(array());
return PhabricatorMarkupEngine::getEngine();
}
public function getMarkupText($field) {