The Computer Language
Benchmarks Game

Chapel programs versus Java

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 1.61 6,400 423 1.62 100% 1% 1% 1%
Java 3.12 36,788 938 3.31 6% 3% 4% 96%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 11.22 4,000 728 44.58 100% 99% 100% 100%
Java 17.26 32,116 1282 67.75 98% 99% 97% 99%
fasta
source secs mem gz cpu cpu load
Chapel 1.69 5,728 1392 5.83 100% 82% 82% 83%
Java 2.33 43,924 2473 6.07 53% 71% 63% 74%
regex-redux
source secs mem gz cpu cpu load
Chapel 8.16 792,460 477 16.36 100% 17% 16% 70%
Java 10.34 627,224 929 29.88 74% 72% 65% 79%
mandelbrot
source secs mem gz cpu cpu load
Chapel 5.47 35,756 620 21.66 100% 99% 99% 99%
Java 6.04 76,528 796 23.34 98% 97% 97% 97%
n-body
source secs mem gz cpu cpu load
Chapel 20.60 4,872 962 20.60 100% 1% 1% 0%
Java 22.10 33,136 1429 22.20 31% 1% 1% 70%
spectral-norm
source secs mem gz cpu cpu load
Chapel 3.99 5,148 310 15.81 100% 99% 100% 99%
Java 4.23 34,472 950 16.27 96% 97% 97% 96%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.68 258,680 643 2.26 99% 16% 6% 17%
Java 1.03 191,064 2183 2.31 52% 57% 43% 74%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.15 298,452 484 43.74 100% 77% 76% 58%
Java 8.34 893,008 835 28.20 87% 79% 96% 81%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 18.31 293,140 1063 66.47 100% 88% 88% 88%
Java 8.70 375,568 1812 27.17 80% 72% 74% 88%
Chapel

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

Java

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