Skip to content

Instantly share code, notes, and snippets.

@vovayartsev
Created March 22, 2017 10:55
Show Gist options
  • Save vovayartsev/62e76d65f5e3e5951b122bff60f4bfd9 to your computer and use it in GitHub Desktop.
Save vovayartsev/62e76d65f5e3e5951b122bff60f4bfd9 to your computer and use it in GitHub Desktop.
heroku dh:docker run jordi/ab ab -n 10000 -c 100 https://performance-test-app.herokuapp.com/
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking performance-test-app.herokuapp.com (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software: Cowboy
Server Hostname: performance-test-app.herokuapp.com
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,2048,128
Document Path: /
Document Length: 841 bytes
Concurrency Level: 100
Time taken for tests: 40.969 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 16000000 bytes
HTML transferred: 8410000 bytes
Requests per second: 244.09 [#/sec] (mean)
Time per request: 409.688 [ms] (mean)
Time per request: 4.097 [ms] (mean, across all concurrent requests)
Transfer rate: 381.39 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 6 8 5.8 7 67
Processing: 25 400 96.6 377 1064
Waiting: 24 399 96.5 375 1064
Total: 81 408 95.6 384 1070
Percentage of the requests served within a certain time (ms)
50% 384
66% 414
75% 439
80% 457
90% 511
95% 590
98% 704
99% 765
100% 1070 (longest request)
h1 Markup examples
- items = []
#content
p This example shows you what a basic Slim file looks like.
== yield
- unless items.empty?
table
- items.each do |item|
tr
td.name = item.name
td.price = item.price
- else
p
| No items found. Please add some inventory.
Thank you!
div id="footer"
| Copyright © #{2017} #{"vovayartsev"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment