The Computer Language
Benchmarks Game

all Scala programs & measurements

Scala compiler version 2.12.1 -- Copyright 2002-2016, LAMP/EPFL and Lightbend, Inc.

java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

source secs N mem gz cpu cpu load
binary-trees  #4 0.32  7 964 470 0.38 12% 76% 32% 15%
binary-trees  #4 0.39  14 1,724 470 0.49 35% 10% 5% 84%
binary-trees  #4 15.00  21 555,580 470 26.02 39% 28% 80% 29%
source secs N mem gz cpu cpu load
binary-trees  #5 0.60  7 38,528 652 0.89 33% 35% 20% 64%
binary-trees  #5 2.27  14 124,004 652 5.43 48% 62% 62% 70%
binary-trees  #5 181.28  21 591,536 652 422.73 59% 60% 60% 59%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.65  60,000 47,392 1171 1.12 39% 42% 75% 35%
chameneos-redux  #2 1.85  600,000 70,108 1171 4.59 73% 58% 50% 80%
chameneos-redux  #2 13.14  6,000,000 71,312 1171 38.33 86% 72% 65% 75%
source secs N mem gz cpu cpu load
fannkuch-redux  0.85  10 42,792 459 0.95 5% 8% 6% 99%
fannkuch-redux  7.21  11 42,996 459 7.32 3% 98% 1% 2%
fannkuch-redux  90.62  12 42,812 459 90.72 1% 1% 100% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.61  10 38,296 1017 1.20 37% 46% 75% 45%
fannkuch-redux  #2 1.70  11 42,156 1017 5.47 75% 75% 82% 93%
fannkuch-redux  #2 16.81  12 47,716 1017 65.32 96% 99% 97% 98%
source secs N mem gz cpu cpu load
fasta  0.51  250,000 38,424 1080 0.67 21% 18% 98% 8%
fasta  1.54  2,500,000 44,964 1080 1.76 4% 7% 11% 95%
fasta  11.15  25,000,000 48,512 1080 11.36 100% 5% 2% 1%
source secs N mem gz cpu cpu load
fasta  #3 0.47  250,000 40,604 1053 0.60 98% 9% 15% 9%
fasta  #3 1.09  2,500,000 46,308 1053 1.26 21% 87% 3% 10%
fasta  #3 7.57  25,000,000 47,380 1053 7.74 99% 2% 2% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #2 2.30  250,000 153,196 1123 4.90 83% 31% 56% 47%
k-nucleotide  #2 5.55  2,500,000 240,080 1123 13.78 46% 81% 36% 87%
k-nucleotide  #2 40.87  25,000,000 976,868 1123 106.81 60% 76% 38% 90%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.44  1,000 38,472 786 0.78 20% 49% 33% 80%
mandelbrot  #4 0.89  4,000 50,992 786 2.63 98% 65% 67% 68%
mandelbrot  #4 7.51  16,000 104,084 786 28.84 95% 99% 95% 95%
source secs N mem gz cpu cpu load
mandelbrot  #5 0.61  1,000 39,048 589 0.98 30% 74% 41% 20%
mandelbrot  #5 1.27  4,000 50,824 589 3.62 69% 93% 63% 65%
mandelbrot  #5 11.80  16,000 108,224 589 45.25 96% 95% 94% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.40  1,000 1,792 724 0.73 30% 32% 29% 98%
mandelbrot  1.20  4,000 44,432 724 3.90 84% 74% 75% 94%
mandelbrot  13.07  16,000 75,944 724 51.23 98% 100% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  #2 0.30  1,000 1,792 454 0.35 97% 7% 17% 10%
mandelbrot  #2 3.36  4,000 27,244 454 3.42 100% 2% 1% 1%
mandelbrot  #2 51.74  16,000 30,572 454 51.81 71% 30% 1% 0%
source secs N mem gz cpu cpu load
meteor-contest  1.14  2,098 72,424 2087 2.03 77% 47% 36% 23%
source secs N mem gz cpu cpu load
n-body  0.69  500,000 49,384 1358 0.80 32% 70% 7% 13%
n-body  2.79  5,000,000 48,548 1358 2.88 97% 4% 3% 1%
n-body  23.88  50,000,000 48,660 1358 23.98 1% 1% 100% 1%
pidigits  #4 Failed  2,000
pidigits  #3 Failed  2,000
source secs N mem gz cpu cpu load
regex-redux  0.81  50,000 51,408 620 1.34 11% 25% 36% 96%
regex-redux  3.75  500,000 165,956 620 4.77 16% 96% 3% 15%
regex-redux  31.04  5,000,000 800,156 620 33.85 88% 7% 10% 6%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.43  250,000 42,232 501 0.55 55% 56% 7% 18%
reverse-complement  #4 0.62  2,500,000 62,848 501 0.75 98% 16% 10% 2%
reverse-complement  #4 2.17  25,000,000 382,792 501 2.32 4% 2% 100% 5%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.67  500 47,848 693 1.06 25% 88% 21% 28%
spectral-norm  #5 1.87  3,000 51,920 693 5.75 71% 75% 72% 91%
spectral-norm  #5 4.62  5,500 56,680 693 16.70 90% 87% 97% 89%
source secs N mem gz cpu cpu load
spectral-norm  0.57  500 40,056 404 0.67 7% 16% 86% 16%
spectral-norm  5.13  3,000 42,460 404 5.30 2% 99% 1% 3%
spectral-norm  16.15  5,500 42,696 404 16.48 1% 6% 1% 96%