MDL-39733 profiling: UI for importing runs
[moodle.git] / lib / xhprof / readme_moodle.txt
CommitLineData
6af80cae
EL
1Description of XHProf 0.9.2 library/viewer import into Moodle
2
6919693c
EL
3Removed (commit #1):
4 * .arcconfig - Definitions for arcanist/phabricator removed completely
5 * composer.json - Composer's definition removed completely
6af80cae
EL
6 * examples - examples dir removed completely
7 * extension - extension dir removed completely
8 * package.xml - PECL package definition removed completely
9 * xhprof_html/docs - documentation dir removed completely
10
6919693c 11Added (commit #2 - always taken from current moodle.git master):
6af80cae
EL
12 * index.html - prevent directory browsing on misconfigured servers
13 * xhprof_moodle.php - containing all the stuff needed to run the xhprof profiler within Moodle
14 * readme_moodle.txt - this file ;-)
15
6919693c 16Our changes: Look for "moodle" in code (commit #3 - always mimic from current moodle.git master):
6af80cae
EL
17 * xhprof_html/index.php ----|
18 * xhprof_html/callgraph.php -|=> Changed to use own DB iXHProfRuns implementation (moodle_xhprofrun)
19 * xhprof_html/typeahead.php -|
20 * xhprof_html/css/xhprof.css: Minor tweaks to report styles
21 * xhprof_lib/utils/callgraph_utils.php: Modified to use $CFG->pathtodot
22
23TODO:
24 * with the 3 reports (index, callgraph and typeahead), close seesion asap,
25 so user can continue working with moodle while the report (specially
26 the graph is being generated).
27 * export/import profiling runs: Allow to pick any profile record, encapsulate
28 it into some serialized/encoded way and allow download/upload. It requires
29 DB changes in order to be able to specify the source of each record (own/imported).
6af80cae
EL
30 * improvements to the listing mode: various commodity details like:
31 - allow to filter by various criteria
32 - inline (and ajax) editing of reference/comment and deleting
33 - whatever daily usage discovers ;-)
34 * add new settings to control if we want to profile things like:
35 - php functions
36 - memory
37 - cpu times
38 (all them are right now enabled for everybody by default)
39
c646dd26
EL
4020101122 - MDL-24600 - Eloy Lafuente (stronk7): Original import of 0.9.2 release
4120110318 - MDL-26891 - Eloy Lafuente (stronk7): Implemented earlier profiling runs