Page MenuHomePhabricator

Stop markup cache from hitting cache O(N^2) times
ClosedPublic

Authored by epriestley on Feb 26 2014, 7:59 PM.
Tags
None
Referenced Files
F19663656: D8352.diff
Feb 7 2026, 10:42 AM
F19533906: D8352.diff
Jan 20 2026, 9:08 PM
F19506723: D8352.id19860.diff
Jan 9 2026, 4:51 PM
F19403949: D8352.diff
Dec 27 2025, 3:16 PM
F19303754: D8352.diff
Dec 24 2025, 5:24 AM
F19064273: D8352.id.diff
Nov 29 2025, 8:27 PM
F19063513: D8352.id19860.diff
Nov 29 2025, 7:04 PM
F19052364: D8352.diff
Nov 28 2025, 4:47 AM
Subscribers

Details

Summary

The intent of getOrBuildEngine() is to save some boilerplate in cases where we're just using a standard engine, but it didn't get cached so we'd rebuilt it over and over again.

This was especially bad in Differential with a large number of inlines.

Test Plan

"Query" tab of services is no longer quite so ridiculous in Differential.

Diff Detail

Repository
rP Phabricator
Branch
mcache
Lint
Lint Passed
Unit
Tests Passed