The Computer Language
Benchmarks Game

Chapel programs versus C++ g++

by benchmark task performance

regex-redux
source secs mem gz cpu cpu load
Chapel 10.02 1,022,052 477 19.68 99% 72% 14% 12%
C++ g++ 17.14 220,088 853 25.22 95% 3% 51% 1%
pidigits
source secs mem gz cpu cpu load
Chapel 1.61 33,748 423 1.63 99% 2% 3% 1%
C++ g++ 1.89 3,868 508 1.89 100% 1% 2% 1%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 11.38 46,056 728 45.18 100% 99% 99% 100%
C++ g++ 10.35 2,624 980 40.60 99% 99% 100% 95%
fasta
source secs mem gz cpu cpu load
Chapel 1.69 52,272 1392 5.85 99% 83% 83% 82%
C++ g++ 1.48 4,176 2313 5.25 89% 90% 88% 89%
spectral-norm
source secs mem gz cpu cpu load
Chapel 4.00 51,084 310 15.82 100% 99% 99% 99%
C++ g++ 1.99 1,880 1044 7.89 100% 99% 99% 99%
n-body
source secs mem gz cpu cpu load
Chapel 20.81 32,468 962 20.82 100% 0% 1% 0%
C++ g++ 9.31 1,052 1544 9.30 1% 1% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
C++ g++ 7.18 164,052 1252 24.28 83% 83% 93% 83%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.46 300,412 643 2.11 98% 19% 22% 10%
C++ g++ 0.60 211,852 2275 0.98 38% 25% 82% 27%
mandelbrot
source secs mem gz cpu cpu load
Chapel 5.04 83,820 620 19.92 100% 99% 99% 99%
C++ g++ 1.73 34,064 1002 6.80 98% 98% 98% 99%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.32 324,660 484 44.15 100% 58% 78% 75%
C++ g++ 2.36 114,404 809 7.69 86% 71% 87% 85%
Chapel

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

C++ g++

g++ (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406