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
F19151889: D21280.diff
Wed, Dec 10, 11:17 PM
F19151888: D21280.diff
Wed, Dec 10, 11:17 PM
F19017412: D21280.id.diff
Sun, Nov 23, 7:46 AM
F19012960: D21280.diff
Sat, Nov 22, 2:18 PM
F18878128: D21280.diff
Nov 6 2025, 3:15 PM
F18836167: D21280.diff
Oct 26 2025, 10:56 PM
F18831486: D21280.diff
Oct 25 2025, 1:22 PM
F18817398: D21280.diff
Oct 21 2025, 3:15 PM
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.