DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

TYPO3 performance analysis

nr_perfanalysis is a TYPO3 extension that collects and displays frontend rendering timing and quantity information.

It displays the summary at the bottom right of the frontend pages:

doc/frontend.png

TYPO3 introduction package rendering with nr_perfanalysis output

Usage

By enabling the extension, the frontend performance bar is automatically shown whenever a TYPO3 page is generated.

Clicking on the bar hides it.

Default performance indicators

page
Server-side page rendering time
sql
SQL query count and time
browser
Browser rendering time

Custom indicators

Your own extensions can collect statistical data, too.

Start an event:

$statCounter = Netresearch\NrPerfanalysis\Counter::get();
$statCounter->start('REST', 'PUT');

Finish it off:

$statCounter = Netresearch\NrPerfanalysis\Counter::get();
$statCounter->finish('REST', 'PUT');

Now you logged a "PUT" event in the "REST" group, and the REST group will show up in the statistics on the bottom right.

Dependencies

  • TYPO3 6.2+
  • PHP 5.4+ for page generation statistics