Skip to content

Instantly share code, notes, and snippets.

@sean3z
Created February 7, 2017 01:48
Show Gist options
  • Save sean3z/394eefece427debf2ffe31810060cb24 to your computer and use it in GitHub Desktop.
Save sean3z/394eefece427debf2ffe31810060cb24 to your computer and use it in GitHub Desktop.
AB Benchmark for Rust (via Rocket) - 10,000 request (10 concurrent)
D:\www\apache-2.4.25\bin>ab.exe -n 10000 -c 10 http://localhost:8000/
This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Server Software: rocket
Server Hostname: localhost
Server Port: 8000
Document Path: /
Document Length: 13 bytes
Concurrency Level: 10
Time taken for tests: 606.783 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 1650000 bytes
HTML transferred: 130000 bytes
Requests per second: 16.48 [#/sec] (mean)
Time per request: 606.783 [ms] (mean)
Time per request: 60.678 [ms] (mean, across all concurrent requests
Transfer rate: 2.66 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.5 0 8
Processing: 8 606 361.4 602 2024
Waiting: 6 544 323.8 544 1742
Total: 8 606 361.4 602 2024
Percentage of the requests served within a certain time (ms)
50% 602
66% 786
75% 890
80% 948
90% 1089
95% 1190
98% 1299
99% 1370
100% 2024 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment