Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frameworks/rails/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ RUN apt-get update && \
# Use Jemalloc
ENV LD_PRELOAD=libjemalloc.so.2

ENV RUBY_YJIT_ENABLE=1
# YJIT is enabled by Rails
# ENV RUBY_YJIT_ENABLE=1
ENV RUBY_MN_THREADS=1
ENV RACK_ENV=production
ENV WEB_CONCURRENCY=auto
Expand Down
24 changes: 12 additions & 12 deletions site/data/api-16-1024.json
Original file line number Diff line number Diff line change
Expand Up @@ -724,28 +724,28 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 25953,
"avg_latency": "38.17ms",
"p99_latency": "115.40ms",
"cpu": "1672.2%",
"memory": "1.1GiB",
"rps": 24502,
"avg_latency": "40.77ms",
"p99_latency": "130.90ms",
"cpu": "1732.7%",
"memory": "911MiB",
"connections": 1024,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "136.87MB/s",
"input_bw": "1.46MB/s",
"reconnects": 77720,
"status_2xx": 389296,
"bandwidth": "129.24MB/s",
"input_bw": "1.38MB/s",
"reconnects": 73409,
"status_2xx": 367542,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0,
"tpl_baseline": 145906,
"tpl_json": 145989,
"tpl_baseline": 137711,
"tpl_json": 137929,
"tpl_db": 0,
"tpl_upload": 0,
"tpl_static": 0,
"tpl_async_db": 97401
"tpl_async_db": 91902
},
{
"framework": "ring-http-exchange",
Expand Down
24 changes: 12 additions & 12 deletions site/data/api-4-256.json
Original file line number Diff line number Diff line change
Expand Up @@ -724,28 +724,28 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 10147,
"avg_latency": "24.74ms",
"p99_latency": "92.10ms",
"cpu": "393.9%",
"memory": "381MiB",
"rps": 9791,
"avg_latency": "25.67ms",
"p99_latency": "99.60ms",
"cpu": "393.4%",
"memory": "309MiB",
"connections": 256,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "53.50MB/s",
"input_bw": "584.64KB/s",
"reconnects": 30438,
"status_2xx": 152218,
"bandwidth": "51.64MB/s",
"input_bw": "564.13KB/s",
"reconnects": 29359,
"status_2xx": 146875,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0,
"tpl_baseline": 57078,
"tpl_json": 57086,
"tpl_baseline": 55046,
"tpl_json": 55073,
"tpl_db": 0,
"tpl_upload": 0,
"tpl_static": 0,
"tpl_async_db": 38054
"tpl_async_db": 36756
},
{
"framework": "ring-http-exchange",
Expand Down
18 changes: 9 additions & 9 deletions site/data/async-db-1024.json
Original file line number Diff line number Diff line change
Expand Up @@ -576,19 +576,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 68096,
"avg_latency": "14.42ms",
"p99_latency": "30.90ms",
"cpu": "6282.2%",
"memory": "3.0GiB",
"rps": 68747,
"avg_latency": "14.28ms",
"p99_latency": "31.20ms",
"cpu": "6394.8%",
"memory": "2.8GiB",
"connections": 1024,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "284.09MB/s",
"input_bw": "4.55MB/s",
"reconnects": 26754,
"status_2xx": 680968,
"bandwidth": "286.57MB/s",
"input_bw": "4.59MB/s",
"reconnects": 27192,
"status_2xx": 687479,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
16 changes: 8 additions & 8 deletions site/data/baseline-4096.json
Original file line number Diff line number Diff line change
Expand Up @@ -789,19 +789,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 31194,
"avg_latency": "122.33ms",
"p99_latency": "229.00ms",
"cpu": "4690.8%",
"memory": "6.2GiB",
"rps": 34370,
"avg_latency": "100.06ms",
"p99_latency": "345.20ms",
"cpu": "4988.7%",
"memory": "6.5GiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "7.02MB/s",
"input_bw": "2.41MB/s",
"bandwidth": "7.73MB/s",
"input_bw": "2.66MB/s",
"reconnects": 0,
"status_2xx": 155970,
"status_2xx": 171852,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
18 changes: 9 additions & 9 deletions site/data/baseline-512.json
Original file line number Diff line number Diff line change
Expand Up @@ -789,19 +789,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 59667,
"avg_latency": "8.57ms",
"p99_latency": "56.80ms",
"cpu": "5111.6%",
"memory": "6.5GiB",
"rps": 77800,
"avg_latency": "6.59ms",
"p99_latency": "81.50ms",
"cpu": "5704.5%",
"memory": "6.8GiB",
"connections": 512,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "13.42MB/s",
"input_bw": "4.61MB/s",
"reconnects": 183,
"status_2xx": 298335,
"bandwidth": "17.50MB/s",
"input_bw": "6.01MB/s",
"reconnects": 271,
"status_2xx": 389004,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
18 changes: 9 additions & 9 deletions site/data/json-4096.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,19 +616,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 122695,
"avg_latency": "28.85ms",
"p99_latency": "61.20ms",
"cpu": "6462.5%",
"memory": "4.4GiB",
"rps": 121954,
"avg_latency": "29.78ms",
"p99_latency": "81.00ms",
"cpu": "6386.9%",
"memory": "3.7GiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "440.58MB/s",
"input_bw": "5.85MB/s",
"reconnects": 22541,
"status_2xx": 613479,
"bandwidth": "437.26MB/s",
"input_bw": "5.82MB/s",
"reconnects": 22528,
"status_2xx": 609773,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
18 changes: 9 additions & 9 deletions site/data/json-comp-16384.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,19 +562,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 82689,
"avg_latency": "109.26ms",
"p99_latency": "946.30ms",
"cpu": "6510.2%",
"memory": "4.3GiB",
"rps": 84182,
"avg_latency": "126.69ms",
"p99_latency": "996.10ms",
"cpu": "6497.3%",
"memory": "5.0GiB",
"connections": 16384,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "121.92MB/s",
"input_bw": "6.15MB/s",
"reconnects": 11454,
"status_2xx": 413448,
"bandwidth": "124.22MB/s",
"input_bw": "6.26MB/s",
"reconnects": 12247,
"status_2xx": 420912,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
18 changes: 9 additions & 9 deletions site/data/json-comp-4096.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,19 +562,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 84165,
"avg_latency": "43.88ms",
"p99_latency": "72.40ms",
"cpu": "6514.4%",
"memory": "4.1GiB",
"rps": 80772,
"avg_latency": "46.01ms",
"p99_latency": "124.80ms",
"cpu": "6387.8%",
"memory": "3.9GiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "124.15MB/s",
"input_bw": "6.26MB/s",
"reconnects": 14964,
"status_2xx": 420827,
"bandwidth": "119.17MB/s",
"input_bw": "6.01MB/s",
"reconnects": 14271,
"status_2xx": 403861,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
18 changes: 9 additions & 9 deletions site/data/json-comp-512.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,19 +562,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 84618,
"avg_latency": "6.05ms",
"p99_latency": "21.00ms",
"cpu": "6506.7%",
"memory": "4.0GiB",
"rps": 81405,
"avg_latency": "6.29ms",
"p99_latency": "22.80ms",
"cpu": "6484.1%",
"memory": "3.0GiB",
"connections": 512,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "124.86MB/s",
"input_bw": "6.29MB/s",
"reconnects": 16775,
"status_2xx": 423094,
"bandwidth": "120.14MB/s",
"input_bw": "6.06MB/s",
"reconnects": 16212,
"status_2xx": 407026,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
14 changes: 7 additions & 7 deletions site/data/json-tls-4096.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,18 +310,18 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 117389,
"avg_latency": "34.22ms",
"p99_latency": "34.22ms",
"cpu": "6453.2%",
"memory": "5.4GiB",
"rps": 110489,
"avg_latency": "37.19ms",
"p99_latency": "37.19ms",
"cpu": "6468.5%",
"memory": "4.1GiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "421.07MB",
"bandwidth": "396.32MB",
"reconnects": 0,
"status_2xx": 598796,
"status_2xx": 563843,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
18 changes: 9 additions & 9 deletions site/data/limited-conn-4096.json
Original file line number Diff line number Diff line change
Expand Up @@ -789,19 +789,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 27707,
"avg_latency": "131.06ms",
"p99_latency": "276.40ms",
"cpu": "4429.1%",
"memory": "6.1GiB",
"rps": 27361,
"avg_latency": "133.89ms",
"p99_latency": "282.10ms",
"cpu": "4699.5%",
"memory": "5.7GiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "6.23MB/s",
"input_bw": "2.14MB/s",
"reconnects": 12078,
"status_2xx": 138538,
"bandwidth": "6.16MB/s",
"input_bw": "2.11MB/s",
"reconnects": 11922,
"status_2xx": 136806,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
18 changes: 9 additions & 9 deletions site/data/limited-conn-512.json
Original file line number Diff line number Diff line change
Expand Up @@ -789,19 +789,19 @@
{
"framework": "rails",
"language": "Ruby",
"rps": 27744,
"avg_latency": "18.40ms",
"p99_latency": "73.30ms",
"cpu": "4394.5%",
"memory": "6.0GiB",
"rps": 27507,
"avg_latency": "18.62ms",
"p99_latency": "68.30ms",
"cpu": "4585.2%",
"memory": "5.0GiB",
"connections": 512,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "6.24MB/s",
"input_bw": "2.14MB/s",
"reconnects": 13715,
"status_2xx": 138723,
"bandwidth": "6.19MB/s",
"input_bw": "2.12MB/s",
"reconnects": 13647,
"status_2xx": 137536,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
Expand Down
Loading