The Computer Language
24.11 Benchmarks Game

all Lua programs & measurements

Lua 5.4.6 Copyright (C)
1994-2023 Lua.org, PUC-Rio

source secs N mem gz cpu secs cpu load
binary-trees  #4 0.24  7 19,652 670 0.02 4% 4% 4% 0%
binary-trees  #4 0.23  14 19,652 670 0.76 91% 81% 81% 87%
binary-trees  #4 48.65  21 956,672 670 180.27 97% 91% 91% 91%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.18  7 19,652 418 0.01 5% 0% 0% 0%
binary-trees  #2 0.61  14 19,652 418 0.61 100% 1% 0% 1%
binary-trees  #2 141.55  21 956,672 418 141.52 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.20  7 19,828 690 0.02 5% 9% 9% 5%
binary-trees  #3 0.39  14 19,828 690 0.76 57% 56% 31% 63%
binary-trees  #3 83.71  21 809,856 690 167.26 59% 47% 40% 52%
source secs N mem gz cpu secs cpu load
fannkuch-redux  3.90  10 19,652 469 3.74 0% 0% 96% 0%
fannkuch-redux  44.54  11 19,652 469 44.54 90% 0% 10% 0%
fannkuch-redux  603.40  12 19,652 469 603.36 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 0.52  250,000 19,652 1065 0.31 0% 57% 0% 0%
fasta  #3 2.64  2,500,000 19,652 1065 2.64 99% 0% 0% 1%
fasta  #3 24.08  25,000,000 19,652 1065 24.08 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #2 0.48  250,000 19,652 1065 0.29 4% 59% 2% 0%
fasta  #2 2.46  2,500,000 19,652 1065 2.46 100% 0% 1% 0%
fasta  #2 24.15  25,000,000 19,652 1065 24.14 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 1.35  250,000 22,788 620 1.20 2% 0% 0% 88%
k-nucleotide  #2 10.03  2,500,000 75,652 620 9.99 99% 0% 0% 0%
k-nucleotide  #2 97.17  25,000,000 596,604 620 97.16 94% 0% 6% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 1.62  1,000 19,656 373 1.51 93% 0% 1% 0%
mandelbrot  #2 23.57  4,000 19,656 373 23.57 0% 100% 0% 0%
mandelbrot  #2 376.55  16,000 19,656 373 376.53 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 0.76  1,000 19,656 630 1.58 52% 47% 64% 48%
mandelbrot  #6 7.26  4,000 19,656 630 25.03 99% 84% 83% 79%
mandelbrot  #6 114.06  16,000 282,112 630 400.14 99% 88% 81% 83%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 1.51  1,000 19,656 364 1.39 0% 91% 0% 0%
mandelbrot  #3 21.82  4,000 19,656 364 21.81 0% 0% 0% 100%
mandelbrot  #3 345.71  16,000 19,656 364 345.68 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  1.52  1,000 19,656 365 1.39 0% 0% 91% 0%
mandelbrot  21.58  4,000 19,656 365 21.58 0% 90% 4% 6%
mandelbrot  348.76  16,000 19,656 365 348.74 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
n-body  2.99  500,000 19,656 1207 2.79 0% 1% 93% 0%
n-body  26.96  5,000,000 19,656 1207 26.95 100% 0% 0% 0%
n-body  262.10  50,000,000 19,656 1207 262.08 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #2 2.51  500,000 19,656 1200 2.30 91% 0% 0% 0%
n-body  #2 22.05  5,000,000 19,656 1200 22.05 80% 0% 20% 0%
n-body  #2 220.08  50,000,000 19,656 1200 220.07 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
n-body  #4 2.56  500,000 19,656 1312 2.37 0% 92% 0% 0%
n-body  #4 22.59  5,000,000 19,656 1312 22.59 60% 0% 39% 0%
n-body  #4 223.32  50,000,000 19,656 1312 223.30 100% 0% 0% 0%
pidigits  #7 Failed  2,000
pidigits  #5 Failed  2,000
pidigits  Failed  2,000
regex-redux  Failed  50,000
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.37  250,000 19,660 560 0.16 0% 43% 0% 2%
reverse-complement  #2 41.12  100,000,001 2,654,652 560 41.10 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.37  250,000 19,660 758 0.15 0% 0% 39% 0%
reverse-complement  #5 41.96  100,000,001 2,169,636 758 41.96 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 0.32  250,000 19,660 600 0.17 0% 0% 53% 3%
reverse-complement  #4 49.35  100,000,001 1,030,016 600 49.33 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  0.98  500 19,652 335 0.69 0% 0% 71% 1%
spectral-norm  23.44  3,000 19,652 335 23.44 18% 82% 0% 0%
spectral-norm  78.68  5,500 19,652 335 78.68 35% 64% 0% 0%