1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-05 12:21:02 +01:00
phorge-phorge/src/view/page
epriestley 0f8984f5a7 Move XHProf sampling code out of index.php
Summary:
  - Separate the ideas of "requested" (explicit user request) vs "started" (user request or sampling).
  - Move this code out of index.php into the XHProf stuff (general effort to make index.php smaller).

Test Plan:
Verified that profiling still works, and profiling extends to ajax requests.

Set sampling rate to 2, saw 50% samples.

Looked at database, saw sampling data populating properly.

Reviewers: vrana, nh

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D4891
2013-02-09 15:47:55 -08:00
..
menu Merge branch 'master' into phutil_tag 2013-02-04 06:19:52 -08:00
AphrontPageView.php Delete license headers from files 2012-11-05 11:16:51 -08:00
AphrontRequestFailureView.php Convert some phutil_escape_html() to hsprintf() 2013-02-08 15:59:02 -08:00
PhabricatorBarePageView.php Merge branch 'master' into phutil_tag 2013-02-04 06:19:52 -08:00
PhabricatorStandardPageView.php Move XHProf sampling code out of index.php 2013-02-09 15:47:55 -08:00