The Computer Language
24.04 Benchmarks Game

all Ruby yjit programs & measurements

ruby 3.3.0
(2023-12-25
revision 5124f9ac75)
+YJIT [x86_64-linux]

source secs N mem gz cpu secs cpu load
binary-trees  #3 0.66  7 21,376 407 0.12 0% 0% 0% 20%
binary-trees  #3 0.37  14 26,744 407 0.36 0% 0% 5% 100%
binary-trees  #3 50.16  21 515,924 407 50.14 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
binary-trees  0.79  7 21,108 383 0.15 20% 0% 2% 0%
binary-trees  0.37  14 25,088 383 0.37 0% 2% 0% 97%
binary-trees  48.73  21 478,976 383 48.72 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.65  7 21,120 385 0.15 25% 3% 0% 0%
binary-trees  #2 0.37  14 25,088 385 0.37 5% 2% 100% 0%
binary-trees  #2 48.78  21 478,976 385 48.76 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.78  7 21,248 1016 0.18 0% 1% 21% 0%
binary-trees  #5 0.21  14 25,088 1016 0.41 47% 76% 45% 28%
binary-trees  #5 18.96  21 521,984 1016 53.93 73% 60% 89% 62%
source secs N mem gz cpu secs cpu load
binary-trees  #4 0.66  7 21,248 371 0.14 0% 0% 1% 24%
binary-trees  #4 0.34  14 25,088 371 0.33 0% 0% 8% 100%
binary-trees  #4 46.87  21 478,848 371 46.86 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 1.53  10 21,120 1462 3.36 56% 66% 45% 53%
fannkuch-redux  #2 10.70  11 21,248 1462 39.73 82% 93% 96% 99%
fannkuch-redux  #2 139.77  12 21,120 1462 536.11 87% 97% 99% 99%
source secs N mem gz cpu secs cpu load
fannkuch-redux  7.73  10 20,992 391 7.18 93% 0% 0% 0%
fannkuch-redux  97.32  11 20,992 391 97.30 0% 0% 0% 100%
fannkuch-redux  1,380.34  12 20,992 391 1,380.29 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #2 1.67  250,000 26,112 747 1.10 1% 0% 0% 64%
fasta  #2 9.56  2,500,000 39,424 747 9.56 100% 0% 0% 0%
fasta  #2 93.97  25,000,000 147,548 747 93.97 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 1.08  250,000 23,168 1004 0.51 0% 0% 47% 0%
fasta  #3 3.73  2,500,000 30,720 1004 3.73 0% 1% 99% 0%
fasta  #3 35.52  25,000,000 120,064 1004 35.52 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #4 1.64  250,000 24,192 864 1.11 0% 0% 0% 67%
fasta  #4 9.75  2,500,000 46,080 864 9.73 99% 1% 0% 0%
fasta  #4 95.74  25,000,000 266,496 864 95.73 42% 0% 57% 0%
source secs N mem gz cpu secs cpu load
fasta  #5 1.74  250,000 22,656 1000 1.09 0% 1% 62% 1%
fasta  #5 9.38  2,500,000 22,656 1000 9.37 0% 0% 1% 100%
fasta  #5 91.70  25,000,000 22,784 1000 91.69 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #6 0.98  250,000 23,168 1070 0.40 4% 40% 0% 0%
fasta  #6 2.43  2,500,000 32,000 1070 2.43 100% 0% 1% 0%
fasta  #6 23.07  25,000,000 120,064 1070 23.07 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 3.61  250,000 60,996 426 3.09 85% 0% 0% 0%
k-nucleotide  #2 26.13  2,500,000 71,888 426 26.09 0% 99% 0% 0%
k-nucleotide  #2 255.78  25,000,000 181,700 426 255.60 0% 0% 99% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 3.82  250,000 83,200 546 3.30 5% 24% 30% 27%
k-nucleotide  #3 27.61  2,500,000 93,684 546 27.63 24% 18% 30% 26%
k-nucleotide  #3 272.84  25,000,000 203,672 546 273.06 18% 39% 10% 32%
source secs N mem gz cpu secs cpu load
k-nucleotide  #7 3.91  250,000 98,992 792 3.34 25% 12% 30% 19%
k-nucleotide  #7 26.36  2,500,000 113,188 792 26.16 8% 24% 30% 36%
k-nucleotide  #7 256.92  25,000,000 393,216 792 255.31 28% 25% 32% 13%
source secs N mem gz cpu secs cpu load
k-nucleotide  1.78  250,000 52,476 583 3.46 67% 41% 52% 35%
k-nucleotide  8.81  2,500,000 63,300 583 30.41 80% 95% 77% 93%
k-nucleotide  84.88  25,000,000 172,436 583 300.65 85% 92% 80% 96%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 1.74  1,000 25,472 887 4.28 68% 59% 59% 60%
mandelbrot  #2 16.26  4,000 30,336 887 64.37 98% 99% 99% 99%
mandelbrot  #2 259.17  16,000 94,336 887 1,034.44 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 2.85  1,000 22,528 901 9.53 87% 85% 85% 83%
mandelbrot  #6 Failed  4,000
source secs N mem gz cpu secs cpu load
mandelbrot  #5 1.46  1,000 21,632 978 2.76 45% 56% 46% 45%
mandelbrot  #5 9.68  4,000 27,264 978 38.27 99% 99% 99% 99%
mandelbrot  #5 151.07  16,000 86,272 978 603.13 99% 99% 100% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 6.93  1,000 20,992 313 6.34 1% 0% 0% 91%
mandelbrot  #3 101.89  4,000 21,248 313 101.88 0% 0% 100% 0%
mandelbrot  #3 1,538.89  16,000 21,120 313 1,538.80 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 3.52  1,000 23,040 862 2.84 19% 38% 20% 4%
mandelbrot  #4 41.06  4,000 33,920 862 41.10 22% 13% 24% 41%
mandelbrot  #4 661.22  16,000 136,132 862 661.94 24% 26% 27% 22%
source secs N mem gz cpu secs cpu load
mandelbrot  #7 2.89  1,000 22,528 979 9.55 83% 86% 86% 83%
mandelbrot  #7 Failed  4,000
source secs N mem gz cpu secs cpu load
n-body  #2 3.01  500,000 20,992 1143 2.31 76% 0% 1% 0%
n-body  #2 21.63  5,000,000 21,248 1143 21.62 0% 0% 0% 100%
n-body  #2 215.31  50,000,000 21,248 1143 215.31 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 2.54  500,000 21,120 1169 2.04 2% 80% 0% 0%
n-body  #3 18.96  5,000,000 21,248 1169 18.96 0% 99% 0% 0%
n-body  #3 188.71  50,000,000 21,248 1169 188.71 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  1.38  2,000 68,608 524 0.82 0% 60% 0% 0%
pidigits  5.83  6,000 103,680 524 5.83 0% 99% 0% 0%
pidigits  16.56  10,000 104,192 524 16.55 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
pidigits  #2 1.01  2,000 174,464 666 0.42 0% 0% 0% 41%
pidigits  #2 1.29  6,000 692,480 666 1.29 100% 0% 2% 0%
pidigits  #2 3.22  10,000 2,271,624 666 3.22 100% 0% 1% 0%
source secs N mem gz cpu secs cpu load
pidigits  #5 0.87  2,000 64,256 494 0.26 6% 0% 0% 26%
pidigits  #5 0.69  6,000 428,928 494 0.69 100% 1% 0% 0%
pidigits  #5 1.56  10,000 850,304 494 1.55 1% 100% 2% 0%
source secs N mem gz cpu secs cpu load
regex-redux  #2 1.13  50,000 25,984 444 0.50 8% 8% 8% 21%
regex-redux  #2 2.71  500,000 48,692 444 2.67 45% 27% 21% 7%
regex-redux  #2 23.19  5,000,000 216,576 444 23.19 4% 48% 23% 25%
source secs N mem gz cpu secs cpu load
regex-redux  #3 0.88  50,000 25,984 730 0.23 14% 4% 5% 25%
regex-redux  #3 1.36  500,000 42,488 730 0.84 30% 80% 42% 36%
regex-redux  #3 11.84  5,000,000 216,576 730 7.15 43% 87% 33% 40%
source secs N mem gz cpu secs cpu load
regex-redux  #9 1.05  50,000 25,472 327 0.48 1% 37% 0% 7%
regex-redux  #9 3.12  500,000 47,108 327 3.10 2% 0% 99% 0%
regex-redux  #9 30.10  5,000,000 216,576 327 30.09 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.78  250,000 27,520 272 0.26 35% 0% 0% 0%
reverse-complement  #2 24.46  100,000,001 1,001,852 272 24.46 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.81  250,000 27,136 301 0.19 14% 1% 11% 0%
reverse-complement  #5 10.77  100,000,001 1,624,300 301 10.76 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  0.83  250,000 35,072 521 0.27 7% 3% 7% 19%
reverse-complement  18.75  100,000,001 5,147,124 521 36.24 4% 36% 99% 55%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 0.82  250,000 28,928 608 0.22 3% 1% 2% 20%
reverse-complement  #4 6.88  100,000,001 2,510,956 608 12.51 12% 36% 91% 43%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 1.11  250,000 31,664 490 0.23 10% 1% 1% 8%
reverse-complement  #3 9.57  100,000,001 4,232,604 490 17.72 35% 49% 68% 35%
source secs N mem gz cpu secs cpu load
simple  5.64  1,000 21,376 341 4.95 0% 0% 0% 87%
simple  76.61  4,000 21,376 341 76.61 0% 100% 0% 0%
simple  1,224.66  16,000 21,248 341 1,224.59 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
simple  #2 5.34  1,000 21,248 313 4.75 3% 0% 87% 0%
simple  #2 72.69  4,000 21,504 313 72.69 0% 100% 0% 0%
simple  #2 1,161.77  16,000 21,504 313 1,161.71 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #4 1.84  500 20,992 333 1.26 69% 0% 2% 0%
spectral-norm  #4 38.59  3,000 21,888 333 38.59 0% 100% 0% 0%
spectral-norm  #4 129.16  5,500 22,912 333 129.16 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #5 1.82  500 22,144 764 3.68 47% 51% 58% 48%
spectral-norm  #5 19.92  3,000 23,168 764 72.29 91% 91% 91% 89%
spectral-norm  #5 64.82  5,500 27,520 764 236.48 93% 90% 88% 93%
source secs N mem gz cpu secs cpu load
spectral-norm  1.88  500 20,992 299 1.20 1% 62% 1% 2%
spectral-norm  38.11  3,000 21,504 299 38.11 0% 0% 100% 0%
spectral-norm  126.55  5,500 22,144 299 126.54 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
too simple  0.80  1,000,000 20,992 131 0.27 0% 17% 18% 0%
too simple  8.61  100,000,000 21,120 131 8.61 0% 0% 100% 0%
too simple  851.43  10,000,000,000 21,120 131 851.40 0% 100% 0% 0%