Page MenuHomePhabricator

Filter archived packages out of the "controlling packages" query earlier
ClosedPublic

Authored by epriestley on Feb 27 2017, 8:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 10:47 PM
Unknown Object (File)
Fri, Dec 20, 10:36 PM
Unknown Object (File)
Dec 18 2024, 5:17 AM
Unknown Object (File)
Dec 15 2024, 2:39 PM
Unknown Object (File)
Dec 15 2024, 11:20 AM
Unknown Object (File)
Dec 4 2024, 4:55 AM
Unknown Object (File)
Nov 28 2024, 2:03 AM
Unknown Object (File)
Nov 26 2024, 1:50 PM
Subscribers
None

Details

Summary

Ref T12319. Currently, we end up filtering archived packages out once for each path. This shows up on a profile from an install as meaningfully expensive:

https://secure.phabricator.com/xhprof/profile/PHID-FILE-7kmpevyr22aih4s2vyln/?symbol=PhabricatorOwnersPackage::isArchived

Instead, filter them out before we do any work.

Test Plan

Viewed a revision, still saw packages.

Screen Shot 2017-02-27 at 12.08.44 PM.png (602×2 px, 126 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable