Projects
View on GitHub
symfony/stopwatch
symfony/stopwatch has 2,812 GitHub stars and 15 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 19:47 UTC. Last push 2026-10-03.
Provides a way to profile code
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalStopwatch Component
The Stopwatch component provides a way to profile code.
Getting Started
composer require symfony/stopwatch
use Symfony\Component\Stopwatch\Stopwatch;
$stopwatch = new Stopwatch();
// optionally group events into sections (e.g. phases of the execution)
$stopwatch->openSection();
// starts event named 'eventName'
$stopwatch->start('eventName');
// ... run your code here
// optionally, start a new "lap" time
$stopwatch->lap('foo');
// ... run your code here
$event = $stopwatch->stop('eventName');
$stopwatch->stopSection('phase_1');
Sponsor
This package is looking for a backer.
Help Symfony by sponsoring its development!
Resources
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,805 starspublic-apis/public-apis
A collective list of free APIs
497,039 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,222 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,149 stars