Page MenuHomePhabricator

Don't spend ridiculous amounts of time rebuilding orderable columns
ClosedPublic

Authored by epriestley on Jun 17 2015, 2:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 9:25 AM
Unknown Object (File)
Mon, Apr 8, 1:56 AM
Unknown Object (File)
Mon, Apr 8, 1:55 AM
Unknown Object (File)
Mon, Apr 8, 1:50 AM
Unknown Object (File)
Mon, Apr 8, 1:23 AM
Unknown Object (File)
Sat, Apr 6, 5:12 AM
Unknown Object (File)
Thu, Apr 4, 10:23 PM
Unknown Object (File)
Feb 10 2024, 2:44 PM
Subscribers

Details

Summary

Ref T8575. Because orderable columns need to build custom fields, they are relatively expensive to build. Use the request cache.

(The request cache is technically more correct than static, because configuration may change between requests and we may eventually reuse interpreters.)

Test Plan

Saw home page time drop 39% (from 462ms to 283ms).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Don't spend ridiculous amounts of time rebuilding orderable columns.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
avivey added a reviewer: avivey.
avivey added a subscriber: avivey.

sweet.

This revision is now accepted and ready to land.Jun 17 2015, 2:13 AM
This revision was automatically updated to reflect the committed changes.