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)
Mar 14 2026, 5:38 PM
Unknown Object (File)
Jan 12 2026, 9:49 AM
Unknown Object (File)
Dec 10 2025, 6:47 PM
Unknown Object (File)
Nov 29 2025, 6:32 AM
Unknown Object (File)
Oct 5 2025, 1:07 AM
Unknown Object (File)
Sep 25 2025, 7:32 AM
Unknown Object (File)
Sep 11 2025, 1:43 PM
Unknown Object (File)
Sep 10 2025, 9:49 PM
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

Branch
perf1
Lint
Lint Passed
Unit
Tests Passed

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