Download the PHP package takigawaakinori/phpunit-profiler without Composer
On this page you can find all versions of the php package takigawaakinori/phpunit-profiler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download takigawaakinori/phpunit-profiler
More information about takigawaakinori/phpunit-profiler
Files in takigawaakinori/phpunit-profiler
Download takigawaakinori/phpunit-profiler
More information about takigawaakinori/phpunit-profiler
Files in takigawaakinori/phpunit-profiler
Vendor takigawaakinori
Package phpunit-profiler
Short Description A PHPUnit extension that profiles and reports the slowest tests
License MIT
Package phpunit-profiler
Short Description A PHPUnit extension that profiles and reports the slowest tests
License MIT
Please rate this library. Is it a good library?
Informations about the package phpunit-profiler
PHPUnit Profiler
A PHPUnit extension that profiles test execution time and reports the slowest tests.
Supports PHPUnit 10, 11, 12, and 13.
日本語版はこちら: README.ja.md
Installation
Usage
Add the extension to your phpunit.xml (or phpunit.xml.dist):
Configuration
You can customize the extension behavior by adding <parameter> elements:
| Parameter | Type | Default | Description |
|---|---|---|---|
showTopN |
bool | true |
Show the top N slowest tests list. Set to false to hide |
topCount |
int | 20 |
Number of slowest tests to display |
showPareto |
bool | false |
Show Pareto analysis (top 20% of tests and their share of total execution time) |
slowThreshold |
float | (disabled) | Show tests slower than the specified threshold in seconds |
jsonOutput |
string | (disabled) | File path to export all test durations as JSON |
Invalid Parameter Values
topCount: If the value is non-numeric or less than1, it falls back to the default20.slowThreshold: If the value is non-numeric, threshold filtering is disabled.showTopN/showPareto: These are string-based flags. Usetrueorfalseexactly.
Output Examples
After running your tests, you'll see output like:
Requirements
- PHP 8.1+
- PHPUnit 10.0+
License
MIT
All versions of phpunit-profiler with dependencies
PHP Build Version
Package Version
The package takigawaakinori/phpunit-profiler contains the following files
Loading the files please wait ...