The Computer Language
Benchmarks Game

Chapel programs versus Go

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%
Go 29.51 352,804 798 61.51 77% 49% 43% 40%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.32 324,660 484 44.15 100% 58% 78% 75%
Go 34.77 269,068 654 132.04 95% 97% 95% 95%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 11.38 46,056 728 45.18 100% 99% 99% 100%
Go 15.81 1,372 900 62.92 100% 100% 99% 99%
pidigits
source secs mem gz cpu cpu load
Chapel 1.61 33,748 423 1.63 99% 2% 3% 1%
Go 2.02 8,588 603 2.02 100% 0% 1% 1%
fasta
source secs mem gz cpu cpu load
Chapel 1.69 52,272 1392 5.85 99% 83% 83% 82%
Go 1.98 3,044 1344 5.65 75% 82% 47% 85%
mandelbrot
source secs mem gz cpu cpu load
Chapel 5.04 83,820 620 19.92 100% 99% 99% 99%
Go 5.64 31,312 894 22.41 99% 100% 99% 99%
n-body
source secs mem gz cpu cpu load
Chapel 20.81 32,468 962 20.82 100% 0% 1% 0%
Go 21.52 832 1310 21.52 1% 100% 0% 0%
spectral-norm
source secs mem gz cpu cpu load
Chapel 4.00 51,084 310 15.82 100% 99% 99% 99%
Go 3.96 2,148 548 15.71 100% 99% 99% 99%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
Go 16.08 149,180 1582 59.44 95% 90% 90% 97%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.46 300,412 643 2.11 98% 19% 22% 10%
Go 0.49 88,056 1278 0.87 27% 43% 28% 81%
Chapel

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

Go

go version go1.8.1 linux/amd64