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
F18780682: D17427.id.diff
Sun, Oct 12, 6:40 PM
F18745443: D17427.diff
Fri, Oct 3, 6:52 AM
F18644822: D17427.id41906.diff
Sep 19 2025, 6:05 AM
F18640977: D17427.diff
Sep 18 2025, 7:27 PM
F18620872: D17427.diff
Sep 15 2025, 6:29 AM
F18446609: D17427.id41907.diff
Aug 31 2025, 9:59 PM
F18426829: D17427.diff
Aug 30 2025, 11:20 PM
F18084680: D17427.id.diff
Aug 5 2025, 4:41 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