The Computer Language
Benchmarks Game

Chapel programs versus C++ g++

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++ g++ 2.27 3,440 508 2.27 0% 1% 1% 100%
mandelbrot
source secs mem gz cpu cpu load
Chapel 43.58 52,216 455 43.57 100% 1% 1% 1%
C++ g++ 20.11 33,768 726 20.10 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%
C++ g++ 1.02 247,604 2275 1.01 2% 0% 0% 100%
n-body
source secs mem gz cpu cpu load
Chapel 26.46 19,436 962 26.45 100% 1% 1% 0%
C++ g++ 8.96 816 1545 8.95 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++ g++ 24.65 556 1150 24.64 1% 1% 0% 100%
spectral-norm
source secs mem gz cpu cpu load
Chapel 38.55 21,332 310 38.54 100% 2% 2% 0%
C++ g++ 7.93 2,288 1044 7.92 1% 1% 0% 100%
fasta
source secs mem gz cpu cpu load
Chapel 31.37 19,584 1216 31.35 100% 0% 1% 0%
C++ g++ 4.21 1,336 1105 4.20 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%
C++ g++ 24.04 137,908 1252 23.98 1% 1% 0% 100%
binary-trees
source secs mem gz cpu cpu load
Chapel 62.54 219,460 554 62.50 100% 1% 1% 0%
C++ g++ 6.86 76,616 846 6.85 0% 1% 0% 100%
Chapel

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

C++ g++

g++ (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609