1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/phid
epriestley f8d6b6181e Use PhabricatorCachedClassMapQuery when querying object PHID types
Summary:
Ref T11954. When we query for Conduit tokens, we load the associated objects (users) by PHID.

Currently, querying objects by PHID requires us to load every PHIDType class, when we can know which specific classes we actually need (e.g., just `UserPHIDType`, if only user PHIDs are present in the query).

Use PhabricatorCachedClassMapQuery to reduce the number of classes we load on this pathway.

Test Plan:
- Used `ab -n100` to roughly measure a ~5% performance improvement?
- This measurement feels a little flimsy but the XHProf profile is cleaner, at least.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11954

Differential Revision: https://secure.phabricator.com/D16997
2016-12-06 09:10:29 -08:00
..
conduit phtize all the things 2015-05-22 21:16:39 +10:00
handle Strip restricted and incomplete handles from the "Mentions" tab on Maniphest tasks 2016-11-18 14:08:20 -08:00
interface Work around a bug in PHP 5.3-ish with abstract methods in interfaces 2013-10-25 15:58:17 -07:00
query Use PhabricatorCachedClassMapQuery when querying object PHID types 2016-12-06 09:10:29 -08:00
remarkup Remarkup rule for rendering PHIDs as handles 2016-03-17 20:24:03 +00:00
resolver Provide formal Users/Projects/Mailable fields for EditEngine 2015-11-04 12:05:41 -08:00
storage Remove some unused properties 2015-06-17 20:41:52 +10:00
type Use PhabricatorCachedClassMapQuery when querying object PHID types 2016-12-06 09:10:29 -08:00
view Simplify how tag lists manage their handles 2016-08-19 11:09:40 -07:00
PhabricatorMetaMTAApplicationEmailPHIDType.php Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
PhabricatorObjectHandle.php Use Doritos™ Brand® perfect circles to indicate Busy/Away/Disabled 2016-11-09 17:13:10 -08:00
PhabricatorPHIDConstants.php Bridge GitHub users into Phabricator and attribute actions to them 2016-03-28 13:10:32 -07:00
utils.php Use Application PHIDs in Projects 2013-07-22 12:17:53 -07:00