The Computer Language
Benchmarks Game

Chapel programs versus Java

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 1.62 34,024 423 1.64 99% 3% 1% 4%
Java 3.12 37,444 938 3.30 2% 5% 98% 4%
fasta
source secs mem gz cpu cpu load
Chapel 1.71 52,184 1392 5.90 99% 82% 83% 82%
Java 2.32 46,816 2457 6.37 61% 60% 96% 60%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 11.38 46,168 728 45.17 100% 100% 100% 99%
Java 15.09 34,764 1282 59.26 99% 98% 98% 100%
regex-redux
source secs mem gz cpu cpu load
Chapel 8.70 843,100 477 17.28 100% 15% 15% 71%
Java 10.38 634,548 929 29.48 70% 64% 69% 82%
mandelbrot
source secs mem gz cpu cpu load
Chapel 5.56 85,700 620 22.02 100% 99% 99% 99%
Java 6.08 77,056 796 23.61 97% 97% 99% 97%
n-body
source secs mem gz cpu cpu load
Chapel 20.82 32,388 962 20.83 100% 0% 0% 1%
Java 22.56 35,208 1424 22.65 99% 1% 1% 1%
spectral-norm
source secs mem gz cpu cpu load
Chapel 3.98 52,996 310 15.82 100% 99% 99% 99%
Java 4.25 36,364 950 16.30 97% 96% 95% 97%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.51 306,768 643 2.17 99% 21% 9% 19%
Java 1.13 199,672 2124 2.76 48% 74% 70% 54%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.17 341,288 484 44.06 100% 77% 79% 57%
Java 8.58 966,808 835 28.98 86% 84% 90% 81%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 16.69 350,432 1063 62.96 100% 92% 93% 93%
Java 8.38 375,988 1802 26.25 73% 97% 70% 74%
Chapel

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

Java

java 9
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)