Skip to content

Instantly share code, notes, and snippets.

@alanhoff
Created July 24, 2015 19:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanhoff/d26713c0f081b1fa3cd7 to your computer and use it in GitHub Desktop.
Save alanhoff/d26713c0f081b1fa3cd7 to your computer and use it in GitHub Desktop.
Benchmark Hapi vs Express
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /
Document Length: 11 bytes
Concurrency Level: 100
Time taken for tests: 11.099 seconds
Complete requests: 50000
Failed requests: 0
Total transferred: 10250000 bytes
HTML transferred: 550000 bytes
Requests per second: 4504.74 [#/sec] (mean)
Time per request: 22.199 [ms] (mean)
Time per request: 0.222 [ms] (mean, across all concurrent requests)
Transfer rate: 901.83 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 4
Processing: 15 22 5.3 20 110
Waiting: 15 22 5.3 20 110
Total: 16 22 5.4 20 112
Percentage of the requests served within a certain time (ms)
50% 20
66% 21
75% 22
80% 23
90% 26
95% 30
98% 36
99% 41
100% 112 (longest request)
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /
Document Length: 11 bytes
Concurrency Level: 100
Time taken for tests: 26.492 seconds
Complete requests: 50000
Failed requests: 0
Total transferred: 9650000 bytes
HTML transferred: 550000 bytes
Requests per second: 1887.35 [#/sec] (mean)
Time per request: 52.984 [ms] (mean)
Time per request: 0.530 [ms] (mean, across all concurrent requests)
Transfer rate: 355.72 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 7
Processing: 38 53 20.7 44 165
Waiting: 38 53 20.7 44 165
Total: 39 53 20.8 44 167
Percentage of the requests served within a certain time (ms)
50% 44
66% 49
75% 50
80% 56
90% 81
95% 111
98% 120
99% 124
100% 167 (longest request)
@hodlbirb
Copy link

Good Day,
What tool did you use to test it? ab?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment