ocaml-bench / sandmark

A benchmark suite for the OCaml compiler
The Unlicense
82 stars 40 forks source link

Add MaPLe benchmarks to Sandmark #401

Closed shakthimaan closed 1 year ago

shakthimaan commented 1 year ago

A number of benchmarks from the MaPLe available at:

https://github.com/MPLLang/parallel-ml-bench/tree/main/ocaml

The benchmarks are also mentioned in the papers by Sam Westrick at:

https://www.cs.cmu.edu/~swestric/

It will be useful to create an OCaml version of the same for inclusion in Sandmark.

shwestrick commented 1 year ago

Would be great to see these in sandmark! The tokens, primes, msort_ints, and msort_strings benchmarks are all new. I may add some more benchmarks in the future, too.

The OCaml source at https://github.com/MPLLang/parallel-ml-bench/tree/main/ocaml should be good to go straight out of the box with OCaml 5 and domainslib 0.4.2. The accompanying library could also be of independent interest...

If anyone has any questions about the benchmarks, let me know. I'm happy to help!