The Computer Language
Benchmarks Game

Chapel programs versus Go

by benchmark task performance

binary-trees
source secs mem gz cpu cpu load
Chapel 15.65 341,416 554 51.70 100% 81% 80% 71%
Go 39.68 364,612 688 150.64 95% 95% 95% 96%
pidigits
source secs mem gz cpu cpu load
Chapel 1.60 22,088 501 1.60 99% 4% 2% 1%
Go 2.04 10,560 603 2.03 11% 10% 100% 1%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 13.25 33,972 728 52.74 100% 99% 100% 99%
Go 15.84 1,384 900 63.01 99% 100% 100% 100%
fasta
source secs mem gz cpu cpu load
Chapel 1.84 32,132 1392 5.98 99% 75% 77% 76%
Go 1.98 3,312 1344 5.63 60% 71% 78% 78%
n-body
source secs mem gz cpu cpu load
Chapel 21.55 20,688 962 21.55 100% 0% 1% 0%
Go 21.52 832 1310 21.52 1% 1% 1% 100%
spectral-norm
source secs mem gz cpu cpu load
Chapel 4.00 33,332 310 15.85 100% 99% 99% 99%
Go 3.95 2,156 548 15.70 100% 99% 99% 100%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 33.87 281,012 1063 119.14 100% 94% 72% 86%
Go 17.36 149,280 1582 64.05 87% 91% 95% 97%
mandelbrot
source secs mem gz cpu cpu load
Chapel 12.17 59,756 455 48.40 100% 100% 100% 99%
Go 5.64 31,052 894 22.41 99% 99% 99% 100%
regex-dna
source secs mem gz cpu cpu load
Chapel 9.35 1,787,668 468 18.46 100% 15% 15% 69%
Go 3.28 336,736 1229 7.27 63% 53% 47% 61%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.57 282,352 643 2.06 99% 16% 8% 14%
Go 0.48 88,820 1278 0.86 32% 48% 63% 44%
Chapel

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

Go

go version go1.8 linux/amd64