Skip to content
Snippets Groups Projects

Shaking it up

Merged Ben Gamari requested to merge shake2 into master
  1. Oct 13, 2020
    • Ben Gamari's avatar
      Introduce Shake-based build system · 612ad668
      Ben Gamari authored
      This introduces a Shake-based build system, building on Neil Mitchell's
      prototype from several years ago [1].
      
      This build system has a number of features relative to the existing
      make-based build system:
      
       * results are produced in a common CSV structure, making it easy to use
         the included analysis tool nofib-compare, to compare results from tests
         outside of nofib.
       * Cachegrind runs can be run in parallel, greatly speeding up such
         measurements
       * native support for (micro-)architectural performance counters on
         Linux via `perf stat`
      
      [1] https://gist.github.com/ndmitchell/4733855
      
      There are also a few more changes to tests to make this build system
      work well with nofib.
      
      In particular:
      
      * The Main module for some benchmarks has been renamed.
      * The boot phase of benchmarks is now done by a boot.sh script.
      * Replace some uses of perl with ghci.
      * Some benchmarks that we didn't use to run by default had
        missing/wrong(!) stdout files. I added/updated these.
      
      Take note that shake will run *more* benchmarks by default than make
      used to. So you might want to select a subset of benchmarks to run when
      using it.
      612ad668
    • Ben Gamari's avatar
      mutstore2: Declare dependency on array · 1ccfd527
      Ben Gamari authored
      1ccfd527
    • Ben Gamari's avatar
      Rename main modules to Main.hs · d5b26cf5
      Ben Gamari authored
      Improve consistency across tests.
      d5b26cf5
    • Ben Gamari's avatar
      gray: Add MonadFail instances · b94cf563
      Ben Gamari authored
      b94cf563
Loading