testo/bench
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.
main if API response times exceed baselines.microtime() benchmarks or external tools (e.g., Blackfire) for lightweight, test-integrated performance tracking.testo/bench for unit-of-work benchmarks (e.g., service methods) and pair with Blackfire for end-to-end profiling.autocannon, Python: locust).phpbench or xdebug).k6 or JMeter).Executives: "This plugin turns performance into a testable, automated process—just like we do for correctness. For example, if a new feature adds 200ms to checkout, we’ll catch it in CI before it affects users. It’s zero-cost to add (runs alongside existing tests) and gives us data to justify optimizations (e.g., 'This caching layer saves $X/year'). Think of it as performance insurance for Laravel."
Engineering (Backend/DevOps): *"Pros:
@bench to existing Laravel tests—no new tools or dashboards.Tradeoffs:
QA/Testing Teams: *"This lets you measure what matters—not just 'does it work?' but 'how fast does it work?' For example:
Example Pitch for a Laravel E-Commerce App: *"Right now, we guess if new features slow down checkout. With this, we’ll know—and block bad merges. For example:
How can I help you explore Laravel packages today?