Page MenuHomePhabricator

Cache viewer spaces
ClosedPublic

Authored by epriestley on Jun 17 2015, 2:45 AM.
Tags
None
Referenced Files
F19829410: D13324.id.diff
Mar 10 2026, 5:27 AM
F19818138: D13324.diff
Mar 5 2026, 5:57 PM
F19745488: D13324.diff
Feb 15 2026, 3:36 PM
F19647377: D13324.id32242.diff
Feb 6 2026, 3:41 AM
F19511008: D13324.diff
Jan 11 2026, 8:07 PM
F19504885: D13324.diff
Jan 9 2026, 7:44 AM
F19499644: D13324.diff
Jan 8 2026, 1:57 PM
F19491263: D13324.diff
Jan 8 2026, 7:17 AM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T8575: Reap easy performance improvements
Commits
Restricted Diffusion Commit
rP984976ce2029: Cache viewer spaces
Summary

Ref T8575. Although we cache spaces as a whole, we don't cache viewer spaces. This can still do a lot of work if they have complex policies.

Instead, cache them in the request cache.

Test Plan

Saw this account for 37% of a page in produciton (303ms on on 835ms).

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Cache viewer spaces.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jun 17 2015, 5:33 PM
This revision was automatically updated to reflect the committed changes.