testo / bench
Benchmark plugin for the Testo testing framework.
Fund package maintenance!
0.1.12
2026-09-14 13:30 UTC
Requires
- php: >=8.2
- internal/container: ^1.1
- testo/data: ^0.1.9
- testo/filter: ^0.1.8
- testo/inline: ^0.1.9
- testo/testo: 0.10.47 - 1
Requires (Dev)
- testo/assert: ^0.1.15
Suggests
- testo/assert: Enables the benchmark verdict as an assertion: current must be the fastest within tolerance, otherwise the test fails.
Provides
None
Conflicts
None
Replaces
None
README
Benchmark plugin
Important
🪞 This is a read-only mirror.
Active development of the Testo project lives in php-testo/testo under plugin/bench/. This repository is automatically synchronized from there on every release.
File issues and pull requests in the main monorepo, not here.
About
Runs benchmark methods many times, collects per-iteration timings, and reports descriptive statistics with diagnostic warnings about variance, outliers and noisy environments. Useful for tracking performance characteristics alongside correctness tests.
Install
composer require --dev testo/bench