Skip to content
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.

  1. Your benchmark names should end in either the string "_start" or "_end".

  2. 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'

Clone this wiki locally