The Computer Language
22.05 Benchmarks Game

all Lua programs & measurements

Lua 5.4.4 Copyright (C)
1994-2022 Lua.org, PUC-Rio

source secs N mem gz cpu cpu load
binary-trees  #4 0.18  7 1,444 664 0.02 61% 29% 21% 22%
binary-trees  #4 0.23  14 9,700 664 0.77 95% 91% 83% 83%
binary-trees  #4 49.93  21 927,464 664 182.34 92% 91% 93% 98%
source secs N mem gz cpu cpu load
binary-trees  #3 0.21  7 1,436 684 0.02 70% 14% 24% 5%
binary-trees  #3 0.37  14 9,672 684 0.73 33% 47% 55% 61%
binary-trees  #3 83.49  21 927,544 684 167.23 51% 48% 50% 53%
source secs N mem gz cpu cpu load
binary-trees  #2 0.18  7 368 412 0.01 17% 19% 24% 6%
binary-trees  #2 0.64  14 10,732 412 0.64 0% 100% 0% 2%
binary-trees  #2 144.58  21 963,568 412 144.57 1% 0% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  4.23  10 1,452 462 3.88 95% 1% 10% 9%
fannkuch-redux  49.04  11 1,420 462 49.04 1% 1% 1% 100%
fannkuch-redux  700.05  12 1,420 462 700.03 100% 1% 1% 1%
source secs N mem gz cpu cpu load
fasta  #2 0.50  250,000 2,560 1061 0.35 8% 0% 78% 4%
fasta  #2 2.93  2,500,000 2,480 1061 2.93 1% 1% 0% 100%
fasta  #2 27.00  25,000,000 2,812 1061 27.00 100% 0% 0% 0%
source secs N mem gz cpu cpu load
fasta  #3 0.44  250,000 2,500 1061 0.30 5% 0% 79% 7%
fasta  #3 2.75  2,500,000 2,496 1061 2.75 100% 1% 1% 0%
fasta  #3 26.72  25,000,000 2,808 1061 26.72 98% 3% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #2 1.48  250,000 18,948 613 1.32 3% 2% 2% 94%
k-nucleotide  #2 11.46  2,500,000 75,748 613 11.42 0% 3% 100% 3%
k-nucleotide  #2 112.22  25,000,000 596,492 613 112.22 3% 3% 100% 2%
source secs N mem gz cpu cpu load
mandelbrot  1.22  1,000 1,464 359 1.01 96% 3% 2% 1%
mandelbrot  15.55  4,000 1,408 359 15.55 1% 4% 0% 96%
mandelbrot  248.51  16,000 2,656 359 248.49 100% 0% 0% 0%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.56  1,000 2,580 623 1.17 64% 54% 54% 58%
mandelbrot  #6 5.17  4,000 8,424 623 18.45 87% 90% 83% 100%
mandelbrot  #6 84.55  16,000 23,188 623 295.23 84% 100% 87% 80%
source secs N mem gz cpu cpu load
mandelbrot  #2 1.27  1,000 1,404 367 1.11 4% 3% 1% 91%
mandelbrot  #2 17.35  4,000 1,460 367 17.35 1% 100% 0% 0%
mandelbrot  #2 277.93  16,000 1,440 367 277.92 0% 0% 100% 0%
source secs N mem gz cpu cpu load
mandelbrot  #3 1.18  1,000 1,412 358 1.01 3% 2% 93% 3%
mandelbrot  #3 15.69  4,000 1,476 358 15.68 1% 100% 0% 0%
mandelbrot  #3 248.46  16,000 2,696 358 248.45 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  2.74  500,000 1,444 1201 2.57 3% 95% 0% 0%
n-body  25.59  5,000,000 1,524 1201 25.57 0% 100% 0% 0%
n-body  249.57  50,000,000 1,416 1201 249.47 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #4 2.37  500,000 1,460 1305 2.23 98% 0% 1% 1%
n-body  #4 23.63  5,000,000 1,452 1305 23.63 0% 0% 100% 0%
n-body  #4 228.34  50,000,000 1,404 1305 228.33 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 2.48  500,000 1,520 1193 2.31 0% 95% 6% 0%
n-body  #2 22.73  5,000,000 1,440 1193 22.72 0% 100% 0% 1%
n-body  #2 231.52  50,000,000 1,476 1193 231.51 0% 0% 100% 0%
pidigits  #5 Failed  2,000
pidigits  #7 Failed  2,000
pidigits  Failed  2,000
source secs N mem gz cpu cpu load
regex-redux  0.27  50,000 3,888 482 0.06 7% 4% 11% 50%
regex-redux  0.35  500,000 33,028 482 0.29 94% 0% 9% 3%
regex-redux  2.59  5,000,000 327,952 482 2.59 0% 0% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.34  250,000 9,996 553 0.16 6% 0% 6% 60%
reverse-complement  #2 41.55  100,000,000 2,654,764 553 41.55 100% 0% 0% 0%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.34  250,000 8,184 719 0.15 12% 3% 0% 69%
reverse-complement  #5 45.45  100,000,000 2,163,180 719 45.44 1% 0% 0% 100%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.35  250,000 6,444 594 0.18 3% 68% 9% 0%
reverse-complement  #4 53.35  100,000,000 1,030,160 594 53.35 100% 0% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  0.86  500 1,444 329 0.71 93% 0% 5% 2%
spectral-norm  23.96  3,000 2,444 329 23.96 2% 1% 0% 100%
spectral-norm  80.47  5,500 2,832 329 80.47 100% 0% 0% 0%