The Computer Language
Benchmarks Game

Chapel programs versus Python 3

by benchmark task performance

fasta
source secs mem gz cpu cpu load
Chapel 1.71 52,184 1392 5.90 99% 82% 83% 82%
Python 3 110.91 8,024 977 110.87 100% 1% 1% 1%
mandelbrot
source secs mem gz cpu cpu load
Chapel 5.56 85,700 620 22.02 100% 99% 99% 99%
Python 3 273.43 53,416 686 1,091.35 100% 100% 100% 100%
spectral-norm
source secs mem gz cpu cpu load
Chapel 3.98 52,996 310 15.82 100% 99% 99% 99%
Python 3 188.83 54,524 437 750.46 99% 100% 100% 99%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 11.38 46,168 728 45.17 100% 100% 100% 99%
Python 3 483.79 51,896 944 1,880.10 97% 94% 100% 99%
n-body
source secs mem gz cpu cpu load
Chapel 20.82 32,388 962 20.83 100% 0% 0% 1%
Python 3 787.02 7,744 1181 786.82 0% 1% 0% 100%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.17 341,288 484 44.06 100% 77% 79% 57%
Python 3 86.90 451,548 581 306.31 89% 97% 87% 89%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 16.69 350,432 1063 62.96 100% 92% 93% 93%
Python 3 84.73 221,028 1937 276.97 97% 93% 91% 91%
pidigits
source secs mem gz cpu cpu load
Chapel 1.62 34,024 423 1.64 99% 3% 1% 4%
Python 3 3.51 10,344 382 3.50 0% 2% 1% 100%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.51 306,768 643 2.17 99% 21% 9% 19%
Python 3 2.82 265,428 800 4.18 46% 32% 20% 54%
regex-redux
source secs mem gz cpu cpu load
Chapel 8.70 843,100 477 17.28 100% 15% 15% 71%
Python 3 14.86 439,208 486 27.92 46% 77% 35% 31%
Chapel

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

Python 3

Python 3.6.1 (default, Apr 18 2017, 10:33:41)
[GCC 6.3.0 20170406]
--enable-optimizations --with-lto
make profile-opt