Skip to content

Instantly share code, notes, and snippets.

@huksley
Last active February 14, 2019 09:04
Show Gist options
  • Save huksley/5bf190143d3175c672ee97f41941ffbe to your computer and use it in GitHub Desktop.
Save huksley/5bf190143d3175c672ee97f41941ffbe to your computer and use it in GitHub Desktop.
GraalVM compiled native binary Validate VAT API calls 50 concurrency 5 cold boot 1.5s https://github.com/huksley/serverless-java-micronaut
> ab -n 50 -c 5 -T application/json -p example-validate-vat.json -m POST https://deadbeef.execute-api.eu-west-1.amazonaws.com/dev/vat/validate
This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking deadbeef.execute-api.eu-west-1.amazonaws.com (be patient).....done
Server Software:
Server Hostname: deadbeef.execute-api.eu-west-1.amazonaws.com
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128
TLS Server Name: deadbeef.execute-api.eu-west-1.amazonaws.com
Document Path: /dev/vat/validate
Document Length: 60 bytes
Concurrency Level: 5
Time taken for tests: 7.903 seconds
Complete requests: 50
Failed requests: 0
Total transferred: 17300 bytes
Total body sent: 12000
HTML transferred: 3000 bytes
Requests per second: 6.33 [#/sec] (mean)
Time per request: 790.272 [ms] (mean)
Time per request: 158.054 [ms] (mean, across all concurrent requests)
Transfer rate: 2.14 [Kbytes/sec] received
1.48 kb/s sent
3.62 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 132 148 11.5 147 185
Processing: 440 616 291.6 531 1794
Waiting: 440 616 291.7 531 1794
Total: 583 765 290.7 684 1949
Percentage of the requests served within a certain time (ms)
50% 684
66% 706
75% 722
80% 725
90% 862
95% 1606
98% 1949
99% 1949
100% 1949 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment