Skip to content

Warmbellycat/php-async-benchmarks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.938 2.1224 2.0283
amphp 1.8409 2.6186 2.1615
reactphp 6.7534 6.8043 6.7757
100 queries
guzzle(multicurl) 5.1422 6.4187 5.6293
amphp 4.6551 6.8954 4.9794
reactphp 8.5821 9.354 8.8906
500 queries
guzzle(multicurl) 21.6166 37.4057 29.6603
amphp 19.1308 27.2957 23.5737
reactphp 20.1959 30.6965 25.1002
2000 queries
guzzle(multicurl) 93.5699 121.8421 111.7504
amphp 65.8536 94.9016 84.1415
reactphp 73.346 113.252 96.7179
4000 queries
guzzle(multicurl) 218.3731 236.0503 228.1774
amphp 164.6433 183.1089 172.692
reactphp 199.0026 206.5144 203.9312

Production server

Num queries Client Min Time Max Time Avg Time
25 queries
guzzle(multicurl) 1.4136 1.5777 1.5056
amphp 1.6166 2.2392 1.8866
reactphp 6.9168 7.0695 7.0179
4000 queries
guzzle(multicurl) 89.539 105.6129 92.9081
amphp 65.9951 75.299 70.2124
reactphp 81.8953 87.0721 83.5715
6000 queries
guzzle(multicurl) 157.3337 172.6499 163.9481
amphp 93.9942 108.4978 100.1591
reactphp 141.9791 150.1749 144.8111
10000 queries (3 iterations)
amphp 155.3459 160.7316 158.2167
reactphp 224.5488 237.4283 231.1185

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 91.3%
  • Dockerfile 8.7%