The Computer Language
Benchmarks Game

Chapel programs versus Python 3

by benchmark task performance

fasta
source secs mem gz cpu cpu load
Chapel 1.69 52,272 1392 5.85 99% 83% 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.04 83,820 620 19.92 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 4.00 51,084 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,056 728 45.18 100% 99% 99% 100%
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.81 32,468 962 20.82 100% 0% 1% 0%
Python 3 787.02 7,744 1181 786.82 0% 1% 0% 100%
binary-trees
source secs mem gz cpu cpu load
Chapel 14.32 324,660 484 44.15 100% 58% 78% 75%
Python 3 86.90 451,548 581 306.31 89% 97% 87% 89%
k-nucleotide
source secs mem gz cpu cpu load
Chapel 17.21 331,460 1063 65.10 100% 93% 94% 94%
Python 3 84.73 221,028 1937 276.97 97% 93% 91% 91%
reverse-complement
source secs mem gz cpu cpu load
Chapel 1.46 300,412 643 2.11 98% 19% 22% 10%
Python 3 2.82 265,428 800 4.18 46% 32% 20% 54%
regex-redux
source secs mem gz cpu cpu load
Chapel 10.02 1,022,052 477 19.68 99% 72% 14% 12%
Python 3 14.86 439,208 486 27.92 46% 77% 35% 31%
pidigits
source secs mem gz cpu cpu load
Chapel 0.08 ? 423 0.09 88% 0% 13% 14%
Python 3   Failed
Chapel

chpl Version 1.15.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