[Haskell-cafe] Testing of GHC extensions & optimizations
roehst at gmail.com
Sun Sep 2 18:05:04 UTC 2018
Hi Omer, thanks for the reply. The tests you run are for regression
testing, that is, non-functional aspects, is my understanding right? What
about testing that optimizations and extensions are correct from a
Em sáb, 1 de set de 2018 às 08:32, Ömer Sinan Ağacan <omeragacan at gmail.com>
> Here are a few things we do regarding compiler/runtime performance:
> - Each commit goes through some set of tests, some of which also check max.
> residency, total allocations etc. of the compiler or the compiled
> and fail if those numbers are more than the allowed amount. See  for
> - There's https://perf.haskell.org/ghc/ which does some testing on every
> commit. I don't know what exactly it's doing (hard to tell from the web
> but I guess it's only running a few select tests/benchmarks?). I've
> personally never used it, I just know that it exists.
> - Most of the time if a patch is expected to change compiler or runtime
> performance the author submits nofib results and updates the perf tests
> in the
> test suite for new numbers. This process is manual and sometimes
> are asked for nofib numbers by reviewers etc. See [2,3] for nofib.
> We currently don't use random testing.
> : https://github.com/ghc/nofib
> : https://ghc.haskell.org/trac/ghc/wiki/Building/RunningNoFib
> Rodrigo Stevaux <roehst at gmail.com>, 31 Ağu 2018 Cum, 20:54 tarihinde şunu
> > Hi,
> > For those familiar with GHC source code & internals, how are extensions
> & optimizations tested? And what are the quality policies for accepting new
> code into GHC?
> > I am interested in testing compilers in general using random testing. Is
> it used on GHC?
> > _______________________________________________
> > Haskell-Cafe mailing list
> > To (un)subscribe, modify options or view archives go to:
> > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> > Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe