Skip to content

Benchmarking the OCaml compiler and all its friends

Notifications You must be signed in to change notification settings

snimmagadda/sandmark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sandmark

a benchmarking suite for ocaml

try make ocaml-versions/4.06.0.bench

running a given benchmark

make ocaml-versions/4.06.0.bench BENCH_TARGET=benchmarks/js_of_ocaml/bench

pre-requisites

on Linux you need to have libgmp-dev installed for several of the benchmarks to work.

Multicore notes

running multicore specific benchmarks

make ocaml-versions/4.06.1+multicore.bench BENCH_TARGET=multibench

ctypes

ctypes 14.0.0 doesn't support multicore. A workaround is to update dependencies/packages/ctypes/ctypes.0.14.0/opam to use https://github.com/yallop/ocaml-ctypes/archive/14d0e913e82f8de2ecf739970561066b2dce70b7.tar.gz as the source url.

OS X

This is only needed for multicore versions before this commit

The ocaml-update-c command in multicore needs to run with GNU sed. sed will default to a BSD sed on OS X. One way to make things work on OS X is to install GNU sed with homebrew and then update the PATH you run sandmark with to pick up the GNU version.

About

Benchmarking the OCaml compiler and all its friends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 66.9%
  • C 32.2%
  • Other 0.9%