The Computer Language
Benchmarks Game

Chapel programs versus C gcc

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 1.61 33,748 423 1.63 99% 2% 3% 1%
C gcc 1.73 2,116 448 1.73 1% 99% 1% 0%
fasta
source secs mem gz cpu cpu load
Chapel 1.69 52,272 1392 5.85 99% 83% 83% 82%
C gcc 1.33 2,856 2249 5.28 100% 99% 100% 99%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 11.38 46,056 728 45.18 100% 99% 99% 100%
C gcc 8.97 1,660 910 35.00 98% 94% 99% 100%
spectral-norm
source secs mem gz cpu cpu load
Chapel 4.00 51,084 310 15.82 100% 99% 99% 99%
C gcc 1.99 1,824 1139 7.88 99% 99% 99% 100%
n-body
source secs mem gz cpu cpu load
Chapel 20.81 32,468 962 20.82 100% 0% 1% 0%
C gcc 9.96 1,016 1490 9.95 1% 1% 1% 100%
mandelbrot
source secs mem gz cpu cpu load
Chapel 5.04 83,820 620 19.92 100% 99% 99% 99%
C gcc 1.65 32,684 1135 6.53 99% 99% 100% 99%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
C gcc 5.38 129,772 1499 16.37 61% 82% 89% 74%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.46 300,412 643 2.11 98% 19% 22% 10%
C gcc 0.42 143,948 812 0.58 15% 26% 98% 2%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.32 324,660 484 44.15 100% 58% 78% 75%
C gcc 2.38 131,728 836 7.70 98% 87% 73% 68%
regex-redux
source secs mem gz cpu cpu load
Chapel 10.02 1,022,052 477 19.68 99% 72% 14% 12%
C gcc 1.45 155,768 1230 4.03 61% 64% 56% 100%
Chapel

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

C gcc

gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406