The Computer Language
Benchmarks Game

Chapel programs versus Python 3

by benchmark task performance

fasta
source secs mem gz cpu cpu load
Chapel 1.84 32,132 1392 5.98 99% 75% 77% 76%
Python 3 113.03 7,860 977 112.99 1% 100% 0% 1%
spectral-norm
source secs mem gz cpu cpu load
Chapel 4.00 33,332 310 15.85 100% 99% 99% 99%
Python 3 180.01 55,892 437 714.86 99% 100% 99% 100%
n-body
source secs mem gz cpu cpu load
Chapel 21.55 20,688 962 21.55 100% 0% 1% 0%
Python 3 836.27 7,756 1181 836.06 0% 1% 1% 100%
fannkuch-redux
source secs mem gz cpu cpu load
Chapel 13.25 33,972 728 52.74 100% 99% 100% 99%
Python 3 501.72 54,708 944 1,967.92 98% 97% 100% 99%
mandelbrot
source secs mem gz cpu cpu load
Chapel 12.17 59,756 455 48.40 100% 100% 100% 99%
Python 3 250.62 52,752 686 1,000.26 100% 100% 100% 100%
binary-trees
source secs mem gz cpu cpu load
Chapel 15.65 341,416 554 51.70 100% 81% 80% 71%
Python 3 126.07 831,740 596 474.55 93% 93% 93% 99%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 33.87 281,012 1063 119.14 100% 94% 72% 86%
Python 3 72.35 229,040 1937 268.72 98% 94% 91% 94%
pidigits
source secs mem gz cpu cpu load
Chapel 1.60 22,088 501 1.60 99% 4% 2% 1%
Python 3 3.41 9,992 382 3.40 1% 2% 100% 1%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.57 282,352 643 2.06 99% 16% 8% 14%
Python 3 2.93 265,636 800 4.28 80% 46% 21% 2%
regex-redux
source secs mem gz cpu cpu load
Chapel 10.58 1,138,908 477 20.89 100% 14% 14% 73%
Python 3 14.87 433,868 486 28.02 32% 45% 84% 29%
Chapel

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

Python 3

Python 3.6.0 (default, Feb 5 2017, 10:29:14) [GCC 5.4.0 20160609] on linux
--enable-optimizations
make profile-opt