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
F15465194: D7583.id17117.diff
Wed, Apr 2, 3:54 PM
F15463129: D7583.id.diff
Tue, Apr 1, 8:37 PM
F15459188: D7583.diff
Mon, Mar 31, 10:41 AM
F15412917: D7583.id17117.diff
Wed, Mar 19, 3:45 PM
F15389596: D7583.id.diff
Sat, Mar 15, 5:29 AM
F15387927: D7583.id17119.diff
Sat, Mar 15, 3:06 AM
F15376539: D7583.diff
Thu, Mar 13, 4:25 AM
Unknown Object (File)
Feb 24 2025, 9:58 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

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