The Computer Language
Benchmarks Game

Chapel programs versus C++ g++

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 1.61 6,400 423 1.62 100% 1% 1% 1%
C++ g++ 1.88 4,276 513 1.88 0% 100% 1% 0%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 11.22 4,000 728 44.58 100% 99% 100% 100%
C++ g++ 10.61 2,044 980 41.90 100% 96% 100% 100%
fasta
source secs mem gz cpu cpu load
Chapel 1.69 5,728 1392 5.83 100% 82% 82% 83%
C++ g++ 1.49 4,372 2324 5.28 89% 88% 90% 90%
spectral-norm
source secs mem gz cpu cpu load
Chapel 3.99 5,148 310 15.81 100% 99% 100% 99%
C++ g++ 2.02 1,332 1044 7.91 99% 99% 99% 99%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 18.31 293,140 1063 66.47 100% 88% 88% 88%
C++ g++ 7.75 165,180 1276 26.02 80% 96% 82% 79%
n-body
source secs mem gz cpu cpu load
Chapel 20.60 4,872 962 20.60 100% 1% 1% 0%
C++ g++ 8.23 1,856 1763 8.23 100% 1% 1% 0%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.68 258,680 643 2.26 99% 16% 6% 17%
C++ g++ 0.64 247,800 2280 1.03 89% 22% 31% 30%
mandelbrot
source secs mem gz cpu cpu load
Chapel 5.47 35,756 620 21.66 100% 99% 99% 99%
C++ g++ 1.64 27,636 1002 6.51 100% 99% 100% 99%
regex-redux
source secs mem gz cpu cpu load
Chapel 8.16 792,460 477 16.36 100% 17% 16% 70%
C++ g++ 1.61 203,572 1315 4.18 100% 52% 57% 54%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.15 298,452 484 43.74 100% 77% 76% 58%
C++ g++ 2.55 135,568 809 7.99 85% 96% 69% 66%
Chapel

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

C++ g++

g++ (Ubuntu 7.2.0-8ubuntu3) 7.2.0