The Computer Language
Benchmarks Game

Chapel programs versus C gcc

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 2.52 20,916 501 2.52 100% 1% 1% 1%
C gcc 2.50 1,992 448 2.50 2% 1% 1% 100%
mandelbrot
source secs mem gz cpu cpu load
Chapel 43.58 52,216 455 43.57 100% 1% 1% 1%
C gcc 19.08 32,016 782 19.07 0% 23% 78% 100%
n-body
source secs mem gz cpu cpu load
Chapel 26.46 19,436 962 26.45 100% 1% 1% 0%
C gcc 10.01 740 1490 10.00 1% 1% 0% 100%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 109.14 20,652 728 109.10 100% 1% 1% 0%
C gcc 24.19 636 1183 24.18 1% 1% 0% 100%
reverse-complement
source secs mem gz cpu cpu load
Chapel 2.99 274,860 643 2.98 99% 1% 1% 1%
C gcc 0.62 125,340 812 0.62 3% 0% 0% 100%
spectral-norm
source secs mem gz cpu cpu load
Chapel 38.55 21,332 310 38.54 100% 2% 2% 0%
C gcc 7.85 1,628 569 7.85 1% 1% 1% 100%
binary-trees
source secs mem gz cpu cpu load
Chapel 62.54 219,460 554 62.50 100% 1% 1% 0%
C gcc 9.58 100,796 906 9.57 1% 1% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 194.81 267,320 1063 193.80 100% 2% 1% 0%
C gcc 23.93 126,832 1500 23.91 0% 1% 1% 100%
fasta
source secs mem gz cpu cpu load
Chapel 31.37 19,584 1216 31.35 100% 0% 1% 0%
C gcc 2.79 640 1261 2.79 1% 1% 0% 100%
Chapel

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

C gcc

gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609