Merge branch 'wip-mdl-48190-m27' of https://github.com/rajeshtaneja/moodle into MOODL...
[moodle.git] / lib / xhprof / readme_moodle.txt
blob8578a8e2d9671fc0c10a6afaec89a7f602f9ee76
1 Description of XHProf 0.9.2 library/viewer import into Moodle
3 Removed (commit #1):
4  * .arcconfig - Definitions for arcanist/phabricator removed completely
5  * composer.json - Composer's definition removed completely
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
11 Added (commit #2 - always taken from current moodle.git master):
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 ;-)
16 Our changes:  Look for "moodle" in code (commit #3 - always mimic from current moodle.git master):
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
23 TODO:
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  * improvements to the listing mode: various commodity details like:
28        - allow to filter by various criteria
29        - inline (and ajax) editing of reference/comment and deleting
30        - whatever daily usage discovers ;-)
31  * add new settings to control if we want to profile things like:
32        - php functions
33        - memory
34        - cpu times
35        (all them are right now enabled for everybody by default)
36  * allow multiple runs to be exported together (right now only ONE can be
37    exported at a time). Note it is only an UI restriction, backend supports multiple.
39 20101122 - MDL-24600 - Eloy Lafuente (stronk7): Original import of 0.9.2 release
40 20110318 - MDL-26891 - Eloy Lafuente (stronk7): Implemented earlier profiling runs
41 20130621 - MDL-39733 - Eloy Lafuente (stronk7): Export & import of profiling runs