The Computer Language
Benchmarks Game

Chapel programs versus Java

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 1.61 33,748 423 1.63 99% 2% 3% 1%
Java 3.06 31,760 938 3.16 6% 3% 97% 1%
mandelbrot
source secs mem gz cpu cpu load
Chapel 5.04 83,820 620 19.92 100% 99% 99% 99%
Java 7.10 90,588 796 27.92 99% 99% 98% 98%
fasta
source secs mem gz cpu cpu load
Chapel 1.69 52,272 1392 5.85 99% 83% 83% 82%
Java 2.13 36,036 2457 5.66 94% 58% 59% 60%
regex-redux
source secs mem gz cpu cpu load
Chapel 10.02 1,022,052 477 19.68 99% 72% 14% 12%
Java 12.31 902,528 929 38.75 73% 76% 86% 81%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 11.38 46,056 728 45.18 100% 99% 99% 100%
Java 13.74 30,368 1282 54.12 100% 98% 98% 99%
spectral-norm
source secs mem gz cpu cpu load
Chapel 4.00 51,084 310 15.82 100% 99% 99% 99%
Java 4.29 29,884 950 16.56 96% 97% 99% 95%
n-body
source secs mem gz cpu cpu load
Chapel 20.81 32,468 962 20.82 100% 0% 1% 0%
Java 21.54 27,092 1489 21.56 1% 1% 100% 1%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.32 324,660 484 44.15 100% 58% 78% 75%
Java 11.26 593,156 835 39.02 85% 88% 90% 88%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.46 300,412 643 2.11 98% 19% 22% 10%
Java 1.10 345,352 1661 2.40 33% 82% 53% 54%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
Java 7.93 465,372 1802 25.11 75% 75% 75% 93%
Chapel

chpl Version 1.15.0
Copyright (c) 2004-2017, Cray Inc.

Java

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)