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
F14314475: D17427.id41906.diff
Wed, Dec 18, 5:17 AM
Unknown Object (File)
Sun, Dec 15, 2:39 PM
Unknown Object (File)
Sun, Dec 15, 11:20 AM
Unknown Object (File)
Wed, Dec 4, 4:55 AM
Unknown Object (File)
Thu, Nov 28, 2:03 AM
Unknown Object (File)
Tue, Nov 26, 1:50 PM
Unknown Object (File)
Nov 18 2024, 2:22 PM
Unknown Object (File)
Nov 13 2024, 7:55 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