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:
parent
4adaf53bf0
commit
a8f5e10b79
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ abstract class PhabricatorFeedStory
|
|||
}
|
||||
|
||||
public function newMarkupEngine($field) {
|
||||
return PhabricatorMarkupEngine::newMarkupEngine(array());
|
||||
return PhabricatorMarkupEngine::getEngine();
|
||||
}
|
||||
|
||||
public function getMarkupText($field) {
|
||||
|
|
Loading…
Reference in a new issue