The Computer Language
24.11 Benchmarks Game

all Ruby yjit programs & measurements

ruby 3.3.5
(2024-09-03
revision ef084cc8f4)
+YJIT [x86_64-linux]

source secs N mem gz cpu secs cpu load
binary-trees  #3 0.94  7 20,992 407 0.18 1% 1% 18% 0%
binary-trees  #3 0.38  14 25,592 407 0.38 0% 5% 100% 0%
binary-trees  #3 49.82  21 517,080 407 49.81 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  0.96  7 20,992 383 0.18 1% 0% 0% 17%
binary-trees  0.37  14 24,832 383 0.37 0% 100% 5% 0%
binary-trees  48.86  21 478,592 383 48.85 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.90  7 20,992 385 0.16 0% 0% 3% 14%
binary-trees  #2 0.37  14 26,368 385 0.37 0% 0% 100% 2%
binary-trees  #2 48.90  21 524,800 385 48.89 43% 0% 56% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #5 1.02  7 20,992 1016 0.18 0% 0% 2% 17%
binary-trees  #5 0.21  14 24,960 1016 0.41 50% 50% 80% 25%
binary-trees  #5 19.08  21 521,972 1016 54.19 98% 61% 61% 64%
source secs N mem gz cpu secs cpu load
binary-trees  #8 0.91  7 21,248 494 0.19 19% 0% 0% 2%
binary-trees  #8 0.77  14 24,960 494 0.77 0% 100% 0% 0%
binary-trees  #8 130.97  21 478,720 494 130.95 3% 96% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #4 0.99  7 20,864 371 0.18 0% 2% 5% 13%
binary-trees  #4 0.35  14 24,192 371 0.35 2% 0% 100% 0%
binary-trees  #4 47.23  21 478,464 371 47.22 97% 0% 2% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #8 12.23  10 20,864 418 11.39 0% 0% 93% 0%
fannkuch-redux  #8 145.19  11 20,608 418 145.18 98% 2% 0% 0%
fannkuch-redux  #8 1,980.46  12 20,736 418 1,980.37 97% 0% 2% 0%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #2 1.83  10 20,736 1462 3.26 45% 51% 34% 47%
fannkuch-redux  #2 10.48  11 20,864 1462 38.06 98% 78% 90% 95%
fannkuch-redux  #2 139.05  12 21,120 1462 521.30 91% 99% 97% 85%
source secs N mem gz cpu secs cpu load
fannkuch-redux  8.08  10 20,608 391 7.32 51% 0% 39% 0%
fannkuch-redux  102.30  11 20,864 391 102.30 94% 0% 6% 0%
fannkuch-redux  1,354.19  12 20,864 391 1,354.14 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #2 2.10  250,000 25,216 747 1.27 60% 1% 0% 0%
fasta  #2 10.76  2,500,000 38,144 747 10.76 100% 0% 0% 0%
fasta  #2 106.06  25,000,000 147,176 747 106.05 98% 0% 1% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 1.45  250,000 22,656 1035 0.64 0% 44% 0% 0%
fasta  #3 4.53  2,500,000 30,848 1035 4.53 0% 100% 0% 0%
fasta  #3 43.90  25,000,000 120,576 1035 43.90 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #4 1.80  250,000 23,936 864 1.13 63% 0% 0% 0%
fasta  #4 9.72  2,500,000 46,336 864 9.69 0% 0% 99% 0%
fasta  #4 95.10  25,000,000 266,624 864 95.09 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #5 1.88  250,000 22,016 1000 1.13 0% 0% 0% 60%
fasta  #5 9.25  2,500,000 23,040 1000 9.25 24% 0% 75% 0%
fasta  #5 90.76  25,000,000 23,168 1000 90.75 94% 0% 5% 0%
source secs N mem gz cpu secs cpu load
fasta  #6 1.44  250,000 22,912 1097 0.54 37% 0% 0% 0%
fasta  #6 3.30  2,500,000 30,592 1097 3.30 100% 0% 0% 0%
fasta  #6 31.90  25,000,000 120,832 1097 31.90 83% 0% 17% 0%
source secs N mem gz cpu secs cpu load
fasta  #8 3.56  250,000 27,768 678 2.77 0% 0% 78% 0%
fasta  #8 26.08  2,500,000 27,768 678 26.08 63% 36% 0% 0%
fasta  #8 270.10  25,000,000 27,768 678 269.94 99% 0% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 3.86  250,000 60,648 426 3.14 0% 0% 81% 0%
k-nucleotide  #2 25.91  2,500,000 71,744 426 25.88 99% 0% 0% 0%
k-nucleotide  #2 252.78  25,000,000 181,808 426 252.58 99% 0% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 4.07  250,000 82,512 546 3.34 31% 25% 7% 18%
k-nucleotide  #3 27.58  2,500,000 96,040 546 27.60 40% 7% 11% 40%
k-nucleotide  #3 277.67  25,000,000 207,596 546 277.88 22% 26% 22% 29%
source secs N mem gz cpu secs cpu load
k-nucleotide  #7 4.55  250,000 99,368 792 3.65 28% 15% 10% 26%
k-nucleotide  #7 31.82  2,500,000 113,880 792 31.66 21% 26% 41% 11%
k-nucleotide  #7 300.36  25,000,000 392,960 792 298.86 32% 27% 27% 12%
source secs N mem gz cpu secs cpu load
k-nucleotide  2.02  250,000 51,956 583 3.51 47% 33% 58% 35%
k-nucleotide  8.98  2,500,000 62,508 583 30.53 77% 76% 99% 87%
k-nucleotide  86.11  25,000,000 171,696 583 302.91 97% 98% 77% 79%
source secs N mem gz cpu secs cpu load
k-nucleotide  #8 5.62  250,000 66,508 529 4.77 0% 85% 0% 1%
k-nucleotide  #8 47.57  2,500,000 117,136 529 47.52 0% 99% 0% 0%
k-nucleotide  #8 788.25  25,000,000 572,736 529 787.84 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 1.94  1,000 25,344 887 4.22 60% 53% 52% 52%
mandelbrot  #2 15.92  4,000 30,336 887 63.25 99% 99% 99% 99%
mandelbrot  #2 254.39  16,000 93,952 887 1,016.26 99% 100% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 2.66  1,000 22,400 890 9.34 91% 87% 90% 88%
mandelbrot  #6 Failed  4,000
source secs N mem gz cpu secs cpu load
mandelbrot  #5 1.53  1,000 21,632 978 2.75 43% 51% 43% 43%
mandelbrot  #5 9.61  4,000 27,008 978 38.12 98% 99% 99% 99%
mandelbrot  #5 150.28  16,000 86,144 978 600.37 99% 99% 100% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 7.32  1,000 20,864 313 6.46 88% 0% 0% 0%
mandelbrot  #3 99.09  4,000 20,992 313 99.09 100% 0% 0% 0%
mandelbrot  #3 1,588.59  16,000 20,992 313 1,588.52 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #4 3.62  1,000 22,912 853 2.80 19% 4% 19% 33%
mandelbrot  #4 40.08  4,000 34,012 853 40.12 47% 45% 7% 0%
mandelbrot  #4 652.14  16,000 135,516 853 652.89 34% 24% 15% 26%
source secs N mem gz cpu secs cpu load
mandelbrot  #8 6.76  1,000 21,188 364 6.08 12% 0% 76% 2%
mandelbrot  #8 94.11  4,000 21,528 364 94.09 54% 45% 0% 0%
mandelbrot  #8 1,507.03  16,000 21,428 364 1,506.75 44% 48% 3% 4%
source secs N mem gz cpu secs cpu load
mandelbrot  #7 2.67  1,000 22,400 971 9.33 90% 91% 88% 89%
mandelbrot  #7 Failed  4,000
source secs N mem gz cpu secs cpu load
n-body  #2 3.23  500,000 20,864 1143 2.36 73% 0% 0% 0%
n-body  #2 21.67  5,000,000 20,992 1143 21.67 0% 100% 0% 0%
n-body  #2 215.78  50,000,000 20,864 1143 215.77 0% 98% 2% 0%
source secs N mem gz cpu secs cpu load
n-body  #3 2.87  500,000 20,864 1169 2.07 0% 72% 1% 0%
n-body  #3 18.78  5,000,000 20,864 1169 18.77 90% 0% 9% 0%
n-body  #3 186.79  50,000,000 20,864 1169 186.79 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #7 8.08  500,000 20,864 1139 7.27 80% 1% 9% 0%
n-body  #7 70.53  5,000,000 21,120 1139 70.52 0% 0% 0% 100%
n-body  #7 704.57  50,000,000 21,120 1139 704.53 55% 0% 0% 45%
source secs N mem gz cpu secs cpu load
n-body  #8 4.88  500,000 21,120 1160 4.10 1% 1% 1% 84%
n-body  #8 39.02  5,000,000 21,248 1160 39.01 0% 0% 0% 100%
n-body  #8 388.21  50,000,000 21,376 1160 388.20 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
pidigits  1.62  2,000 66,176 524 0.89 0% 55% 1% 0%
pidigits  6.24  6,000 104,320 524 6.23 100% 0% 0% 0%
pidigits  17.73  10,000 104,576 524 17.72 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
pidigits  #2 1.23  2,000 179,328 666 0.43 1% 30% 0% 4%
pidigits  #2 1.23  6,000 559,616 666 1.23 0% 0% 99% 0%
pidigits  #2 3.10  10,000 2,431,144 666 3.09 100% 0% 1% 0%
source secs N mem gz cpu secs cpu load
pidigits  #5 1.03  2,000 58,112 494 0.27 0% 1% 27% 1%
pidigits  #5 0.67  6,000 433,920 494 0.67 0% 100% 1% 0%
pidigits  #5 1.50  10,000 1,011,072 494 1.50 100% 0% 2% 0%
source secs N mem gz cpu secs cpu load
regex-redux  #2 1.37  50,000 25,856 444 0.56 20% 6% 8% 8%
regex-redux  #2 2.67  500,000 47,536 444 2.65 15% 19% 44% 22%
regex-redux  #2 22.86  5,000,000 216,576 444 22.87 47% 27% 5% 20%
source secs N mem gz cpu secs cpu load
regex-redux  #3 1.13  50,000 25,216 730 0.26 9% 17% 7% 6%
regex-redux  #3 1.32  500,000 42,368 730 0.81 41% 85% 33% 30%
regex-redux  #3 11.84  5,000,000 216,576 730 7.18 39% 95% 34% 33%
source secs N mem gz cpu secs cpu load
regex-redux  #9 1.36  50,000 25,600 340 0.50 2% 0% 0% 36%
regex-redux  #9 3.11  500,000 46,976 340 3.08 0% 99% 1% 0%
regex-redux  #9 29.92  5,000,000 216,704 340 29.91 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.98  250,000 27,264 272 0.27 1% 22% 0% 4%
reverse-complement  #2 27.45  100,000,001 1,001,920 272 27.45 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.98  250,000 28,800 301 0.25 26% 1% 0% 1%
reverse-complement  #5 14.12  100,000,001 1,623,336 301 14.11 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  1.13  250,000 36,636 521 0.28 0% 9% 0% 15%
reverse-complement  18.31  100,000,001 5,141,976 521 35.91 40% 94% 56% 4%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 1.15  250,000 28,800 608 0.23 0% 3% 3% 15%
reverse-complement  #4 5.88  100,000,001 2,510,920 608 11.51 32% 86% 25% 53%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 1.08  250,000 31,720 490 0.24 17% 0% 3% 0%
reverse-complement  #3 8.95  100,000,001 4,235,052 490 17.34 97% 23% 25% 48%
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
startup  #0 1.65  200,000 21,376 1214 1.65 100% 1% 0% 0%
source secs N mem gz cpu secs cpu load
startup  4,652.06  200,000 21,500 1199 4,651.06 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
too simple  1.09  1,000,000 20,736 160 0.29 0% 24% 1% 2%
too simple  8.62  100,000,000 20,736 160 8.62 0% 100% 0% 1%
too simple  854.68  10,000,000,000 20,992 160 854.63 14% 7% 78% 0%