Skip to content

Commit

Permalink
Update the readme with better benchmarks (#173)
Browse files Browse the repository at this point in the history
* Update readme with better benchmarks

* Remove httpsoft
  • Loading branch information
Nyholm authored Feb 18, 2021
1 parent 23ae1f0 commit 902515f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ A super lightweight PSR-7 implementation. Very strict and very fast.

| Description | Guzzle | Laminas | Slim | Nyholm |
| ---- | ------ | ---- | ---- | ------ |
| Lines of code | 3 000 | 3 000 | 1 700 | 1 000 |
| Lines of code | 3.300 | 3.100 | 1.900 | 1.000 |
| PSR-7* | 66% | 100% | 75% | 100% |
| PSR-17 | No | Yes | Yes | Yes |
| HTTPlug | No | No | No | Yes |
| Performance** | 1.34x | 1x | 1.16x | 1.75x |
| Performance (runs per second)** | 14.553 | 14.703 | 13.416 | 17.734 |

\* Percent of completed tests in https://github.com/php-http/psr7-integration-tests

\** See benchmark at https://github.com/Nyholm/http-client-benchmark (higher is better)
\** Benchmark with 50.000 runs. See https://github.com/devanych/psr-http-benchmark (higher is better)

## Installation

Expand Down

0 comments on commit 902515f

Please sign in to comment.