Skip to content

Instantly share code, notes, and snippets.

@totten
Created July 5, 2018 21:24
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 totten/ec4bffd723afb7967aec56a3040b9ca3 to your computer and use it in GitHub Desktop.
Save totten/ec4bffd723afb7967aec56a3040b9ca3 to your computer and use it in GitHub Desktop.
Results of running "ab -n 100 -c 3 http://dmaster.bknix:8001/civicrm/event/info?id=1" with different container options
<?php
define('CIVICRM_CONTAINER_CACHE', 'always');
/*
Concurrency Level: 3
Time taken for tests: 12.748 seconds
Complete requests: 100
Failed requests: 0
Total transferred: 2269000 bytes
HTML transferred: 2210400 bytes
Requests per second: 7.84 [#/sec] (mean)
Time per request: 382.446 [ms] (mean)
Time per request: 127.482 [ms] (mean, across all concurrent requests)
Transfer rate: 173.81 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 338 379 63.6 355 574
Waiting: 316 336 25.0 332 526
Total: 338 379 63.6 355 574
Percentage of the requests served within a certain time (ms)
50% 355
66% 359
75% 364
80% 366
90% 543
95% 551
98% 562
99% 574
100% 574 (longest request)
*/
<?php
define('CIVICRM_CONTAINER_CACHE', 'auto');
/*
Concurrency Level: 3
Time taken for tests: 12.698 seconds
Complete requests: 100
Failed requests: 0
Total transferred: 2269000 bytes
HTML transferred: 2210400 bytes
Requests per second: 7.88 [#/sec] (mean)
Time per request: 380.931 [ms] (mean)
Time per request: 126.977 [ms] (mean, across all concurrent requests)
Transfer rate: 174.51 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 337 378 71.5 350 652
Waiting: 316 342 47.7 328 606
Total: 337 379 71.5 350 652
Percentage of the requests served within a certain time (ms)
50% 350
66% 355
75% 358
80% 367
90% 549
95% 555
98% 641
99% 652
100% 652 (longest request)
*/
<?php
define('CIVICRM_CONTAINER_CACHE', 'never');
/*
Concurrency Level: 3
Time taken for tests: 13.176 seconds
Complete requests: 100
Failed requests: 0
Total transferred: 2269000 bytes
HTML transferred: 2210400 bytes
Requests per second: 7.59 [#/sec] (mean)
Time per request: 395.285 [ms] (mean)
Time per request: 131.762 [ms] (mean, across all concurrent requests)
Transfer rate: 168.17 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 362 393 72.3 368 777
Waiting: 339 347 4.9 346 369
Total: 362 393 72.3 368 777
Percentage of the requests served within a certain time (ms)
50% 368
66% 371
75% 374
80% 376
90% 565
95% 574
98% 578
99% 777
100% 777 (longest request)
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment