mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
No description
ed86c42b26
Summary: Ref T13593. The commit cache in this Engine has a maximum fixed size (currently 65,535 entries). If we execute discovery in a repository with more refs than this (e.g., 180K), we get fast lookups for the first 65,535 refs and slow lookups for the remaining refs. Instead, divide the refs into chunks no larger than the cache size, and perform an explicit cache fill before each chunk is processed. Test Plan: - Created a repository with 1K refs. Set cache size to 256. Ran discovery. - Before patch: saw one large cache fill and then ~750 single-gets. - After patch: saw four large cache fills. - Compared `bin/repository discover ... --verbose` output before and after patch for overall effect; saw no differences. Maniphest Tasks: T13593 Differential Revision: https://secure.phabricator.com/D21521 |
||
---|---|---|
bin | ||
conf | ||
externals | ||
resources | ||
scripts | ||
src | ||
support | ||
webroot | ||
.arcconfig | ||
.arclint | ||
.arcunit | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README.md |
Phabricator is a collection of web applications which help software companies build better software.
Phabricator includes applications for:
- reviewing and auditing source code;
- hosting and browsing repositories;
- tracking bugs;
- managing projects;
- conversing with team members;
- assembling a party to venture forth;
- writing stuff down and reading it later;
- hiding stuff from coworkers; and
- also some other things.
You can learn more about the project (and find links to documentation and resources) at Phabricator.org
Phabricator is developed and maintained by Phacility.
SUPPORT RESOURCES
For resources on filing bugs, requesting features, reporting security issues, and getting other kinds of support, see Support Resources.
NO PULL REQUESTS!
We do not accept pull requests through GitHub. If you would like to contribute code, please read our Contributor's Guide.
LICENSE
Phabricator is released under the Apache 2.0 license except as otherwise noted.