Page MenuHomePhabricator

Use the changeset parse cache to cache suggestion changesets
ClosedPublic

Authored by epriestley on May 20 2020, 6:37 PM.
Tags
None
Referenced Files
F18342808: D21280.diff
Tue, Aug 26, 5:28 AM
F18204971: D21280.diff
Mon, Aug 18, 2:22 PM
F18112362: D21280.diff
Tue, Aug 12, 4:29 PM
F18108979: D21280.id.diff
Mon, Aug 11, 10:56 AM
F18105006: D21280.diff
Sun, Aug 10, 3:40 PM
F17833140: D21280.id50665.diff
Jul 26 2025, 1:20 PM
F17826262: D21280.id50674.diff
Jul 26 2025, 7:08 AM
F17825872: D21280.id.diff
Jul 26 2025, 6:50 AM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13513. Syntax highlighting is potentially expensive, and the changeset rendering pipeline can cache it. However, the cache is currently keyed ONLY by Differential changeset ID.

Destroy the existing cache and rebuild it with a more standard cache key so it can be used in a more ad-hoc way by inline suggestion snippets.

Test Plan

Used Darkconsole, saw cache hits and no more inline syntax highlighting for changesets with many inlines.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.May 20 2020, 6:37 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 20 2020, 9:29 PM
This revision was automatically updated to reflect the committed changes.