Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save code100/7a8f70cc9b9db897ebe60c6969d793c5 to your computer and use it in GitHub Desktop.
Save code100/7a8f70cc9b9db897ebe60c6969d793c5 to your computer and use it in GitHub Desktop.
imgproxy vs alternatives benchmark
Server Software: imgproxy
Server Hostname: 127.0.0.1
Server Port: 8082
Document Path: /unsigned/rs:fit:500:0/plain/local:///wat-arun.jpg
Document Length: 42807 bytes
Concurrency Level: 8
Time taken for tests: 42.921 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 43103000 bytes
HTML transferred: 42807000 bytes
Requests per second: 23.30 [#/sec] (mean)
Time per request: 343.365 [ms] (mean)
Time per request: 42.921 [ms] (mean, across all concurrent requests)
Transfer rate: 980.71 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.4 0 17
Processing: 328 342 13.4 338 456
Waiting: 328 342 13.3 338 456
Total: 328 342 14.2 338 473
Percentage of the requests served within a certain time (ms)
50% 338
66% 343
75% 346
80% 349
90% 357
95% 365
98% 376
99% 385
100% 473 (longest request)
Memory peak usage: 327MB
Result file size: 44.30KB
Server Software: Thumbor/6.7.0
Server Hostname: 127.0.0.1
Server Port: 8888
Document Path: /unsafe/500x0/wat-arun.jpg
Document Length: 46180 bytes
Concurrency Level: 8
Time taken for tests: 68.158 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 46435000 bytes
HTML transferred: 46180000 bytes
Requests per second: 14.67 [#/sec] (mean)
Time per request: 545.262 [ms] (mean)
Time per request: 68.158 [ms] (mean, across all concurrent requests)
Transfer rate: 665.32 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 491 544 121.1 527 2202
Waiting: 491 544 121.1 527 2202
Total: 492 544 121.1 527 2202
Percentage of the requests served within a certain time (ms)
50% 527
66% 536
75% 542
80% 546
90% 562
95% 595
98% 675
99% 1015
100% 2202 (longest request)
Memory peak usage: 1064MB
Result file size: 45.10KB
Server Software: TornadoServer/5.1
Server Hostname: 127.0.0.1
Server Port: 8888
Document Path: /?url=http%3A%2F%2Fimages.dev.com%2Fwat-arun.jpg&w=500&h=500&mode=clip
Document Length: 97934 bytes
Concurrency Level: 8
Time taken for tests: 91.393 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 98162000 bytes
HTML transferred: 97934000 bytes
Requests per second: 10.94 [#/sec] (mean)
Time per request: 731.147 [ms] (mean)
Time per request: 91.393 [ms] (mean, across all concurrent requests)
Transfer rate: 1048.89 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.3 0 7
Processing: 520 727 329.1 556 2291
Waiting: 520 727 329.1 556 2291
Total: 520 727 329.1 556 2291
Percentage of the requests served within a certain time (ms)
50% 556
66% 611
75% 885
80% 1046
90% 1142
95% 1531
98% 1702
99% 1882
100% 2291 (longest request)
Memory peak usage: 2009MB
Result file size: 95.64KB
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8888
Document Path: /display/resize/500x0/wat-arun.jpg
Document Length: 101038 bytes
Concurrency Level: 8
Time taken for tests: 404.630 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 101206000 bytes
HTML transferred: 101038000 bytes
Requests per second: 2.47 [#/sec] (mean)
Time per request: 3237.036 [ms] (mean)
Time per request: 404.630 [ms] (mean, across all concurrent requests)
Transfer rate: 244.26 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 1
Processing: 2872 3230 82.9 3232 3673
Waiting: 2872 3230 82.9 3232 3673
Total: 2872 3230 82.9 3232 3673
Percentage of the requests served within a certain time (ms)
50% 3232
66% 3260
75% 3279
80% 3290
90% 3324
95% 3369
98% 3410
99% 3432
100% 3673 (longest request)
Memory peak usage: 3055M
Result file size: 98.70KB
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8888
Document Path: /500x/http://images.dev.com/wat-arun.jpg
Document Length: 101108 bytes
Concurrency Level: 8
Time taken for tests: 396.457 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 101318000 bytes
HTML transferred: 101108000 bytes
Requests per second: 2.52 [#/sec] (mean)
Time per request: 3171.660 [ms] (mean)
Time per request: 396.457 [ms] (mean, across all concurrent requests)
Transfer rate: 249.57 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 2789 3164 83.0 3167 3555
Waiting: 2789 3164 83.0 3166 3554
Total: 2789 3164 83.0 3167 3555
Percentage of the requests served within a certain time (ms)
50% 3167
66% 3194
75% 3211
80% 3223
90% 3262
95% 3291
98% 3340
99% 3389
100% 3555 (longest request)
Memory peak usage: 4572M
Result file size: 98.74KB
Server Software: imaginary
Server Hostname: 127.0.0.1
Server Port: 8888
Document Path: /fit?width=500&height=500&file=wat-arun.jpg&stripmeta=true
Document Length: 44587 bytes
Concurrency Level: 8
Time taken for tests: 45.059 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 44818497 bytes
HTML transferred: 44587000 bytes
Requests per second: 22.19 [#/sec] (mean)
Time per request: 360.474 [ms] (mean)
Time per request: 45.059 [ms] (mean, across all concurrent requests)
Transfer rate: 971.34 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 335 358 18.3 354 500
Waiting: 335 358 18.3 354 500
Total: 335 358 18.4 355 501
Percentage of the requests served within a certain time (ms)
50% 355
66% 361
75% 365
80% 368
90% 377
95% 386
98% 405
99% 434
100% 501 (longest request)
Memory peak usage: 862M
Result file size: 93.21KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment