The Computer Language
Benchmarks Game

Chapel versus Go fastest programs

Always look at the source code.

These are only the fastest programs. Do some of them use manually vectorized SIMD? Look at the other programs. They may seem more-like a fair comparison to you.

fasta
source secs mem gz busy cpu load
Chapel 0.93 5,252 1391 3.36 100% 87% 88% 87%
Go 1.28 11,276 1404 3.78 65% 86% 81% 65%
pidigits
source secs mem gz busy cpu load
Chapel 0.75 6,516 512 0.75 99% 1% 0% 0%
Go 1.00 8,952 683 1.04 0% 3% 99% 2%
mandelbrot
source secs mem gz busy cpu load
Chapel 3.32 36,104 588 13.13 99% 98% 99% 99%
Go 3.75 34,832 894 14.92 100% 99% 99% 100%
spectral-norm
source secs mem gz busy cpu load
Chapel 1.46 5,204 310 5.80 99% 99% 99% 99%
Go 1.44 2,356 548 5.71 99% 99% 99% 99%
n-body
source secs mem gz busy cpu load
Chapel 6.79 5,388 971 7.09 100% 1% 0% 3%
Go 6.38 1,896 1200 6.43 0% 100% 1% 0%
regex-redux
source secs mem gz busy cpu load
Chapel 4.29 486,708 493 6.81 99% 21% 21% 17%
Go 3.94 323,252 810 6.14 74% 30% 19% 33%
reverse-complement
source secs mem gz busy cpu load
Chapel 1.65 1,882,564 755 3.51 96% 38% 38% 41%
Go 1.42 1,344,600 1338 2.66 57% 36% 71% 24%
binary-trees
source secs mem gz busy cpu load
Chapel 7.86 298,696 488 24.18 100% 57% 77% 74%
Go 6.68 266,164 745 26.59 100% 99% 99% 100%
fannkuch-redux
source secs mem gz busy cpu load
Chapel 9.35 4,288 731 37.30 100% 100% 100% 100%
Go 7.59 2,064 969 30.31 100% 100% 100% 100%
k-nucleotide
source secs mem gz busy cpu load
Chapel 10.43 177,052 996 38.90 100% 90% 91% 92%
Go 8.30 160,300 1607 31.96 96% 98% 96% 95%
Chapel

chpl version 1.23.0
Copyright 2020 Hewlett Packard Enterprise Development LP
Copyright (c) 2004-2019, Cray Inc.

Go

go version go1.16 linux/amd64