The Computer Language
Benchmarks Game

Chapel programs versus Java

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 2.52 20,916 501 2.52 100% 1% 1% 1%
Java 4.14 25,988 938 4.13 1% 1% 0% 100%
n-body
source secs mem gz cpu cpu load
Chapel 26.46 19,436 962 26.45 100% 1% 1% 0%
Java 24.07 23,184 1430 24.06 1% 1% 1% 100%
mandelbrot
source secs mem gz cpu cpu load
Chapel 43.58 52,216 455 43.57 100% 1% 1% 1%
Java 27.41 55,556 796 27.40 1% 0% 1% 100%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 109.14 20,652 728 109.10 100% 1% 1% 0%
Java 67.02 23,380 1257 67.00 0% 1% 1% 100%
reverse-complement
source secs mem gz cpu cpu load
Chapel 2.99 274,860 643 2.98 99% 1% 1% 1%
Java 1.79 521,988 745 1.78 1% 2% 2% 100%
spectral-norm
source secs mem gz cpu cpu load
Chapel 38.55 21,332 310 38.54 100% 2% 2% 0%
Java 16.30 23,872 950 16.29 1% 0% 1% 100%
binary-trees
source secs mem gz cpu cpu load
Chapel 62.54 219,460 554 62.50 100% 1% 1% 0%
Java 16.53 511,692 584 16.51 1% 1% 0% 100%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 194.81 267,320 1063 193.80 100% 2% 1% 0%
Java 36.57 512,948 1802 36.54 1% 0% 0% 100%
fasta
source secs mem gz cpu cpu load
Chapel 31.37 19,584 1216 31.35 100% 0% 1% 0%
Java 4.77 23,400 1507 4.76 1% 1% 1% 100%
Chapel

chpl Version 1.14.0
Copyright (c) 2004-2016, Cray Inc.

Java

java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) Server VM (build 25.92-b14, mixed mode)