The Computer Language
Benchmarks Game

Chapel programs versus Java

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 1.60 22,088 501 1.60 99% 4% 2% 1%
Java 3.06 31,088 938 3.16 0% 3% 9% 92%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 13.25 33,972 728 52.74 100% 99% 100% 99%
Java 17.74 30,048 1282 69.90 98% 98% 100% 99%
fasta
source secs mem gz cpu cpu load
Chapel 1.84 32,132 1392 5.98 99% 75% 77% 76%
Java 2.14 36,192 2457 5.68 71% 58% 62% 77%
regex-redux
source secs mem gz cpu cpu load
Chapel 10.58 1,138,908 477 20.89 100% 14% 14% 73%
Java 12.16 927,212 929 37.28 73% 81% 75% 78%
spectral-norm
source secs mem gz cpu cpu load
Chapel 4.00 33,332 310 15.85 100% 99% 99% 99%
Java 4.29 31,428 950 16.56 97% 96% 98% 97%
n-body
source secs mem gz cpu cpu load
Chapel 21.55 20,688 962 21.55 100% 0% 1% 0%
Java 21.50 27,240 1489 21.52 1% 1% 100% 0%
binary-trees
source secs mem gz cpu cpu load
Chapel 15.65 341,416 554 51.70 100% 81% 80% 71%
Java 11.52 643,924 889 40.54 89% 92% 85% 89%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.57 282,352 643 2.06 99% 16% 8% 14%
Java 1.11 345,308 1661 2.44 33% 58% 54% 80%
mandelbrot
source secs mem gz cpu cpu load
Chapel 12.17 59,756 455 48.40 100% 100% 100% 99%
Java 5.89 89,504 796 23.08 98% 98% 98% 99%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 33.87 281,012 1063 119.14 100% 94% 72% 86%
Java 8.02 467,004 1802 25.57 76% 98% 73% 74%
Chapel

chpl Version 1.14.0
Copyright (c) 2004-2016, 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)