The Computer Language
24.06 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.83  7 21,120 407 0.19 4% 19% 1% 0%
binary-trees  #3 0.38  14 25,672 407 0.37 100% 0% 0% 0%
binary-trees  #3 49.89  21 616,792 407 49.88 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
binary-trees  0.72  7 21,104 383 0.18 1% 26% 1% 0%
binary-trees  0.37  14 24,960 383 0.37 0% 0% 2% 100%
binary-trees  48.93  21 478,848 383 48.92 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.78  7 21,120 385 0.16 10% 11% 1% 0%
binary-trees  #2 0.36  14 24,960 385 0.36 100% 2% 0% 2%
binary-trees  #2 48.94  21 478,720 385 48.92 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #5 0.85  7 21,248 1016 0.19 21% 2% 1% 0%
binary-trees  #5 0.21  14 24,448 1016 0.40 45% 28% 23% 100%
binary-trees  #5 19.06  21 522,120 1016 54.07 89% 63% 61% 71%
source secs N mem gz cpu secs cpu load
binary-trees  #4 0.75  7 21,248 371 0.17 0% 1% 0% 23%
binary-trees  #4 0.34  14 24,960 371 0.34 0% 5% 0% 100%
binary-trees  #4 47.07  21 478,848 371 47.06 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 1.72  10 20,992 1462 3.42 62% 39% 49% 48%
fannkuch-redux  #2 10.67  11 21,120 1462 39.64 94% 97% 99% 82%
fannkuch-redux  #2 140.37  12 21,120 1462 538.20 100% 96% 89% 97%
source secs N mem gz cpu secs cpu load
fannkuch-redux  7.66  10 20,864 391 7.00 0% 0% 91% 0%
fannkuch-redux  91.35  11 20,992 391 91.35 0% 0% 100% 0%
fannkuch-redux  1,418.84  12 20,864 391 1,418.77 0% 54% 45% 0%
source secs N mem gz cpu secs cpu load
fasta  #2 1.71  250,000 25,984 747 1.16 0% 0% 0% 67%
fasta  #2 9.57  2,500,000 39,552 747 9.57 0% 100% 0% 0%
fasta  #2 94.45  25,000,000 147,516 747 94.45 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 1.05  250,000 22,656 1035 0.57 2% 41% 10% 0%
fasta  #3 3.71  2,500,000 32,000 1035 3.71 92% 8% 1% 0%
fasta  #3 35.74  25,000,000 120,064 1035 35.73 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fasta  #4 1.72  250,000 24,192 864 1.16 67% 0% 0% 0%
fasta  #4 10.83  2,500,000 45,952 864 10.83 0% 0% 0% 100%
fasta  #4 96.56  25,000,000 266,368 864 96.55 3% 96% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #5 1.78  250,000 22,528 1000 1.15 0% 0% 0% 64%
fasta  #5 9.46  2,500,000 22,784 1000 9.43 0% 0% 0% 99%
fasta  #5 92.44  25,000,000 22,656 1000 92.43 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #6 1.08  250,000 23,040 1097 0.43 0% 0% 40% 0%
fasta  #6 2.46  2,500,000 32,000 1097 2.43 99% 0% 0% 0%
fasta  #6 23.18  25,000,000 120,064 1097 23.18 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 3.66  250,000 60,396 426 3.12 0% 3% 0% 81%
k-nucleotide  #2 26.25  2,500,000 72,224 426 26.23 0% 100% 0% 0%
k-nucleotide  #2 257.07  25,000,000 181,696 426 256.91 0% 0% 99% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 4.01  250,000 81,456 546 3.36 22% 12% 33% 16%
k-nucleotide  #3 27.74  2,500,000 93,696 546 27.75 31% 31% 24% 13%
k-nucleotide  #3 268.72  25,000,000 203,648 546 269.07 18% 30% 32% 19%
source secs N mem gz cpu secs cpu load
k-nucleotide  #7 3.91  250,000 99,572 792 3.17 7% 17% 35% 20%
k-nucleotide  #7 26.74  2,500,000 111,548 792 26.54 2% 34% 29% 33%
k-nucleotide  #7 257.65  25,000,000 393,216 792 256.07 14% 25% 30% 30%
source secs N mem gz cpu secs cpu load
k-nucleotide  1.92  250,000 52,228 583 3.55 50% 42% 53% 39%
k-nucleotide  8.66  2,500,000 61,916 583 30.81 95% 85% 80% 94%
k-nucleotide  85.20  25,000,000 172,720 583 303.81 82% 94% 82% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 1.93  1,000 25,600 887 4.32 63% 53% 54% 52%
mandelbrot  #2 16.34  4,000 30,720 887 64.64 99% 98% 99% 98%
mandelbrot  #2 259.84  16,000 94,336 887 1,037.40 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 2.73  1,000 22,656 890 9.63 89% 88% 92% 89%
mandelbrot  #6 Failed  4,000
source secs N mem gz cpu secs cpu load
mandelbrot  #5 1.57  1,000 21,504 978 2.78 44% 42% 51% 43%
mandelbrot  #5 9.72  4,000 27,008 978 38.38 99% 99% 99% 99%
mandelbrot  #5 151.49  16,000 86,272 978 604.82 99% 99% 100% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 7.32  1,000 21,120 313 6.75 0% 92% 0% 0%
mandelbrot  #3 99.06  4,000 21,120 313 99.06 0% 0% 100% 0%
mandelbrot  #3 1,592.43  16,000 20,992 313 1,592.34 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 3.63  1,000 22,784 853 2.85 1% 36% 19% 22%
mandelbrot  #4 41.11  4,000 33,920 853 41.16 4% 47% 48% 0%
mandelbrot  #4 676.40  16,000 141,140 853 677.25 14% 34% 25% 26%
source secs N mem gz cpu secs cpu load
mandelbrot  #7 2.75  1,000 22,528 971 9.65 89% 89% 90% 89%
mandelbrot  #7 Timed Out  4,000
source secs N mem gz cpu secs cpu load
n-body  #2 2.98  500,000 20,992 1143 2.36 0% 79% 0% 0%
n-body  #2 21.66  5,000,000 21,120 1143 21.66 0% 0% 100% 0%
n-body  #2 215.86  50,000,000 21,120 1143 215.85 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 2.76  500,000 21,120 1169 2.08 1% 75% 0% 0%
n-body  #3 19.01  5,000,000 21,120 1169 19.01 63% 0% 0% 36%
n-body  #3 189.13  50,000,000 21,120 1169 189.12 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
pidigits  1.53  2,000 68,352 524 0.86 0% 2% 0% 56%
pidigits  5.96  6,000 103,808 524 5.95 1% 0% 0% 100%
pidigits  16.81  10,000 104,064 524 16.81 0% 0% 100% 1%
source secs N mem gz cpu secs cpu load
pidigits  #2 1.22  2,000 199,552 666 0.44 0% 2% 36% 0%
pidigits  #2 1.25  6,000 559,232 666 1.25 2% 3% 100% 0%
pidigits  #2 3.18  10,000 2,172,920 666 3.18 45% 0% 0% 55%
source secs N mem gz cpu secs cpu load
pidigits  #5 0.92  2,000 64,256 494 0.26 0% 0% 1% 29%
pidigits  #5 0.69  6,000 391,552 494 0.69 4% 0% 0% 100%
pidigits  #5 1.57  10,000 852,480 494 1.57 100% 1% 0% 0%
source secs N mem gz cpu secs cpu load
regex-redux  #2 1.18  50,000 25,856 444 0.55 23% 7% 7% 9%
regex-redux  #2 2.68  500,000 48,500 444 2.64 46% 20% 25% 9%
regex-redux  #2 23.24  5,000,000 216,448 444 23.26 25% 5% 46% 23%
source secs N mem gz cpu secs cpu load
regex-redux  #3 0.93  50,000 25,984 730 0.25 5% 18% 18% 4%
regex-redux  #3 1.34  500,000 42,500 730 0.80 85% 43% 32% 28%
regex-redux  #3 11.90  5,000,000 216,576 730 7.20 42% 40% 87% 33%
source secs N mem gz cpu secs cpu load
regex-redux  #9 1.28  50,000 25,472 340 0.50 0% 37% 0% 0%
regex-redux  #9 3.16  500,000 46,976 340 3.13 98% 0% 0% 0%
regex-redux  #9 30.14  5,000,000 216,448 340 30.13 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.95  250,000 27,520 272 0.29 30% 0% 0% 0%
reverse-complement  #2 24.38  100,000,001 1,001,932 272 24.37 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.88  250,000 27,136 301 0.22 0% 0% 26% 0%
reverse-complement  #5 9.94  100,000,001 1,624,104 301 9.94 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  0.81  250,000 35,720 521 0.26 1% 9% 23% 1%
reverse-complement  18.71  100,000,001 5,147,824 521 36.50 94% 7% 58% 36%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 0.79  250,000 29,440 608 0.24 6% 24% 1% 1%
reverse-complement  #4 5.89  100,000,001 2,511,208 608 11.52 12% 53% 97% 34%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.82  250,000 32,168 490 0.24 1% 4% 22% 2%
reverse-complement  #3 9.05  100,000,001 3,935,068 490 17.39 10% 93% 39% 51%
source secs N mem gz cpu secs cpu load
simple  5.66  1,000 21,248 341 5.01 0% 0% 88% 0%
simple  76.81  4,000 21,248 341 76.80 0% 100% 0% 0%
simple  1,228.78  16,000 21,248 341 1,228.72 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
simple  #2 5.27  1,000 20,992 313 4.74 87% 2% 0% 0%
simple  #2 72.95  4,000 21,248 313 72.93 0% 100% 0% 0%
simple  #2 1,164.88  16,000 21,376 313 1,164.82 35% 64% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #4 1.88  500 20,992 333 1.27 1% 67% 0% 0%
spectral-norm  #4 38.63  3,000 21,632 333 38.63 0% 0% 100% 0%
spectral-norm  #4 129.81  5,500 22,912 333 129.81 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  #5 1.89  500 22,144 764 3.67 56% 49% 46% 46%
spectral-norm  #5 19.58  3,000 23,040 764 73.11 92% 93% 94% 93%
spectral-norm  #5 64.44  5,500 27,392 764 237.59 93% 92% 91% 92%
source secs N mem gz cpu secs cpu load
spectral-norm  1.88  500 21,248 299 1.24 0% 1% 66% 0%
spectral-norm  38.00  3,000 21,376 299 38.00 100% 0% 0% 0%
spectral-norm  128.41  5,500 22,016 299 128.41 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
too simple  0.99  1,000,000 20,992 131 0.29 1% 1% 29% 0%
too simple  8.67  100,000,000 20,992 131 8.67 0% 0% 100% 1%
too simple  852.49  10,000,000,000 21,120 131 852.46 100% 0% 0% 0%