mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
No description
f841491524
Summary: Fact engines loading dependent objects are super slow because they load them one by one. This diff put each page in a Lisk set allowing engines to use `loadRelatives()`. It also introduces `clearSet()` method which is somewhat neccessary in PHP < 5.3 or with disabled cyclic [[ http://php.net/gc | GC ]]. Test Plan: $iterator = new PhabricatorFactUpdateIterator(new DifferentialRevision()); foreach ($iterator as $revision) { $diffs = $revision->loadRelatives(new DifferentialDiff(), 'revisionID'); echo memory_get_usage() . "\n"; } Experienced not-steadily-increasing memory usage and much faster loading. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3247 |
||
---|---|---|
bin | ||
conf | ||
externals | ||
resources | ||
scripts | ||
src | ||
support/aphlict | ||
webroot | ||
.arcconfig | ||
.divinerconfig | ||
.gitignore | ||
.gitmodules | ||
README |
Phabricator is a open source collection of web applications which make it easier to write, review, and share source code. Phabricator was developed at Facebook. This is an early release. It's pretty high-quality and usable, but under active development so things may change quickly. You can learn more about the project and find links to documentation and resources at: http://phabricator.org/ LICENSE Phabricator is released under the Apache 2.0 license except as otherwise noted. http://www.apache.org/licenses/LICENSE-2.0