See README.md in the root directory for installation instructions.
The run.js
script runs the benchmarks that generated the images in the
README.md.
node run.js
See NIX.md in the root directory for installation instructions.
# Go back to the root HVM directory.
cd ..
# Initialise the dev shell.
# The rest of the instructions in this section assume that you're using the dev
# shell.
nix develop
cd bench
cd <benchmark_directory>
ghc -O2 main.hs -o main
hyperfine --show-output ./main <arguments>
hvm compile main.hvm
clang -O2 main.c -o main -lpthread
hyperfine --show-output ./main <arguments>
Same as in the corresponding step in the "Benchmarking" section above.