Skip to content

Performance analysis for TYPO3 - Show SQL statistics for frontend rendering directly in the frontend.

License

Notifications You must be signed in to change notification settings

netresearch/t3x-nr_perfanalysis

Repository files navigation

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

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

Clicking on the bar hides it.

The reload button will do a "document.location.reload(true)" which will override the browser cache.

Hovering over the button shows the current document.location (helpful on devices that don't display a URL bar).

it is possible to enable the analysis but displaying the result in the frontend only if you have a specific cookie set.

In the extenion manager you can enable the option Require cookie for displaying result in frontend (Cookie nr_perfanalysis=1 needs to be set) If this option is active the result will only be displayed if the current request has the cookie nr_perfanalysis=1 set.

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

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.

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

nr_perfanalysis is licensed under the AGPL v3 or later.

Christian Weiske, Netresearch GmbH & Co.KG

About

Performance analysis for TYPO3 - Show SQL statistics for frontend rendering directly in the frontend.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages