The Computer Language
Benchmarks Game

all Lua programs & measurements

Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio

source secs N mem gz cpu cpu load
binary-trees  #2 0.01  7 ? 412 0.01 100% 50% 0% 0%
binary-trees  #2 1.69  14 15,700 412 1.68 100% 2% 1% 1%
binary-trees  #2 468.12  21 2,312,236 412 467.62 59% 1% 1% 42%
source secs N mem gz cpu cpu load
fannkuch-redux  7.72  10 1,484 462 7.66 0% 59% 42% 0%
fannkuch-redux  94.46  11 1,428 462 94.44 0% 100% 1% 0%
fannkuch-redux  1,383.93  12 1,460 462 1,383.69 0% 100% 1% 0%
source secs N mem gz cpu cpu load
fasta  #3 0.55  250,000 2,808 1061 0.54 0% 98% 0% 0%
fasta  #3 5.50  2,500,000 2,812 1061 5.49 0% 2% 100% 0%
fasta  #3 50.71  25,000,000 2,968 1061 50.70 0% 100% 1% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.54  250,000 2,812 1061 0.54 0% 0% 100% 0%
fasta  #2 5.36  2,500,000 2,568 1061 5.36 0% 100% 1% 0%
fasta  #2 50.08  25,000,000 2,920 1061 50.06 0% 7% 94% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #2 2.18  250,000 27,384 613 2.15 0% 100% 1% 0%
k-nucleotide  #2 18.58  2,500,000 91,060 613 18.48 0% 100% 1% 0%
k-nucleotide  #2 184.25  25,000,000 513,992 613 183.19 81% 1% 1% 20%
source secs N mem gz cpu cpu load
mandelbrot  2.32  1,000 1,444 359 2.32 0% 1% 0% 100%
mandelbrot  36.37  4,000 2,764 359 36.36 100% 0% 0% 0%
mandelbrot  599.95  16,000 2,856 359 599.83 0% 89% 12% 0%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.83  1,000 6,824 623 2.91 96% 80% 99% 78%
mandelbrot  #6 13.03  4,000 7,604 623 46.91 86% 91% 87% 97%
mandelbrot  #6 250.10  16,000 22,652 623 779.68 100% 72% 74% 67%
source secs N mem gz cpu cpu load
mandelbrot  #2 2.83  1,000 1,576 367 2.82 0% 100% 1% 0%
mandelbrot  #2 45.31  4,000 1,412 367 45.30 0% 100% 1% 0%
mandelbrot  #2 720.59  16,000 1,576 367 720.44 49% 1% 1% 51%
source secs N mem gz cpu cpu load
mandelbrot  #3 3.18  1,000 1,412 358 3.17 3% 0% 0% 100%
mandelbrot  #3 36.22  4,000 2,748 358 36.21 100% 1% 0% 1%
mandelbrot  #3 583.70  16,000 2,828 358 583.58 0% 97% 4% 0%
source secs N mem gz cpu cpu load
meteor-contest  #5 2.08  2,098 5,348 1558 2.07 100% 0% 0% 1%
source secs N mem gz cpu cpu load
meteor-contest  #6 1.01  2,098 4,824 1655 1.01 1% 100% 3% 0%
source secs N mem gz cpu cpu load
n-body  #2 4.15  500,000 1,524 1193 4.15 0% 100% 1% 0%
n-body  #2 40.11  5,000,000 1,412 1193 40.10 0% 0% 0% 100%
n-body  #2 426.75  50,000,000 1,412 1193 426.68 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  4.82  500,000 1,408 1201 4.81 100% 0% 0% 0%
n-body  49.27  5,000,000 1,480 1201 49.26 0% 100% 1% 0%
n-body  459.00  50,000,000 1,488 1201 458.92 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #4 4.31  500,000 1,584 1305 4.31 0% 100% 1% 0%
n-body  #4 41.92  5,000,000 1,524 1305 41.91 0% 49% 52% 1%
n-body  #4 404.83  50,000,000 1,404 1305 404.76 0% 98% 3% 0%
pidigits  #7 Failed  2,000
pidigits  Failed  2,000
pidigits  #5 Failed  2,000
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  #2 0.20  250,000 ? 553 0.20 5% 100% 0% 0%
reverse-complement  #2 1.81  2,500,000 65,956 553 1.81 1% 2% 100% 0%
reverse-complement  #2 17.55  25,000,000 739,380 553 17.53 0% 1% 100% 0%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.26  250,000 720 594 0.24 0% 7% 100% 0%
reverse-complement  #4 2.36  2,500,000 33,944 594 2.34 4% 0% 1% 99%
reverse-complement  #4 21.96  25,000,000 383,856 594 21.95 100% 0% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  1.88  500 1,528 329 1.88 100% 0% 1% 1%
spectral-norm  65.09  3,000 2,536 329 65.08 0% 100% 1% 0%
spectral-norm  193.27  5,500 2,848 329 193.24 0% 0% 0% 100%