The Computer Language
Benchmarks Game

all Lua programs & measurements

Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio

source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 412 0.01
binary-trees  #2 1.49  14 20,844 412 1.48 1% 6% 4% 100%
binary-trees  #2 364.38  21 2,194,388 412 363.90 38% 28% 36% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  7.27  10 1,160 462 7.24 0% 1% 100% 0%
fannkuch-redux  93.56  11 1,316 462 93.54 1% 0% 100% 1%
fannkuch-redux  1,315.48  12 1,284 462 1,315.20 53% 0% 47% 0%
source secs N mem gz cpu cpu load
fasta  #2 0.48  250,000 2,816 1052 0.47 0% 98% 0% 4%
fasta  #2 4.66  2,500,000 2,816 1052 4.65 0% 100% 1% 2%
fasta  #2 46.56  25,000,000 2,780 1052 46.54 0% 0% 1% 100%
source secs N mem gz cpu cpu load
fasta  #3 0.48  250,000 2,820 1052 0.47 100% 8% 2% 2%
fasta  #3 4.67  2,500,000 2,704 1052 4.66 1% 2% 1% 100%
fasta  #3 45.92  25,000,000 2,828 1052 45.90 100% 1% 1% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #2 2.18  250,000 29,532 613 2.15 99% 1% 0% 1%
k-nucleotide  #2 18.31  2,500,000 91,016 613 18.15 100% 1% 0% 1%
k-nucleotide  #2 182.12  25,000,000 572,508 613 180.68 1% 100% 1% 1%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.76  1,000 6,180 623 2.74 91% 97% 93% 84%
mandelbrot  #6 12.65  4,000 7,140 623 43.47 86% 100% 85% 75%
mandelbrot  #6 201.89  16,000 23,560 623 696.14 84% 94% 85% 83%
source secs N mem gz cpu cpu load
mandelbrot  #2 2.70  1,000 1,300 367 2.70 2% 0% 0% 100%
mandelbrot  #2 43.13  4,000 1,172 367 43.11 100% 2% 1% 0%
mandelbrot  #2 689.01  16,000 1,148 367 688.84 1% 6% 95% 1%
source secs N mem gz cpu cpu load
mandelbrot  2.24  1,000 1,116 359 2.22 100% 0% 0% 1%
mandelbrot  35.34  4,000 2,472 359 35.33 1% 1% 1% 100%
mandelbrot  564.69  16,000 2,792 359 564.54 1% 1% 100% 1%
source secs N mem gz cpu cpu load
mandelbrot  #3 2.22  1,000 1,136 358 2.22 2% 0% 0% 100%
mandelbrot  #3 50.22  4,000 2,596 358 50.20 100% 1% 1% 0%
mandelbrot  #3 565.20  16,000 2,656 358 565.04 1% 2% 16% 84%
source secs N mem gz cpu cpu load
meteor-contest  #5 1.78  2,098 4,688 1558 1.77 1% 1% 2% 100%
source secs N mem gz cpu cpu load
meteor-contest  #6 0.85  2,098 4,892 1655 0.84 0% 0% 99% 2%
source secs N mem gz cpu cpu load
n-body  #4 3.99  500,000 1,204 1305 3.98 0% 1% 100% 1%
n-body  #4 42.35  5,000,000 1,264 1305 42.34 0% 0% 1% 100%
n-body  #4 391.04  50,000,000 1,300 1305 390.95 0% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  4.72  500,000 1,260 1201 4.71 0% 100% 0% 1%
n-body  43.38  5,000,000 1,148 1201 43.36 1% 100% 0% 1%
n-body  427.02  50,000,000 1,312 1201 426.90 1% 100% 0% 1%
source secs N mem gz cpu cpu load
n-body  #2 4.21  500,000 1,160 1193 4.21 0% 0% 100% 1%
n-body  #2 42.41  5,000,000 1,172 1193 42.39 100% 1% 1% 0%
n-body  #2 389.29  50,000,000 1,176 1193 389.20 0% 1% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.13  2,000 ? 522 0.12 0% 100% 0% 0%
pidigits  1.07  6,000 2,880 522 1.06 100% 0% 0% 4%
pidigits  3.01  10,000 3,148 522 3.01 100% 0% 1% 1%
source secs N mem gz cpu cpu load
pidigits  #7 0.14  2,000 ? 477 0.13 0% 0% 0% 100%
pidigits  #7 1.28  6,000 2,928 477 1.28 2% 0% 99% 2%
pidigits  #7 3.76  10,000 3,192 477 3.75 1% 100% 0% 2%
source secs N mem gz cpu cpu load
pidigits  #5 0.13  2,000 ? 479 0.08 0% 100% 8% 0%
pidigits  #5 0.69  6,000 2,884 479 0.68 0% 3% 100% 0%
pidigits  #5 1.94  10,000 3,248 479 1.93 1% 1% 1% 99%
regex-redux  #2 Bad Output  50,000
source secs N mem gz cpu cpu load
reverse-complement  #4 0.26  250,000 1,132 594 0.24 0% 96% 0% 4%
reverse-complement  #4 2.34  2,500,000 33,700 594 2.31 1% 100% 1% 1%
reverse-complement  #4 21.88  25,000,000 383,448 594 21.84 1% 61% 0% 40%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.20  250,000 ? 553 0.20 100% 0% 0% 0%
reverse-complement  #2 1.91  2,500,000 66,348 553 1.85 2% 51% 49% 1%
reverse-complement  #2 17.44  25,000,000 740,584 553 17.43 100% 1% 1% 0%
source secs N mem gz cpu cpu load
spectral-norm  1.50  500 1,136 329 1.50 0% 100% 0% 1%
spectral-norm  53.81  3,000 2,284 329 53.79 4% 0% 100% 1%
spectral-norm  180.25  5,500 2,628 329 180.20 100% 1% 1% 0%