1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/diffusion
Jacob Hurwitz 9d0d1ac42f Speed up DiffusionBrowseFileController by removing call to array_merge
Summary: Some profiling using XHProf in the Dark Console showed me that Diffusion was wasting a ton of time on array_merge. This change sped up the loading of a large file in Diffusion from 16.8 seconds to 2.4 seconds.

Test Plan: Load files in Diffusion. They all look good. Also, use a PHP shell to try to manually verify that I still kinda remember some PHP and, yes, this is functionally equivalent to what was there before.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9032
2014-05-09 18:06:29 -07:00
..
application Provide an "event" page for push logs, which shows details on all events in a given push 2014-03-26 13:51:09 -07:00
capability Add global "push" policy to Repositories 2013-10-29 15:32:40 -07:00
conduit Allow discovered but unparsed commits to be requested in Releeph 2014-04-20 11:55:29 -07:00
config Specify an ssh port for Diffusion when running against the grain 2013-12-11 12:11:13 -08:00
controller Speed up DiffusionBrowseFileController by removing call to array_merge 2014-05-09 18:06:29 -07:00
data Allow users to receive email about pushes via Herald 2014-03-26 13:51:15 -07:00
doorkeeper fix query for doorkeeper 2014-04-29 15:12:04 -07:00
engine Never try to run README as a commit hook 2014-05-05 10:54:53 -07:00
events Various linter fixes. 2014-02-26 12:44:58 -08:00
exception Reject dangerous changes in Git repositories by default 2013-12-03 10:28:39 -08:00
herald Allow users to receive email about pushes via Herald 2014-03-26 13:51:15 -07:00
panel Make many actions require high security 2014-04-30 17:44:59 -07:00
protocol Fix loop in svnserve workflow for large binaries 2013-12-18 17:48:29 -08:00
query Make JOIN changes to CommitQuery only 2014-04-28 08:25:51 -07:00
remarkup Add a Diffusion repository remarkup rule 2013-12-31 11:08:08 -08:00
request Remove DiffusionBranchInformation in favor of DiffusionRepositoryRef 2014-01-17 16:10:56 -08:00
response Allow Phabricator to serve Mercurial repositories over HTTP 2013-11-06 18:00:42 -08:00
ssh Fix SVN translation of "add-file" protocol frames over SSH 2014-04-01 08:23:48 -07:00
view Remove DiffusionBranchInformation in favor of DiffusionRepositoryRef 2014-01-17 16:10:56 -08:00
DiffusionLintSaveRunner.php Fix the script that saves lint for a repo into the database and updates diffusion. 2014-03-11 13:07:45 -07:00