Page MenuHomePhabricator

Put a readthrough cache in front of inline context construction
ClosedPublic

Authored by epriestley on May 20 2020, 5:37 PM.
Tags
None
Referenced Files
F15470322: D21279.id50673.diff
Fri, Apr 4, 9:34 PM
F15429202: D21279.id50673.diff
Mon, Mar 24, 1:07 AM
F15413179: D21279.diff
Wed, Mar 19, 5:22 PM
F15360747: D21279.diff
Mar 11 2025, 9:55 AM
F15353870: D21279.id50664.diff
Mar 11 2025, 12:51 AM
F15316239: D21279.id50664.diff
Mar 6 2025, 6:27 PM
F15316237: D21279.diff
Mar 6 2025, 6:27 PM
Unknown Object (File)
Feb 27 2025, 1:48 PM
Subscribers
None

Details

Summary

Ref T13513. Inline comment context information is somewhat expensive to construct and can be cached. Add a readthrough cache on top of it.

Test Plan

Loaded a source code changeset with many inline comments, used Darkconsole to inspect query activity. Saw caches get populated. Updated cache key, saw caches regenerate. Browsed Diffusion, nothing looked broken.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 20 2020, 9:28 PM
This revision was automatically updated to reflect the committed changes.