Created
August 29, 2017 15:41
-
-
Save orubel/29f9a7084eea85104c58a9dfebcf1e9e to your computer and use it in GitHub Desktop.
pi test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi:~ $ ab -c 50 -n 1000 -H "Content-Type: application/json" -H"Authorization: Bearer u0s0t8jn1hi08gi8h26itpjq71629kg8" "http://localhost:8080/v0.1/person/show/2" | |
This is ApacheBench, Version 2.3 <$Revision: 1604373 $> | |
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) | |
Completed 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
Completed 400 requests | |
Completed 500 requests | |
Completed 600 requests | |
Completed 700 requests | |
Completed 800 requests | |
Completed 900 requests | |
Completed 1000 requests | |
Finished 1000 requests | |
Server Software: | |
Server Hostname: localhost | |
Server Port: 8080 | |
Document Path: /v0.1/person/show/2 | |
Document Length: 100 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 6.860 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Total transferred: 404000 bytes | |
HTML transferred: 100000 bytes | |
Requests per second: 145.76 [#/sec] (mean) | |
Time per request: 343.022 [ms] (mean) | |
Time per request: 6.860 [ms] (mean, across all concurrent requests) | |
Transfer rate: 57.51 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 1 1.9 0 11 | |
Processing: 122 338 123.8 320 1027 | |
Waiting: 122 330 123.7 314 1025 | |
Total: 123 339 124.0 320 1036 | |
Percentage of the requests served within a certain time (ms) | |
50% 320 | |
66% 375 | |
75% 416 | |
80% 441 | |
90% 504 | |
95% 564 | |
98% 633 | |
99% 698 | |
100% 1036 (longest request) | |
pi@raspberrypi:~ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Full API Framework tested on default install of Raspberry Pi running Raspbian (not headless)