-
-
Notifications
You must be signed in to change notification settings - Fork 10
Benchmarks
mithra62 edited this page Feb 6, 2013
·
8 revisions
This being ExpressionEngine, your benchmarking tool is the benchmarks library.
To have your benchmark names readable within the Toolbar you have to follow a couple conventions.
-
Your benchmark names should end in either the string "_start" or "_end".
-
Ensure the names are logical enoughed to be parsed using the below PHP:
ucwords(str_replace(array('_', '-'), ' ', $key))
Examples 'debug_toolbar_start' and 'debug_toolbar_end'