We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e30c28 commit 6ffd199Copy full SHA for 6ffd199
performance.rst
@@ -327,6 +327,15 @@ Sections are a way to split the profile timeline into groups. Example::
327
$this->stopwatch->start('processing-file');
328
$this->stopwatch->stopSection('parsing');
329
330
+All events that don't belong to any named section are added to the special section
331
+``__root__``. This way you can get all stopwatch events, even if you don't know
332
+their names::
333
+
334
+ foreach($this->stopwatch->getSectionEvents('__root__') as $event) {
335
+ echo (string) $event;
336
+ }
337
338
339
Learn more
340
----------
341
0 commit comments