The Computer Language
24.12 Benchmarks Game

all Ruby yjit programs & measurements

ruby 3.4.0dev
(2024-12-25
master f450108330)
+YJIT +PRISM [x86_64-linux]

source secs N mem gz cpu secs cpu load
binary-trees  #3 0.84  7 19,680 407 0.15 1% 0% 1% 17%
binary-trees  #3 0.38  14 19,736 407 0.38 35% 0% 65% 0%
binary-trees  #3 49.58  21 507,116 407 49.55 36% 20% 2% 41%
source secs N mem gz cpu secs cpu load
binary-trees  0.85  7 19,680 383 0.13 0% 14% 0% 1%
binary-trees  0.36  14 19,972 383 0.36 0% 100% 0% 2%
binary-trees  48.77  21 471,992 383 48.75 37% 21% 0% 42%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.92  7 19,860 385 0.14 2% 1% 0% 13%
binary-trees  #2 0.36  14 19,960 385 0.36 0% 0% 100% 0%
binary-trees  #2 48.83  21 471,996 385 48.80 23% 76% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.94  7 19,856 1016 0.15 15% 0% 0% 1%
binary-trees  #5 0.20  14 19,860 1016 0.40 31% 55% 95% 31%
binary-trees  #5 18.85  21 473,532 1016 53.80 71% 62% 64% 88%
source secs N mem gz cpu secs cpu load
binary-trees  #8 0.88  7 19,680 494 0.16 2% 1% 0% 15%
binary-trees  #8 0.78  14 19,680 494 0.78 100% 1% 1% 0%
binary-trees  #8 135.03  21 471,944 494 134.99 54% 45% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #4 1.33  7 19,680 371 0.14 3% 0% 9% 1%
binary-trees  #4 0.33  14 19,680 371 0.33 100% 0% 3% 2%
binary-trees  #4 46.97  21 472,012 371 46.94 53% 46% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #8 12.25  10 19,680 418 11.43 0% 0% 0% 93%
fannkuch-redux  #8 143.79  11 19,680 418 143.76 44% 55% 0% 0%
fannkuch-redux  #8 1,932.07  12 19,680 418 1,931.76 49% 48% 1% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 1.80  10 19,680 1462 3.60 50% 54% 43% 54%
fannkuch-redux  #2 11.46  11 19,680 1462 43.01 88% 91% 99% 96%
fannkuch-redux  #2 152.41  12 19,680 1462 591.05 99% 95% 98% 94%
source secs N mem gz cpu secs cpu load
fannkuch-redux  8.49  10 19,680 391 7.77 0% 1% 91% 0%
fannkuch-redux  98.91  11 19,680 391 98.89 41% 48% 0% 10%
fannkuch-redux  1,451.71  12 19,680 391 1,451.48 50% 48% 0% 0%
fannkuch-redux-a  #8 Timed Out  12
source secs N mem gz cpu secs cpu load
fasta  #2 1.74  250,000 19,620 747 1.00 1% 8% 0% 51%
fasta  #2 8.25  2,500,000 28,652 747 8.25 1% 0% 100% 0%
fasta  #2 82.85  25,000,000 136,432 747 82.83 42% 57% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 1.39  250,000 19,620 1035 0.58 0% 42% 0% 0%
fasta  #3 4.51  2,500,000 23,736 1035 4.50 0% 99% 1% 0%
fasta  #3 43.54  25,000,000 113,048 1035 43.53 44% 23% 0% 32%
source secs N mem gz cpu secs cpu load
fasta  #4 2.05  250,000 19,620 864 1.22 1% 59% 0% 0%
fasta  #4 9.90  2,500,000 42,520 864 9.87 1% 0% 99% 0%
fasta  #4 142.74  25,000,000 294,212 864 142.15 40% 59% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #5 1.96  250,000 19,620 1000 1.18 60% 1% 1% 0%
fasta  #5 10.10  2,500,000 19,620 1000 10.10 50% 0% 0% 49%
fasta  #5 99.25  25,000,000 19,620 1000 99.23 48% 51% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #6 1.34  250,000 19,620 1097 0.52 0% 0% 39% 0%
fasta  #6 3.53  2,500,000 23,524 1097 3.52 0% 0% 1% 100%
fasta  #6 34.00  25,000,000 113,008 1097 33.99 33% 60% 6% 0%
source secs N mem gz cpu secs cpu load
fasta  #8 2.79  250,000 19,680 700 2.07 0% 74% 0% 0%
fasta  #8 19.05  2,500,000 19,620 700 19.01 53% 43% 3% 0%
fasta  #8 190.64  25,000,000 19,620 700 190.20 56% 44% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 4.05  250,000 50,276 426 3.22 43% 1% 35% 0%
k-nucleotide  #2 30.58  2,500,000 61,136 426 30.53 39% 33% 27% 0%
k-nucleotide  #2 263.04  25,000,000 171,524 426 262.74 57% 34% 4% 3%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 4.04  250,000 70,116 546 3.32 30% 14% 18% 20%
k-nucleotide  #3 27.82  2,500,000 85,008 546 27.83 33% 26% 0% 40%
k-nucleotide  #3 300.38  25,000,000 198,360 546 300.61 27% 26% 34% 11%
source secs N mem gz cpu secs cpu load
k-nucleotide  #7 3.98  250,000 91,768 792 3.18 3% 27% 31% 18%
k-nucleotide  #7 25.58  2,500,000 112,680 792 25.40 45% 10% 11% 32%
k-nucleotide  #7 255.31  25,000,000 385,864 792 253.65 27% 22% 28% 20%
source secs N mem gz cpu secs cpu load
k-nucleotide  1.88  250,000 42,232 583 3.64 43% 56% 50% 47%
k-nucleotide  9.34  2,500,000 53,168 583 31.79 85% 76% 83% 96%
k-nucleotide  87.40  25,000,000 162,976 583 318.58 85% 99% 96% 83%
source secs N mem gz cpu secs cpu load
k-nucleotide  #8 6.41  250,000 59,052 529 5.04 1% 0% 78% 0%
k-nucleotide  #8 45.09  2,500,000 110,728 529 45.04 54% 22% 22% 0%
k-nucleotide  #8 529.77  25,000,000 599,256 529 529.29 53% 44% 2% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 1.47  1,000 19,620 887 2.84 56% 46% 47% 45%
mandelbrot  #2 10.27  4,000 24,080 887 40.65 99% 99% 98% 99%
mandelbrot  #2 165.71  16,000 87,360 887 660.93 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 4.26  1,000 19,620 890 12.13 72% 74% 71% 71%
mandelbrot  #6 22.34  4,000 21,656 890 84.57 95% 95% 95% 95%
mandelbrot  #6 Timed Out  16,000
source secs N mem gz cpu secs cpu load
mandelbrot  #5 1.65  1,000 19,620 978 2.64 38% 45% 39% 39%
mandelbrot  #5 9.10  4,000 19,620 978 36.04 99% 99% 99% 99%
mandelbrot  #5 141.70  16,000 79,248 978 565.92 100% 99% 100% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 7.39  1,000 19,620 313 6.59 0% 15% 0% 74%
mandelbrot  #3 103.98  4,000 19,620 313 103.96 49% 26% 14% 9%
mandelbrot  #3 1,695.20  16,000 19,620 313 1,694.90 48% 46% 2% 2%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 3.32  1,000 19,620 853 2.54 33% 3% 34% 7%
mandelbrot  #4 36.27  4,000 26,608 853 36.30 15% 41% 5% 38%
mandelbrot  #4 578.95  16,000 126,996 853 579.53 30% 34% 25% 9%
source secs N mem gz cpu secs cpu load
mandelbrot  #8 4.71  1,000 19,620 364 3.83 0% 2% 81% 0%
mandelbrot  #8 58.98  4,000 19,620 364 58.97 65% 17% 17% 0%
mandelbrot  #8 942.59  16,000 19,620 364 942.41 48% 51% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #7 3.33  1,000 19,620 971 12.03 91% 92% 92% 90%
mandelbrot  #7 Timed Out  4,000
source secs N mem gz cpu secs cpu load
n-body  #2 2.70  500,000 19,620 1143 1.89 0% 0% 0% 70%
n-body  #2 17.31  5,000,000 19,620 1143 17.31 68% 31% 0% 0%
n-body  #2 172.26  50,000,000 19,620 1143 172.23 47% 52% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 2.63  500,000 19,620 1169 1.84 26% 0% 45% 0%
n-body  #3 16.72  5,000,000 19,620 1169 16.72 43% 56% 0% 0%
n-body  #3 166.55  50,000,000 19,620 1169 166.53 51% 49% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #7 8.78  500,000 19,620 1139 7.98 91% 0% 0% 0%
n-body  #7 77.09  5,000,000 19,620 1139 77.08 59% 39% 0% 0%
n-body  #7 769.49  50,000,000 19,620 1139 769.35 48% 49% 1% 1%
source secs N mem gz cpu secs cpu load
n-body  #8 4.18  500,000 19,620 1160 3.35 0% 0% 80% 0%
n-body  #8 31.87  5,000,000 19,620 1160 31.86 32% 25% 42% 0%
n-body  #8 317.96  50,000,000 19,620 1160 317.90 51% 48% 0% 0%
source secs N mem gz cpu secs cpu load
n-body-a  #8 3,818.61  50,000,000 19,616 1186 3,817.08 52% 47% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  1.63  2,000 36,272 524 0.85 52% 0% 0% 0%
pidigits  6.38  6,000 48,444 524 6.37 0% 0% 0% 100%
pidigits  18.03  10,000 49,168 524 18.03 91% 8% 0% 0%
pidigits  #2 Failed  2,000
pidigits  #5 Failed  2,000
source secs N mem gz cpu secs cpu load
regex-redux  #2 1.34  50,000 19,620 444 0.53 6% 7% 8% 18%
regex-redux  #2 2.75  500,000 50,712 444 2.72 4% 45% 29% 21%
regex-redux  #2 23.47  5,000,000 212,160 444 23.47 50% 7% 22% 19%
source secs N mem gz cpu secs cpu load
regex-redux  #3 1.12  50,000 19,620 730 0.22 3% 12% 18% 4%
regex-redux  #3 1.37  500,000 42,136 730 0.89 34% 44% 27% 81%
regex-redux  #3 12.36  5,000,000 208,604 730 7.91 74% 55% 31% 36%
source secs N mem gz cpu secs cpu load
regex-redux  #9 1.34  50,000 19,620 340 0.47 0% 0% 35% 0%
regex-redux  #9 3.41  500,000 49,360 340 3.18 63% 0% 0% 30%
regex-redux  #9 30.70  5,000,000 212,104 340 30.69 41% 58% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 1.18  250,000 19,620 272 0.25 21% 1% 0% 0%
reverse-complement  #2 19.55  100,000,001 503,176 272 19.54 52% 47% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 1.43  250,000 19,620 301 0.18 1% 1% 12% 1%
reverse-complement  #5 13.38  100,000,001 1,602,784 301 13.37 59% 40% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  1.03  250,000 23,988 521 0.22 15% 1% 3% 2%
reverse-complement  13.21  100,000,001 5,556,616 521 25.63 4% 54% 40% 96%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 1.05  250,000 19,620 608 0.21 15% 1% 3% 1%
reverse-complement  #4 6.11  100,000,001 2,491,828 608 11.94 74% 56% 37% 27%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.92  250,000 20,396 490 0.20 0% 3% 2% 17%
reverse-complement  #3 8.36  100,000,001 4,458,064 490 16.48 57% 25% 76% 40%
source secs N mem gz cpu secs cpu load
spectral-norm  #4 2.10  500 20,736 333 1.39 0% 66% 1% 0%
spectral-norm  #4 38.18  3,000 21,632 333 38.18 0% 100% 0% 0%
spectral-norm  #4 128.52  5,500 22,656 333 128.51 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #5 1.81  500 21,888 764 3.50 47% 55% 45% 46%
spectral-norm  #5 17.25  3,000 23,040 764 64.86 93% 94% 95% 93%
spectral-norm  #5 57.89  5,500 27,264 764 212.15 93% 89% 93% 92%
source secs N mem gz cpu secs cpu load
spectral-norm  #8 2.39  500 21,376 294 1.60 0% 0% 0% 67%
spectral-norm  #8 50.38  3,000 21,376 294 50.38 0% 100% 0% 0%
spectral-norm  #8 168.99  5,500 21,120 294 168.99 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
spectral-norm-a  #8 2,109.18  5,500 24,152 315 2,107.75 47% 51% 0% 1%
source secs N mem gz cpu secs cpu load
startup  #0 1.37  200,000 19,948 1214 1.37 24% 1% 76% 0%
source secs N mem gz cpu secs cpu load
startup  3,773.98  200,000 19,948 1199 3,772.43 49% 49% 1% 0%
source secs N mem gz cpu secs cpu load
too simple  1.05  1,000,000 19,620 160 0.23 0% 1% 0% 21%
too simple  6.99  100,000,000 19,620 160 6.99 0% 100% 0% 0%
too simple  688.71  10,000,000,000 19,620 160 688.59 50% 47% 0% 3%