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
Unknown Object (File)
Tue, Dec 17, 11:13 AM
Unknown Object (File)
Fri, Dec 13, 7:20 AM
Unknown Object (File)
Wed, Dec 4, 8:51 AM
Unknown Object (File)
Wed, Dec 4, 8:51 AM
Unknown Object (File)
Wed, Dec 4, 8:51 AM
Unknown Object (File)
Wed, Dec 4, 8:43 AM
Unknown Object (File)
Thu, Nov 28, 10:46 PM
Unknown Object (File)
Wed, Nov 27, 12:19 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

Lint
Lint Skipped
Unit
Tests Skipped