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
Unknown Object (File)
Thu, Nov 21, 9:12 AM
Unknown Object (File)
Sun, Nov 17, 12:09 PM
Unknown Object (File)
Thu, Nov 14, 5:57 AM
Unknown Object (File)
Sat, Nov 9, 4:20 PM
Unknown Object (File)
Fri, Nov 1, 1:28 PM
Unknown Object (File)
Fri, Nov 1, 8:04 AM
Unknown Object (File)
Thu, Oct 31, 10:36 AM
Unknown Object (File)
Thu, Oct 31, 9:07 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
Branch
inline14
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24484
Build 33742: Run Core Tests
Build 33741: arc lint + arc unit

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.