Skip to content

Instantly share code, notes, and snippets.

@cfitz
Last active March 27, 2020 07:13
Show Gist options
  • Save cfitz/c80942148ec7d114edfbdcdea093b003 to your computer and use it in GitHub Desktop.
Save cfitz/c80942148ec7d114edfbdcdea093b003 to your computer and use it in GitHub Desktop.
-----------------------------------
Kuben Stage
( 1 worker, 1 thread, react-rails prerender on, no OJ, JEMALLOC OFF, 5 apps)
-----------------------------------
Total allocated: 24312661 bytes (249894 objects)
Total retained: 1223539 bytes (4574 objects)
allocated memory by gem
-----------------------------------
17958925 activesupport-5.2.3
1881538 actionview-5.2.3
1600956 app/app
1273205 json
819855 react-rails-2.6.0
431766 execjs-2.7.0
81488 erubi-1.8.0
58192 i18n-1.6.0
40855 actionpack-5.2.3
34917 app/lib
23600 tzinfo-1.2.5
21337 hiredis-0.6.3
18264 rack-2.0.8
17568 concurrent-ruby-1.1.5
12848 monitor
# 2868
Avg response time: 2435
Request/s 9.6
failures: 37
RAM: 4.29 G ( all containers in pod restarted )
-----------------------------------
Current Kuben on OJ
( 1 worker, 1 thread, react-rails prerender on, OJ, JEMALLOC OFF, 5 apps)
-----------------------------------
Total allocated: 13715812 bytes (87006 objects)
Total retained: 1242068 bytes (4212 objects)
allocated memory by gem
-----------------------------------
6610134 activesupport-5.2.3
1880770 actionview-5.2.3
1601130 app/app
1047608 net
819240 react-rails-2.6.0
727598 app/lib
431464 execjs-2.7.0
122400 activemodel-5.2.3
81488 erubi-1.8.0
71452 activerecord-5.2.3
59472 i18n-1.6.0
49666 bootsnap-1.4.4
40976 actionpack-5.2.3
32048 monitor
27578 rack-mini-profiler-1.1.4
23600 tzinfo-1.2.5
20048 concurrent-ruby-1.1.5
18272 rack-2.0.8
# 2868
Avg response time: 715
Request/s 12.9
failures: 17
RAM: 4.93 G
-----------------------------------
Current Kuben on OJ and JEMALLOC
( 1 worker, 1 thread, react-rails prerender on, OJ, JEMALLOC on, 5 apps)
-----------------------------------
Total allocated: 13619994 bytes (86954 objects)
Total retained: 1241087 bytes (4191 objects)
allocated memory by gem
-----------------------------------
6611602 activesupport-5.2.3
1881581 actionview-5.2.3
1601130 app/app
953902 net
819862 react-rails-2.6.0
727664 app/lib
431780 execjs-2.7.0
122400 activemodel-5.2.3
81488 erubi-1.8.0
71452 activerecord-5.2.3
58192 i18n-1.6.0
49666 bootsnap-1.4.4
40976 actionpack-5.2.3
32048 monitor
27578 rack-mini-profiler-1.1.4
23600 tzinfo-1.2.5
20048 concurrent-ruby-1.1.5
18272 rack-2.0.8
# 3168
Avg response time: 736
Request/s 13.1
failures: 32
RAM: 4.72 G
-----------------------------------
Experiment #1
( 2 workers, 5 threads, OJ, JEMALLOC, react-rails prerender on)
-----------------------------------
Total allocated: 12297414 bytes (81650 objects)
Total retained: 1220804 bytes (4174 objects)
allocated memory by gem
-----------------------------------
6928920 activesupport-5.2.3
1881082 actionview-5.2.3
1601130 app/app
819725 react-rails-2.6.0
431506 execjs-2.7.0
122400 activemodel-5.2.3
81488 erubi-1.8.0
71452 activerecord-5.2.3
58912 i18n-1.6.0
49666 bootsnap-1.4.4
40976 actionpack-5.2.3
39012 app/lib
30896 monitor
27578 rack-mini-profiler-1.1.4
23600 tzinfo-1.2.5
21322 hiredis-0.6.3
20048 concurrent-ruby-1.1.5
18288 rack-2.0.8
6176 connection_pool-2.2.2
5120 arel-9.0.0
4192 sprockets-rails-3.2.1
3142 ougai-1.8.0
2750 lograge-0.11.2
1888 uri
1888 webpacker-4.0.7
1154 base64
# 3016
Avg response time: 207
Request/s 14.4
failures: 17
RAM: 6.42 G
-----------------------------------
Experiment 2
( 2 workers, 5 threads, OJ, JEMALLOC, react-rails prerender off)
-----------------------------------
Total allocated: 12086015 bytes (86765 objects)
Total retained: 846205 bytes (4172 objects)
allocated memory by gem
-----------------------------------
6197840 activesupport-5.2.3
1809984 actionview-5.2.3
1207914 app/app
954917 net
726939 app/lib
603224 react-rails-2.6.0
122400 activemodel-5.2.3
81488 erubi-1.8.0
71452 activerecord-5.2.3
58192 i18n-1.6.0
49666 bootsnap-1.4.4
40976 actionpack-5.2.3
32048 monitor
27578 rack-mini-profiler-1.1.4
23600 tzinfo-1.2.5
20048 concurrent-ruby-1.1.5
18284 rack-2.0.8
# 3016
Avg response time: 193
Request/s 13.8
failures: 30
RAM: 3.32 G
-----------------------------------
Experiment 3
( 1 worker, 5 threads, OJ, JEMALLOC, react-rails prerender on)
-----------------------------------
Total allocated: 12331323 bytes (81267 objects)
Total retained: 818007 bytes (3914 objects)
allocated memory by gem
-----------------------------------
6219739 activesupport-5.2.3
1772297 actionview-5.2.3
1207908 app/app
799930 net
719966 react-rails-2.6.0
632464 app/lib
384788 execjs-2.7.0
122400 activemodel-5.2.3
81488 erubi-1.8.0
# 3028
Avg response time: 221
Request/s 13.7
failures: 34
RAM: 4.91 G
-----------------------------------
Experiment 3.5
( 1 worker, 3 threads, OJ, JEMALLOC, react-rails prerender on)
-----------------------------------
Total allocated: 13899755 bytes (92743 objects)
Total retained: 1977887 bytes (7764 objects)
allocated memory by gem
-----------------------------------
8216253 activesupport-5.2.3
1859269 actionview-5.2.3
1629340 app/app
935730 react-rails-2.6.0
490968 execjs-2.7.0
401332 puma-4.3.3
73058 actionpack-5.2.3
69384 i18n-1.6.0
44117 app/lib
31538 hiredis-0.6.3
31195 rack-2.0.8
29696 tzinfo-1.2.5
24544 monitor
# 4303
Avg response time: 204
Request/s 13.8
failures: 45
RAM: 5.1 G
-----------------------------------
Experiment 4: Unicorn
( 3 workers, OJ, JEMALLOC, react-rails prerender on)
-----------------------------------
Total allocated: 10898927 bytes (73569 objects)
Total retained: 774259 bytes (3555 objects)
allocated memory by gem
-----------------------------------
6469259 activesupport-5.2.3
1770488 actionview-5.2.3
1207748 app/app
719557 react-rails-2.6.0
384578 execjs-2.7.0
81488 erubi-1.8.0
60096 i18n-1.6.0
40859 actionpack-5.2.3
36325 app/lib
23712 tzinfo-1.2.5
18920 hiredis-0.6.3
18235 rack-2.0.8
17264 concurrent-ruby-1.1.5
12848 monitor
# 3477
Avg response time: 203
Request/s 13.3
failures: 36
RAM: 7.3 G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment