The Computer Language
Benchmarks Game

Chapel programs versus C gcc

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
Chapel 1.60 22,088 501 1.60 99% 4% 2% 1%
C gcc 1.73 1,992 448 1.73 1% 100% 1% 0%
fasta
source secs mem gz cpu cpu load
Chapel 1.84 32,132 1392 5.98 99% 75% 77% 76%
C gcc 1.36 2,800 1993 5.26 96% 97% 100% 97%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 13.25 33,972 728 52.74 100% 99% 100% 99%
C gcc 9.07 1,576 910 35.43 100% 99% 98% 94%
spectral-norm
source secs mem gz cpu cpu load
Chapel 4.00 33,332 310 15.85 100% 99% 99% 99%
C gcc 1.98 1,776 1139 7.87 99% 99% 100% 99%
n-body
source secs mem gz cpu cpu load
Chapel 21.55 20,688 962 21.55 100% 0% 1% 0%
C gcc 9.56 1,000 1490 9.56 1% 100% 1% 1%
regex-redux
source secs mem gz cpu cpu load
Chapel 10.58 1,138,908 477 20.89 100% 14% 14% 73%
C gcc 2.86 106,260 1266 4.47 19% 18% 100% 21%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.57 282,352 643 2.06 99% 16% 8% 14%
C gcc 0.42 145,900 812 0.57 0% 26% 20% 100%
binary-trees
source secs mem gz cpu cpu load
Chapel 15.65 341,416 554 51.70 100% 81% 80% 71%
C gcc 3.28 156,780 906 10.12 91% 77% 59% 83%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 33.87 281,012 1063 119.14 100% 94% 72% 86%
C gcc 6.46 130,076 1500 17.06 51% 37% 89% 88%
mandelbrot
source secs mem gz cpu cpu load
Chapel 12.17 59,756 455 48.40 100% 100% 100% 99%
C gcc 1.64 29,848 1135 6.51 100% 100% 100% 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