The Computer Language
Benchmarks Game

all Lua programs & measurements

Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio

source secs N mem gz cpu cpu load
binary-trees  #3 0.69  7 8 684 0.03 7% 10% 74% 60%
binary-trees  #3 0.74  14 11,268 684 1.45 46% 47% 59% 51%
binary-trees  #3 173.30  21 1,084,196 684 318.04 66% 39% 59% 60%
source secs N mem gz cpu cpu load
binary-trees  #2 0.45  7 0 412 0.01 2% 0% 58% 30%
binary-trees  #2 1.72  14 15,872 412 1.72 10% 100% 0% 1%
binary-trees  #2 468.44  21 2,358,616 412 467.84 1% 1% 100% 0%
source secs N mem gz cpu cpu load
binary-trees  #4 0.58  7 8 664 0.05 8% 2% 93% 19%
binary-trees  #4 0.45  14 8,404 664 1.51 84% 86% 82% 93%
binary-trees  #4 154.13  21 1,084,256 664 332.72 76% 71% 87% 81%
source secs N mem gz cpu cpu load
fannkuch-redux  7.95  10 1,380 462 7.56 0% 2% 2% 96%
fannkuch-redux  97.18  11 1,416 462 97.15 0% 1% 0% 100%
fannkuch-redux  1,317.39  12 1,340 462 1,317.08 0% 100% 1% 1%
source secs N mem gz cpu cpu load
fasta  #3 0.93  250,000 3,048 1061 0.57 20% 12% 69% 5%
fasta  #3 5.22  2,500,000 2,976 1061 5.21 0% 0% 4% 100%
fasta  #3 51.34  25,000,000 3,056 1061 51.32 0% 0% 1% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.91  250,000 2,984 1061 0.53 0% 1% 12% 67%
fasta  #2 5.21  2,500,000 3,008 1061 5.21 56% 44% 3% 0%
fasta  #2 53.56  25,000,000 2,984 1061 53.54 100% 1% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #2 2.71  250,000 28,788 613 2.20 8% 1% 96% 4%
k-nucleotide  #2 18.89  2,500,000 91,276 613 18.76 2% 0% 1% 99%
k-nucleotide  #2 189.90  25,000,000 521,716 613 188.83 1% 0% 99% 1%
source secs N mem gz cpu cpu load
mandelbrot  3.33  1,000 1,404 359 2.78 1% 1% 15% 89%
mandelbrot  44.61  4,000 2,828 359 44.59 100% 0% 0% 0%
mandelbrot  713.29  16,000 2,848 359 713.09 0% 0% 52% 49%
source secs N mem gz cpu cpu load
mandelbrot  #6 1.68  1,000 2,692 623 3.51 70% 46% 58% 58%
mandelbrot  #6 15.73  4,000 7,416 623 55.80 87% 79% 100% 89%
mandelbrot  #6 256.77  16,000 22,712 623 897.90 99% 86% 87% 78%
source secs N mem gz cpu cpu load
mandelbrot  #2 4.09  1,000 1,416 367 3.47 0% 0% 8% 92%
mandelbrot  #2 55.27  4,000 1,384 367 55.25 0% 100% 1% 1%
mandelbrot  #2 884.37  16,000 1,336 367 884.13 0% 0% 53% 48%
source secs N mem gz cpu cpu load
mandelbrot  #3 3.21  1,000 1,424 358 2.78 4% 96% 0% 2%
mandelbrot  #3 44.40  4,000 2,672 358 44.38 1% 0% 1% 100%
mandelbrot  #3 717.08  16,000 3,016 358 716.90 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  #2 4.65  500,000 1,376 1193 4.18 0% 0% 9% 92%
n-body  #2 44.10  5,000,000 1,408 1193 44.08 1% 1% 1% 100%
n-body  #2 445.14  50,000,000 1,416 1193 445.04 0% 100% 1% 1%
source secs N mem gz cpu cpu load
n-body  4.92  500,000 1,424 1201 4.42 0% 7% 5% 94%
n-body  44.63  5,000,000 1,372 1201 44.62 100% 0% 1% 1%
n-body  447.42  50,000,000 1,388 1201 447.29 0% 0% 2% 98%
source secs N mem gz cpu cpu load
n-body  #4 4.65  500,000 1,404 1305 3.99 97% 3% 6% 2%
n-body  #4 40.72  5,000,000 1,420 1305 40.71 100% 2% 0% 0%
n-body  #4 406.77  50,000,000 1,368 1305 406.65 0% 0% 1% 100%
source secs N mem gz cpu cpu load
pidigits  #7 0.57  2,000 8 477 0.14 3% 0% 82% 18%
pidigits  #7 1.29  6,000 3,232 477 1.29 4% 2% 100% 3%
pidigits  #7 4.27  10,000 4,004 477 4.27 100% 0% 1% 1%
source secs N mem gz cpu cpu load
pidigits  0.85  2,000 1,320 522 0.13 1% 55% 15% 36%
pidigits  1.08  6,000 3,728 522 1.08 100% 0% 0% 4%
pidigits  3.03  10,000 4,016 522 3.03 100% 0% 1% 1%
source secs N mem gz cpu cpu load
pidigits  #5 1.95  2,000 1,388 479 0.09 26% 25% 75% 58%
pidigits  #5 0.69  6,000 3,672 479 0.69 100% 22% 33% 25%
pidigits  #5 1.94  10,000 4,056 479 1.94 2% 2% 100% 1%
source secs N mem gz cpu cpu load
regex-redux  0.68  50,000 8 482 0.05 10% 4% 39% 48%
regex-redux  0.52  500,000 12,868 482 0.44 2% 98% 4% 4%
regex-redux  4.36  5,000,000 339,520 482 4.36 0% 0% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #5 0.90  250,000 1,340 752 0.22 29% 7% 41% 24%
reverse-complement  #5 80.31  100,000,000 2,168,372 752 79.68 0% 1% 0% 99%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.80  250,000 1,404 553 0.21 1% 1% 47% 49%
reverse-complement  #2 77.65  100,000,000 2,932,848 553 73.68 26% 1% 4% 69%
source secs N mem gz cpu cpu load
reverse-complement  #4 2.18  250,000 5,168 594 0.25 8% 3% 74% 32%
reverse-complement  #4 88.39  100,000,000 1,408,700 594 88.33 100% 1% 0% 0%
source secs N mem gz cpu cpu load
spectral-norm  2.10  500 1,388 329 1.60 0% 1% 13% 80%
spectral-norm  66.87  3,000 2,460 329 66.85 100% 1% 0% 0%
spectral-norm  192.80  5,500 2,872 329 192.75 15% 85% 1% 2%