[TYPO3-mvc] profile extbase with pqp

Sebastian Kurfürst sebastian at typo3.org
Sun May 16 11:18:49 CEST 2010


Hey Felix,

I just stumbled over an older posting by Fabrizio Branca in the
typo3.performance mailinglist -- and I think his approach is quite cool
as well.

Maybe we can somehow use a common interface, and use both tools for
visualization? That'd be cool.


Greets,
Sebastian

---- Here is Fabrizios Posting ---
Hi everybody,

I created a little extension that allows you to create svg graphs of the
memory consumption over time of a TYPO3 FE request (populated) with some
other data.

This extension might be interesting for you trying to optimze TYPO3 (and
extensions) performance.

You'll find the extension on forge:
http://forge.typo3.org/projects/show/extension-tick

There is even a small documentation for it:
https://svn.typo3.org/TYPO3v4/Extensions/tick/trunk/doc/manual.sxw

And here is an example output showing the rendering of an mvc based list
 extension (EXT:pt_list, based on my EXT:pt_mvc)
http://www.fabrizio-branca.de/fileadmin/example_output2.svg

Here is a much simpler (and older) example showing the rendering of a
simple text content element:
http://www.fabrizio-branca.de/fileadmin/example_output.svg

Currently the graph is populated with additional data from
- syslog
- devlog
- TSlog
- TT Stack
- Database operations

By using $GLOBALS['TT']->push() / ->pull() in your extensions you can
add some stack level information to the graph. The pt_mvc extension does
this by default with all controllers and its action calls.

Bye,

Fabrizio


Btw: svg are vector graphics. That means you can zoom in using firefoxes
zoom functionality to see some details. You can hover on some lines and
areas to get additional information.


More information about the TYPO3-project-typo3v4mvc mailing list