Commits on Source (94)
-
Sylvain Henry authored
-
Previously I would get an error during `make boot`: EffBench.hs:10:18: error: Could not load module ‘Control.Monad.State.Strict’ It is a member of the hidden package ‘mtl-2.2.2’. You can run ‘:set -package mtl’ to expose it. (Note: this unloads all the modules in the current scope.) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 10 | import qualified Control.Monad.State.Strict as S |
-
Andreas Klebinger authored
-
Ben Gamari authored
-
Ben Gamari authored
Improve consistency across tests.
-
Ben Gamari authored
-
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.
-
Ben Gamari authored
To avoid interfering with test output.
-
Ben Gamari authored
We rather generate `Main.cachegrind.result.<n>`. For now I'll just let this fact go unrepresented in the build graph.
-
Ben Gamari authored
The rule did not produce this file.
-
Ben Gamari authored
-
Ben Gamari authored
This adds the port of the smallpt raytracer by David Scies and bollu. https://github.com/bollu/smallpt-opt/
-
Ben Gamari authored
-
Andreas Klebinger authored
-
-
Split make build system documentation out of root README and reference shake-based build system.
-
-
The build system now does this automatically.
-
-
Moritz Angermann authored
-
Benjamin Maurer authored
-
vdukhovni authored
See !5259
-
Benjamin Maurer authored
-
-
-
Ben Gamari authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
* We adjust for the specialisation of Data.List by hiding the generic version from the Prelude. This should make this change backwards compatible with older base versions. * Adjust the gc benchmarks. I've mostly made them the same as their non-gc parts now.
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
This can be used via passing --head to the nofib runner. It will build benchmark dependencies using the given benchmark compiler and hackage.head.
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
-
Oleg Grenrus authored
-
Matthew Pickering authored
-
Andreas Klebinger authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Matthew Pickering authored
-
Matthew Pickering authored
-
Matthew Pickering authored
-
Matthew Pickering authored
-
-
By reducing the size of the raytraced image.
-
Current test does some floating-point manipulations which can be non-deterministic due to different platforms/architectures. This change truncates the result to avoid potential stdout mismatch.
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Alex D authored
-
Andreas Klebinger authored
-
-
Andreas Klebinger authored
ghc-9 introduces a regression(?) in FP precision (See ghc ticket #19569). While this is unfortunate we want nofib to be useable with ghc 8.10 and 9.0 as far as possible. So I added an additional argument to the benchmark which controls if we output the benchmark result or not, which is off by default. This allows easy checking of the output manually without causing benchmark errors because the output differs. I've also added the benchmark to the ghc testsuite to avoid future regressions.
-
Benjamin Maurer authored
bc. program invocation on shake based nofib-run was broken. Also added a few arguments to input to make single iteration longer and adjusted iteration counts to get desired execution times.
-
Benjamin Maurer authored
real/smallpt's .slowstdout file was missing. The value in spectral/dom-lt's was wrong, also runtime was lower than 5 sek on my machine (should be between 5-10s), so I increased the argument and updated dom-lt.slowstdout.
-
Benjamin Maurer authored
Input generation with the shake-based nofib-run didn't work for shootout/reverse-complement, so the test was never run. Created a boot.sh script analogous to shootout/k-nucleotide. Compilation of fasta-c.c and revcomp-c.c gave warnings for ignored return values of 'write' - suppressed them by explicitly ignoring with '(void)!' (negation and void cast).
-
Benjamin Maurer authored
Times on Ryzen 4700 laptop (16GB): From 0.038s/0.310s/1.474s To 0.112s/1.222s/7.051s
-
Benjamin Maurer authored
Increased input size and added argument for iteration count. Run-times were: 0.095s/0.651s/3.257s Are now: 0,145s/1,551s/8,064s
-
Andreas Klebinger authored
-
Andreas Klebinger authored
Some of the parallel benchmarks aren't very stable with a limited number of iterations so don't run them by default. They used to be not run at all! So not a huge change imo. Also bump the base bounds to make newer ghcs work again.
-
Andreas Klebinger authored
-
Sebastian Graf authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Teo Camarasu authored
This seems to be a Makefile-ism that has been copied over into bash scripts, but this just causes an error in bash. Resolves #30
-
Sebastian Graf authored
Fixes ghc#24206.
-
Matthew Pickering authored
-
Matthew Pickering authored
-
Matthew Pickering authored
-
Matthew Pickering authored
-
Ben Gamari authored
-
Andreas Klebinger authored
-
Rodrigo Mesquita authored
-
Rodrigo Mesquita authored
On my machine, reading all configs lazily caused resource exhaustion since we'd open too many all at once.
-
Ben Gamari authored
-
Andreas Klebinger authored
Remove the bounds on base altogether. The upper bound only ever resulted in busy work, while the lower bound was thourogly untested. I've also relaxed the time bound slightly.
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
Showing
- .gitignore 5 additions, 0 deletions.gitignore
- .gitlab-ci.yml 30 additions, 19 deletions.gitlab-ci.yml
- README.make.mkd 186 additions, 0 deletionsREADME.make.mkd
- README.md 16 additions, 172 deletionsREADME.md
- Simon-nofib-notes 5 additions, 0 deletionsSimon-nofib-notes
- cabal.project 1 addition, 0 deletionscabal.project
- cabal.project.head-hackage 13 additions, 0 deletionscabal.project.head-hackage
- common/NofibUtils.hs 26 additions, 2 deletionscommon/NofibUtils.hs
- gc/cacheprof/Main.hs 1 addition, 0 deletionsgc/cacheprof/Main.hs
- gc/cacheprof/cacheprof.stdin 0 additions, 13108 deletionsgc/cacheprof/cacheprof.stdin
- gc/circsim/Main.lhs 6 additions, 2 deletionsgc/circsim/Main.lhs
- gc/circsim/Makefile 3 additions, 3 deletionsgc/circsim/Makefile
- gc/circsim/circsim.faststdout 0 additions, 1 deletiongc/circsim/circsim.faststdout
- gc/circsim/circsim.slowstdout 0 additions, 1 deletiongc/circsim/circsim.slowstdout
- gc/circsim/circsim.stdout 0 additions, 1 deletiongc/circsim/circsim.stdout
- gc/constraints/Main.hs 8 additions, 7 deletionsgc/constraints/Main.hs
- gc/constraints/Makefile 3 additions, 4 deletionsgc/constraints/Makefile
- gc/constraints/constraints.faststdout 1200 additions, 5 deletionsgc/constraints/constraints.faststdout
- gc/constraints/constraints.slowstdout 1200 additions, 5 deletionsgc/constraints/constraints.slowstdout
- gc/constraints/constraints.stdout 1200 additions, 5 deletionsgc/constraints/constraints.stdout
README.make.mkd
0 → 100644
cabal.project
0 → 100644
cabal.project.head-hackage
0 → 100644
This diff is collapsed.
gc/circsim/circsim.faststdout
deleted
100644 → 0
gc/circsim/circsim.slowstdout
deleted
100644 → 0
This diff is collapsed.
gc/circsim/circsim.stdout
deleted
100644 → 0
This diff is collapsed.