Download the PHP package best-served-cold/benchmark without Composer
On this page you can find all versions of the php package best-served-cold/benchmark. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download best-served-cold/benchmark
More information about best-served-cold/benchmark
Files in best-served-cold/benchmark
Download best-served-cold/benchmark
More information about best-served-cold/benchmark
Files in best-served-cold/benchmark
Vendor best-served-cold
Package benchmark
Short Description Benchmark - PHP Standalone Benchmark class.
License MIT
Homepage http://bestservedcold.com
Package benchmark
Short Description Benchmark - PHP Standalone Benchmark class.
License MIT
Homepage http://bestservedcold.com
Please rate this library. Is it a good library?
Informations about the package benchmark
Benchmark
Install
Usage
Call in the Benchmark and Output classes
Then benchmark a bunch of code:
Returns something like this:
As no $name argument is specified, a hashed name will be given as means of identification.
Naming benchmarks
Returns something like:
Specifying output interface
Returns something like:
Name | Metric | Value |
---|---|---|
susan | MicroTime | 0.0014090538024902 |
susan | MemoryUsage | 76.03 KB |
susan | DeclaredInterface | |
susan | DeclaredTrait | 1 |
susan | DefinedFunction | |
susan | DefinedConstant | |
susan | IncludedFile | 1 |
susan | DeclaredClass | |
susan | PeakMemoryUsage | 2.18 MB |
All versions of benchmark with dependencies
PHP Build Version
Package Version
Requires
best-served-cold/phalue-objects Version
v0.0.11-alpha
symfony/console Version ^3.2
best-served-cold/html-builder Version ^2.0
symfony/console Version ^3.2
best-served-cold/html-builder Version ^2.0
The package best-served-cold/benchmark contains the following files
Loading the files please wait ....