All Projects → Insolita → php-async-benchmarks

Insolita / php-async-benchmarks

Licence: other
No description or website provided.

Programming Languages

PHP
23972 projects - #3 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

PHP Async Clients benchmark (Amphp, ReactPHP, Guzzle)

Articles with explanation [ENG] [RUS]

Http requests with saving data to file

Docker:

Concurrency = 25, iterations=10

Num queries Client Min Time Max Time Avg Time
25 queries
guzzle(multicurl) 1.9195 2.3427 2.1016
amphp 1.7752 2.1213 1.9646
reactphp (buzz-react) 3.9908 4.1035 4.0339
100 queries
guzzle(multicurl) 5.0714 6.345 5.7387
amphp 4.8419 5.7793 5.111
reactphp (buzz-react) 6.8191 6.8681 6.8394
500 queries
guzzle(multicurl) 22.7216 33.7153 27.6107
amphp 24.045 35.9257 27.4128
reactphp (buzz-react) 21.6065 24.7808 23.6808
2000 queries
guzzle(multicurl) 100.2036 139.9788 120.0329
amphp 109.8371 115.3629 112.8217
reactphp (buzz-react) 88.6737 92.6061 91.0348
4000 queries
guzzle(multicurl) 223.741 239.7989 232.8649
amphp 204.2293 227.4679 218.8668
reactphp (buzz-react) 173.8275 187.5087 182.6765

Production server

Num queries Client Min Time Max Time Avg Time
25 queries
guzzle(multicurl) 1.5062 1.9283 1.6258
amphp 1.6092 2.8863 2.2884
reactphp 3.6187 4.0157 3.9193
4000 queries
guzzle(multicurl) 81.9028 109.17 89.1417
amphp 82.0515 85.7368 83.972
reactphp 73.61 76.9756 74.8615
6000 queries
guzzle(multicurl) 158.2083 170.6543 162.6997
amphp 128.8539 136.4675 132.6196
reactphp 117.5254 120.8436 118.7494
10000 queries (3 iterations)
guzzle(multicurl) 224.4769 230.3707 226.957
amphp 216.8338 219.8248 218.4246
reactphp 189.7888 194.4782 191.8944
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].