You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-9Lines changed: 4 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,27 +60,22 @@ Using a custom callback to explain queries for console
60
60
PHP Profiler lets you pass in some configuration options to help allow it to suit your own needs.
61
61
62
62
-**query_explain_callback** is the callback used to explain SQL queries to get additional information on them. The format used should be the same as that used by PHP's [call_user_func](http://us2.php.net/call_user_func) function.
63
+
-**query_profiler_callback** is used to integrate an extended query profiler such as [MySQL's query profiler](http://wiki.github.com/steves/PHP-Profiler/the-extended-query-profiler).
64
+
65
+
For additional documentation and code samples see the wiki.
63
66
64
67
## Features ##
65
68
Below are some of the features of PHP Profiler
66
69
67
70
- Log any string, array or object to the console
68
71
- Log all queries and find out how long they took to run, individually and total
69
72
- Learn which queries are being run more than once with duplicate query counting
70
-
- Allows integration with your DAL to explain executed queries to display additional data for them
73
+
- Allows integration with your DAL to explain executed queries
71
74
- Displays all included files
72
75
- Displays total memory usage of page load
73
76
- Log memory usage of any string, variable or object
74
77
- Log specific points in your script to see how long it takes to get to them
75
78
- See how many queries on a given page are inserts, updates, selects and deletes with query type counting
76
79
77
-
## Changes ##
78
-
Some of the changes made to the original include:
79
-
80
-
- The code has been cleaned up quite a bit and is a bit more readable now
81
-
- Classes have been renamed to allow them to be auto loaded
82
-
- Merged database class into Profiler_Console to make it easier and cleaner to integrate
83
-
- Removed MySQL dependence, any database should work now.
84
-
85
80
## Sites Using PHP Profiler ##
86
81
Using PHP Profiler on your site? Let me know! If you don't want to be featured here just say so, but I still like knowing how people are using PHP Profiler so send me a message or an email and let me know.
0 commit comments