Page MenuHomePhabricator

Cache the computation of the custom block component of the markup key
ClosedPublic

Authored by epriestley on Nov 13 2013, 11:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 1:40 AM
Unknown Object (File)
Sat, Feb 1, 8:05 AM
Unknown Object (File)
Tue, Jan 28, 7:53 AM
Unknown Object (File)
Sat, Jan 25, 3:16 AM
Unknown Object (File)
Fri, Jan 24, 10:23 PM
Unknown Object (File)
Wed, Jan 22, 5:16 PM
Unknown Object (File)
Jan 7 2025, 7:54 AM
Unknown Object (File)
Jan 2 2025, 4:49 AM
Subscribers

Details

Summary

Caught this taking way too long on a production profile:

https://secure.phabricator.com/xhprof/profile/PHID-FILE-vfzq3sregh5xvpf5nc2t/?symbol=PhabricatorMarkupEngine::getMarkupFieldKey

Cache it; it's always identical.

Test Plan

Loaded Conpherence locally.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley updated this revision to Unknown Object (????).Nov 13 2013, 11:43 PM

Also fix a minor XHProf plugin issue.

epriestley updated this revision to Unknown Object (????).Nov 14 2013, 12:12 AM

Also improve performance of MarkupOneOff