The Computer Language
24.04 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.25  7 19,660 670 0.02 4% 4% 4% 7%
binary-trees  #4 0.23  14 19,660 670 0.75 77% 78% 79% 95%
binary-trees  #4 47.92  21 956,672 670 178.17 97% 91% 91% 93%
source secs N mem gz cpu secs cpu load
binary-trees  #2 0.16  7 19,660 418 0.01 0% 0% 0% 11%
binary-trees  #2 0.61  14 19,660 418 0.61 0% 3% 0% 100%
binary-trees  #2 143.45  21 956,672 418 143.42 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
binary-trees  #3 0.22  7 19,656 690 0.02 4% 4% 4% 0%
binary-trees  #3 0.38  14 19,656 690 0.74 45% 50% 52% 54%
binary-trees  #3 82.25  21 809,984 690 164.04 58% 56% 49% 36%
source secs N mem gz cpu secs cpu load
fannkuch-redux  3.91  10 19,664 469 3.74 0% 0% 0% 95%
fannkuch-redux  47.56  11 19,664 469 47.56 0% 0% 100% 0%
fannkuch-redux  601.99  12 19,664 469 601.97 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 0.47  250,000 19,672 1065 0.30 0% 63% 0% 0%
fasta  #3 2.45  2,500,000 19,672 1065 2.45 0% 0% 100% 0%
fasta  #3 24.02  25,000,000 19,672 1065 24.02 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #2 0.53  250,000 19,672 1065 0.30 57% 1% 0% 0%
fasta  #2 2.46  2,500,000 19,672 1065 2.46 0% 99% 0% 0%
fasta  #2 24.01  25,000,000 19,672 1065 24.01 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #2 1.32  250,000 22,788 620 1.19 0% 1% 0% 90%
k-nucleotide  #2 10.23  2,500,000 75,648 620 9.99 1% 97% 0% 0%
k-nucleotide  #2 97.75  25,000,000 596,472 620 97.73 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 1.66  1,000 19,672 373 1.51 90% 2% 0% 0%
mandelbrot  #2 23.52  4,000 19,672 373 23.52 100% 0% 0% 0%
mandelbrot  #2 375.98  16,000 19,672 373 375.96 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #6 0.69  1,000 19,672 630 1.57 73% 45% 57% 51%
mandelbrot  #6 7.41  4,000 19,672 630 24.99 99% 80% 76% 83%
mandelbrot  #6 113.21  16,000 282,112 630 398.58 81% 85% 99% 85%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 1.51  1,000 19,672 364 1.38 0% 0% 0% 92%
mandelbrot  #3 21.55  4,000 19,672 364 21.55 0% 0% 100% 0%
mandelbrot  #3 343.95  16,000 19,672 364 343.94 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  1.54  1,000 19,672 365 1.39 0% 0% 1% 90%
mandelbrot  21.52  4,000 19,672 365 21.51 100% 0% 0% 0%
mandelbrot  344.46  16,000 19,672 365 344.43 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  2.83  500,000 19,672 1207 2.61 92% 0% 1% 0%
n-body  26.86  5,000,000 19,672 1207 26.86 100% 0% 0% 0%
n-body  267.17  50,000,000 19,672 1207 267.16 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #2 2.55  500,000 19,672 1200 2.33 0% 91% 0% 0%
n-body  #2 22.83  5,000,000 19,672 1200 22.83 0% 100% 0% 0%
n-body  #2 239.26  50,000,000 19,672 1200 239.25 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
n-body  #4 2.43  500,000 19,672 1312 2.28 0% 1% 0% 93%
n-body  #4 21.22  5,000,000 19,672 1312 21.22 0% 0% 0% 100%
n-body  #4 227.77  50,000,000 19,672 1312 227.76 0% 0% 100% 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.35  250,000 19,672 560 0.16 0% 0% 0% 45%
reverse-complement  #2 40.39  100,000,001 2,654,604 560 40.39 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 0.37  250,000 19,672 725 0.17 0% 47% 0% 0%
reverse-complement  #5 41.27  100,000,001 2,169,636 725 41.26 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 0.36  250,000 19,672 600 0.17 0% 45% 2% 2%
reverse-complement  #4 49.05  100,000,001 1,030,016 600 49.04 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
spectral-norm  0.92  500 19,800 335 0.70 0% 75% 1% 0%
spectral-norm  23.38  3,000 19,672 335 23.38 0% 0% 100% 0%
spectral-norm  78.53  5,500 19,672 335 78.53 0% 95% 0% 4%