symfony/stopwatch
Provides a way to profile code observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 97
- Release rhythm 74
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 32
- age_days: 5044
- days_rel: 96
- days_push: 19
- n_releases_24m: 14
Adoption not part of the score
2811 stars · 14 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Symfony component that provides a simple stopwatch API for profiling PHP code by timing named events, laps, and sections. It is a lightweight, standalone library installable via Composer and widely used across the PHP ecosystem.
Use cases
- profile how long a block of PHP code takes to run
- measure execution time of named events with lap times
- group timing events into sections for phases of execution
- instrument application code to find performance bottlenecks
- collect timing data in Symfony applications
When to avoid
- you need a full profiler with call graphs, memory profiling, or flame graphs (use Blackfire or Xdebug)
- you are not working in PHP
Facets
library · maturity stable
monitoring benchmarking developer-tools developer-tools performance php profiling stopwatch symfony-component timing code-instrumentation
6 sources
- readme: https://github.com/symfony/stopwatch · fetched 2026-08-28 · af25b4ef3896
- homepage: https://symfony.com/stopwatch · fetched 2026-08-29 · f404d916e4d6
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/doc/current/performance.html · fetched 2026-08-29 · 15262af7aeb6
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 2fd410222cfe
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · 83b70dd163fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/stopwatch | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="symfony/stopwatch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem