- 20 Dec, 2019 4 commits
-
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
-
Ben Gamari authored
Instead of passing package dependencies via `SRC_HC_OPTS=-package ...` we rather pass them via `SRC_DEPS`, allowing the build system to know about the dependency.
-
- 18 Dec, 2019 1 commit
-
-
Ben Gamari authored
-
- 16 Dec, 2019 1 commit
-
-
Ben Gamari authored
-
- 13 Dec, 2019 1 commit
-
-
Ben Gamari authored
-
- 12 Dec, 2019 1 commit
-
-
Ben Gamari authored
-
- 21 Nov, 2019 1 commit
-
-
Vladislav Zavialov authored
Required due to an amendment that disallows as-patterns with leading whitespace: f x@ pat = rhs -- now disallowed
-
- 14 Nov, 2019 1 commit
-
-
Vladislav Zavialov authored
GHC Proposal #229 changes the lexical rules of Haskell, which may require slight whitespace adjustments in certain cases. This patch changes formatting in nofib in a way that enables it to compile under the proposed rules.
-
- 06 Oct, 2019 1 commit
-
-
Gabor Greif authored
it might have a different name
-
- 19 Sep, 2019 1 commit
-
-
Sylvain Henry authored
-
- 16 Sep, 2019 1 commit
-
-
Ben Gamari authored
As reported in ghc#17196, GHC now prints "MiB" instead of "MB" in its RTS reporting output.
-
- 24 Jun, 2019 1 commit
-
-
Andreas Klebinger authored
Otherwise it isn't run by default.
-
- 06 May, 2019 1 commit
-
-
Oleg Grenrus authored
-
- 17 Apr, 2019 2 commits
-
-
Oleg Grenrus authored
This is what I wrote, using easy.sh is easy as ./easy.sh /code/ghc1/_build/stage1/bin/ghc /code/ghc2/_build/stage2/bin/ghc or even ./easy.sh /code/ghc1 /code/ghc2
-
Oleg Grenrus authored
-
- 04 Apr, 2019 1 commit
-
-
Ben Gamari authored
-
- 28 Mar, 2019 4 commits
-
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
-
Andreas Klebinger authored
Of interest is in particular that the code uses -XStrict.
-
- 26 Mar, 2019 1 commit
-
-
Sebastian Graf authored
-
- 25 Feb, 2019 3 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- 18 Feb, 2019 2 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- 26 Jan, 2019 1 commit
-
-
Sebastian Graf authored
[skip ci]
-
- 16 Jan, 2019 3 commits
-
-
Sebastian Graf authored
-
Sebastian Graf authored
While investigating a 5% runtime regression, I realised that `gen_regexp` wasn't sufficiently stable wrt. GC parameterisations. This is now rectified by iterating 500 instead of 100 times.
-
Sebastian Graf authored
-
- 15 Jan, 2019 2 commits
-
-
Sebastian Graf authored
-
Sebastian Graf authored
Also check that invariant in CI: After a `make distclean` `git clean -nxd` should find no files. The hope is that this catches cases were a `make clean` would forget to list a `.gitignore`d file that should either be registered as a `(DIST_)CLEAN_FILES` or should be unignored and committed into the repository.
-
- 13 Jan, 2019 1 commit
-
-
Abhiroop Sarkar authored
-
- 08 Jan, 2019 1 commit
-
-
Sebastian Graf authored
Summary: This is due to #15999, a follow-up on #5793 and #15357 and changes all benchmarks, some of them (i.e. `wheel-sieve1`, `awards`) rather drastically. The general plan is outlined in #15999: Identify GC-sensitive benchmarks by looking at how productivity rates change over different nursery sizes and iterate `main` of these benchmarks often enough for the non-monotony and discontinuities to go away. I was paying attention that the benchmarked logic is actually run $n times more often, rather than just benchmarking IO operations printing the result of CAFs. When I found benchmarks with insignificant runtime (#15357), I made sure that parameters/input files were adjusted so that runtime of the different modes fall within the ranges proposed in https://ghc.haskell.org/trac/ghc/ticket/15357#comment:4 - fast: 0.1-0.2s - norm: 1-2s - slow: 5-10s This is what I did: - Stabilise bernoulli - Stabilise digits-of-e1 - Stabilise digits-of-e2 - Stabilise gen_regexp - Adjust running time of integrate - Adjust running time of kahan - Stabilise paraffins - Stabilise primes - Adjust running time of rfib - Adjust running time of tak - Stabilise wheel-sieve1 - Stabilise wheel-sieve2 - Adjust running time of x2n1 - Adjust running time of ansi - Adjust running time of atom - Make awards benchmark something other than IO - Adjust running time of banner - Stabilise boyer - Adjust running time of boyer2 - Adjust running time of queens - Adjust running time of calendar - Adjust runtime of cichelli - Stabilise circsim - Stabilise clausify - Stabilise constraints with moderate success - Adjust running time of cryptarithm1 - Adjust running time of cryptarythm2 - Adjust running time of cse - Adjust running time of eliza - Adjust running time of exact-reals - Adjust running time of expert - Stabilise fft2 - Stabilise fibheaps - Stabilise fish - Adjust running time for gcd - Stabilise comp_lab_zift - Stabilise event - Stabilise fft - Stabilise genfft - Stabilise ida - Adjust running time for listcompr - Adjust running time for listcopy - Adjust running time of nucleic2 - Attempt to stabilise parstof - Stabilise sched - Stabilise solid - Adjust running time of transform - Adjust running time of typecheck - Stabilise wang - Stabilise wave4main - Adjust running time of integer - Adjust running time of knights - Stabilise lambda - Stabilise lcss - Stabilise life - Stabilise mandel - Stabilise mandel2 - Adjust running time of mate - Stabilise minimax - Adjust running time of multiplier - Adjust running time of para - Stabilise power - Adjust running time of primetest - Stabilise puzzle with mild success - Adjust running time for rewrite - Stabilise simple with mild success - Stabilise sorting - Stabilise sphere - Stabilise treejoin - Stabilise anna - Stabilise bspt - Stabilise cacheprof - Stablise compress - Stablise compress2 - Stabilise fem - Adjust running time of fluid - Stabilise fulsom - Stabilise gamteb - Stabilise gg - Stabilise grep - Adjust running time of hidden - Stabilise hpg - Stabilise infer - Stabilise lift - Stabilise linear - Attempt to stabilise maillist - Stabilise mkhprog - Stabilise parser - Stabilise pic - Stabilise prolog - Attempt to stabilise reptile - Adjust running time of rsa - Adjust running time of scs - Stabilise symalg - Stabilise veritas - Stabilise binary-trees - Adjust running time of fasta - Adjust running time of k-nucleotide - Adjust running time of pidigits - Adjust running time of reverse-complement - Adjust running time of spectral-norm - Adjust running time of fannkuch-redux - Adjust running time for n-body Problematic benchmarks: - `last-piece`: Unclear how to stabilise. Runs for 300ms and I can't make up smaller inputs because I don't understand what it does. - `pretty`: It's just much too small to be relevant at all. Maybe we want to get rid of this one? - `scc`: Same as `pretty`. The input graph for which SCC analysis is done is much too small and I can't find good directed example graphs on the internet. - `secretary`: Apparently this needs `-package random` and consequently hasn't been run for a long time. - `simple`: Same as `last-piece`. Decent runtime (70ms), but it's unstable and I see no way to iterate it ~100 times in fast mode. - `eff`: Every benchmark is problematic here. Not from the point of view of allocations, but because the actual logic is vacuous. IMO, these should be performance tests, not actual benchmarks. Alternatively, write an actual application that makes use of algebraic effects. - `maillist`: Too trivial. It's just String/list manipulation, not representative of any Haskell code we would write today (no use of base library functions which could be fused, uses String instead of Text). It's only 75 loc according to `cloc`, that's not a `real` application. Reviewers: simonpj, simonmar, bgamari, AndreasK, osa1, alpmestan, O26 nofib GHC Trac Issues: #15999 Differential Revision: https://phabricator.haskell.org/D5438
-
- 01 Jan, 2019 4 commits
-
-
Sebastian Graf authored
Summary: In the past, we repeatedly had problems with non-deterministic allocations due to stack squeezing during context switches (#4450, #8611). This patch adds `+RTS -V0 -RTS` as extra `RUNTEST_OPTS` for every single-threaded benchmark. Is this the right place to add the flags? Should we also do this for all the other benchmarks? Reviewers: simonmar, osa1, nomeata, O26 nofib GHC Trac Issues: #8611 Differential Revision: https://phabricator.haskell.org/D5470
-
Andreas Klebinger authored
Summary: That way they are easier to compile with plain calls to ghc. Test Plan: make clean && make boot && make Reviewers: O26 nofib, bgamari Reviewed By: bgamari Subscribers: bgamari Differential Revision: https://phabricator.haskell.org/D5437
-
Sebastian Graf authored
The pragma hasn't been recognised for a long time. Replacing it with bangs will change program semantics to how it was intended. The perf CI build is currently broken anyway, so this shouldn't skew numbers too much.
-
Sebastian Graf authored
This should fix the build in the same way as !2.
-