dragon-code/benchmark
Lightweight PHP benchmarking helper to compare execution speed of multiple callbacks. Run named tests, repeat iterations, trim outliers for cleaner averages, and print results (min/max/avg/total + memory) to the console. Includes bench() helper and Benchmark class.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| devster/ubench | 0.86 | Ultra small PHP benchmarking library with a simple API to time code, measure memory usage, run iterations, and print readable results. Great for quick micro-benchmarks in scripts, tests, and CLI tools without dependencies. | 564 | 569 | 70 | 10K | 2 | 6.0 | 18.1 | — | 7 years ago | |
| ekino/console-metrics-bundle | 0.86 | — | 6 | 6 | 1 | 3 | 0 | 16.4 | 2.4 | MIT | 2 months ago | |
| phpbench/phpbench | 0.84 | PHPBench is a PHP benchmarking runner, like PHPUnit for performance. Run isolated iterations and revolutions, track time and memory, generate reports (console/CSV/HTML), store and compare results, and add assertions to catch regressions. | 2,006 | 2,010 | 132 | 515K | 30 | 50.3 | 51.9 | MIT | 2 months ago | |
| testo/bench | 0.84 | Benchmark plugin for Testo. Runs benchmark methods repeatedly, records per-iteration timings, and reports descriptive statistics plus warnings for variance, outliers, and noisy environments—ideal for tracking performance alongside correctness tests. | 0 | 0 | 0 | 1K | 0 | 0.0 | 43.1 | — | — | |
| dovstone/symfony-blog-admin-bundle-mongodb-based | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago |
How can I help you explore Laravel packages today?