Stopwatch (Component\Stopwatch)

Symfony\Component\Stopwatch\Stopwatch

class Stopwatch

Stopwatch provides a way to profile code.

Methods

__construct()
Section[] getSections()
openSection(string|null $id = null)

Creates a new section or re-opens an existing section.

stopSection(string $id)

Stops the last started section.

StopwatchE