Skip to content

Instantly share code, notes, and snippets.

@jafow
Last active December 16, 2020 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jafow/9b174eb6c264709f29f4c6a0b273ea40 to your computer and use it in GitHub Desktop.
Save jafow/9b174eb6c264709f29f4c6a0b273ea40 to your computer and use it in GitHub Desktop.
ballotnav loadtest reports

load test results

using quick & dirty loadtest on a few jurisdiction & lat lon

jurisdiction

URL Errors Number requests concurrency Mean response time (ms)
/public/jurisdictions/407 0 5000 20 604
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Target URL:          https://api.dev.ballotnav.org/public/jurisdictions/407
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Max requests:        5000
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Concurrency level:   20
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Agent:               keepalive
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Completed requests:  5000
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Total errors:        0
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Total time:          151.20598777499998 s
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Requests per second: 33
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Mean latency:        604.2 ms
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO Percentage of the requests served within a certain time
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO   50%      581 ms
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO   90%      810 ms
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO   95%      983 ms
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO   99%      1302 ms
[Wed Dec 16 2020 07:03:27 GMT+0000 (Coordinated Universal Time)] INFO  100%      1786 ms (longest request)

lat lon

URL Errors Number requests concurrency Mean response time (ms)
/public/jurisdictions?lat=32.8407&lon=-83.6324 0 1500 20 186
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Target URL:          https://api.dev.ballotnav.org/public/jurisdictions?lat=32.8407&lon=-83.6324
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Max requests:        1500
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Concurrency level:   20
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Agent:               none
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Completed requests:  1500
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Total errors:        0
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Total time:          14.007614557 s
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Requests per second: 107
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Mean latency:        185.5 ms
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO Percentage of the requests served within a certain time
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO   50%      181 ms
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO   90%      199 ms
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO   95%      208 ms
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO   99%      283 ms
[Wed Dec 16 2020 06:59:53 GMT+0000 (Coordinated Universal Time)] INFO  100%      331 ms (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment