Chapel VS Acton benchmarks

Current benchmark data was generated on Fri Dec 09 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (Model 85)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)

binarytrees

Input: 18

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 4.chpl 2521ms 3.7ms 54.3MB 2480ms 23ms chpl 1.28.0
chapel 3.chpl 2601ms 6.6ms 50.3MB 2567ms 13ms chpl 1.28.0

Input: 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 4.chpl 238ms 4.3ms 20.1MB 220ms 7ms chpl 1.28.0
chapel 3.chpl 239ms 3.0ms 20.1MB 220ms 0ms chpl 1.28.0

coro-prime-sieve

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1-m.chpl 3842ms 71ms 57.6MB 7450ms 47ms chpl 1.28.0

Input: 1000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1-m.chpl 278ms 13ms 30.2MB 503ms 7ms chpl 1.28.0

edigits

Input: 250001

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1.chpl 89ms 1.6ms 24.4MB 73ms 3ms chpl 1.28.0
acton 1.act 548ms 11ms 7.4MB 487ms 43ms actonc 0.14.2

Input: 100000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1.chpl 41ms 2.5ms 24.9MB 27ms 3ms chpl 1.28.0
acton 1.act 202ms 1.2ms 5.3MB 183ms 3ms actonc 0.14.2

fasta

Input: 2500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 5-m.chpl 133ms 2.8ms 24.1MB 220ms 3ms chpl 1.28.0

Input: 250000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 5.chpl 27ms 0.8ms 24.1MB 20ms 7ms chpl 1.28.0

helloworld

Input: QwQ

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
acton 1.act 5.2ms 3.9ms 3.1MB 0ms 0ms actonc 0.14.2
chapel 1.chpl 15ms 1.5ms 24.4MB 3ms 7ms chpl 1.28.0

knucleotide

Input: 2500000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 3-m.chpl 964ms 7.4ms 79.1MB 1767ms 23ms chpl 1.28.0

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 3-m.chpl 167ms 2.6ms 68.8MB 257ms 17ms chpl 1.28.0

nbody

Input: 5000000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 403ms 3.5ms 24.4MB 383ms 3ms chpl 1.28.0

Input: 500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 56ms 1.9ms 24.4MB 40ms 3ms chpl 1.28.0

pidigits

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 485ms 2.0ms 25.4MB 460ms 10ms chpl 1.28.0
acton 1.act 4902ms 85ms 7.8MB 4477ms 777ms actonc 0.14.2

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 2.chpl 126ms 2.2ms 22.9MB 110ms 3ms chpl 1.28.0
acton 1.act 1475ms 7.3ms 6.4MB 1327ms 277ms actonc 0.14.2

regex-redux

Input: 2500000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 3.chpl 1866ms 31ms 223.6MB 1697ms 160ms chpl 1.28.0

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 3.chpl 199ms 3.7ms 41.4MB 160ms 23ms chpl 1.28.0

secp256k1

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1.chpl 1478ms 0.2ms 32.3MB 1457ms 7ms chpl 1.28.0

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1.chpl 384ms 0.5ms 32.3MB 363ms 7ms chpl 1.28.0

spectral-norm

Input: 8000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1-m.chpl 1967ms 87ms 32.3MB 3797ms 7ms chpl 1.28.0
chapel 1.chpl 3776ms 0.1ms 32.3MB 3760ms 3ms chpl 1.28.0

Input: 4000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1-m.chpl 507ms 11ms 32.3MB 953ms 7ms chpl 1.28.0
chapel 1.chpl 963ms 3.4ms 32.3MB 950ms 3ms chpl 1.28.0

Input: 2000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 1-m.chpl 146ms 0.7ms 32.3MB 247ms 10ms chpl 1.28.0
chapel 1.chpl 256ms 1.2ms 32.3MB 240ms 7ms chpl 1.28.0