nofib.git
2 years agospectral/mate: remove unnecessary HS_SRCS
Michal Terepeta [Thu, 4 May 2017 12:46:54 +0000 (08:46 -0400)] 
spectral/mate: remove unnecessary HS_SRCS

I've mistakenly added it as a workaround to build problems, but the
whole problem was only due a missing `.depend` file (which is created
by `make boot` and interestigly is not cleaned by `make clean`). In
any way, the `HS_SRCS` is simply unnecessary and can be removed.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3389

2 years agospectral/sphere: simplify Makefile
Michal Terepeta [Thu, 4 May 2017 12:46:43 +0000 (08:46 -0400)] 
spectral/sphere: simplify Makefile

By simply renaming the expected output files to follow the usual
conventions, we can simplify the `Makefile` a bit.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3366

2 years agospectral: enable exact-reals
Michal Terepeta [Thu, 4 May 2017 12:46:35 +0000 (08:46 -0400)] 
spectral: enable exact-reals

The benchmark only needed a small update to the expected stdandard
output file (missing newline).

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: dfeuer, bgamari

Reviewed By: dfeuer

Differential Revision: https://phabricator.haskell.org/D3363

2 years agoreal/Makefile: remove OTHER_SUBDIRS
Michal Terepeta [Wed, 15 Mar 2017 21:48:21 +0000 (17:48 -0400)] 
real/Makefile: remove OTHER_SUBDIRS

Summary:
This removes the unnecessary `OTHER_SUBDIRS` variable, since the
subdirectories mentioned there are already in `SUBDIRS` (the
benchmarks have been enabled in previous commits).

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: bgamari, dfeuer

Reviewed By: dfeuer

Differential Revision: https://phabricator.haskell.org/D3342

2 years agofibheaps/Makefile: remove some weird character
Michal Terepeta [Wed, 15 Mar 2017 21:48:15 +0000 (17:48 -0400)] 
fibheaps/Makefile: remove some weird character

Summary:
Because it's at the beginning of the line with `SRC_HC_OPTS`, it
causes `make` ignore those options. This commit removes that character
and makes everything work.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: manually verify that the options are passed to GHC

Reviewers: bgamari, dfeuer

Reviewed By: dfeuer

Subscribers: dfeuer

Differential Revision: https://phabricator.haskell.org/D3344

2 years agospectral: temporarily disable secretary
Michal Terepeta [Wed, 15 Mar 2017 21:47:15 +0000 (17:47 -0400)] 
spectral: temporarily disable secretary

Summary:
Unfortunately `secretary` requires `random` package to compile and
this broke perf.haskell.org. Let's disable the benchmark for now until
we have a good story for dealing with benchmarks that require
packages.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: bgamari, nomeata

Reviewed By: nomeata

Differential Revision: https://phabricator.haskell.org/D3347

2 years agospectral: remove triangle
Michal Terepeta [Mon, 13 Mar 2017 22:39:24 +0000 (18:39 -0400)] 
spectral: remove triangle

The benchmark hasn't been enabled and doesn't compile. Fixing it is
easy, but it runs very quickly with the default parameter `5` (takes
~0.04s). When I bumped the parameter to `6`, it didn't finish within
~90s CPU time (and 5GiB of RAM).

So it seems unlikely to be useful - let's just remove it.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: run nofib

Reviewers: dfeuer, bgamari

Reviewed By: bgamari

Subscribers: dfeuer

Differential Revision: https://phabricator.haskell.org/D3085

2 years agospectral: remove compreals
Michal Terepeta [Mon, 13 Mar 2017 22:37:14 +0000 (18:37 -0400)] 
spectral: remove compreals

It's been disabled for a long time and there's no input to actually
run it.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: bgamari

Differential Revision: https://phabricator.haskell.org/D3330

2 years agoreal: remove PolyGP
Michal Terepeta [Mon, 13 Mar 2017 22:36:32 +0000 (18:36 -0400)] 
real: remove PolyGP

The benchmark doesn't compile and was not enabled. I tried fixing it,
but it seems to take excessive amount of time & memory (didn't finish
in 60s, which required over 10GiB of RAM). Sounds like another
candidate for removal.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: bgamari

Differential Revision: https://phabricator.haskell.org/D3329

2 years agospectral: fix secretary
Michal Terepeta [Mon, 13 Mar 2017 22:35:46 +0000 (18:35 -0400)] 
spectral: fix secretary

This should fix the benchmark by:
- Not importing `IOExts`.
- Using `randomRs` with a predictable seed instead of `randomRIOs` to
  make the runs reproducible (the latter is using global RNG).
- Bumping one of the parameter to make it run for a bit longer (2s
  instead of 0.4s).

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: bgamari

Differential Revision: https://phabricator.haskell.org/D3328

2 years agospectral: remove salishan
Michal Terepeta [Mon, 13 Mar 2017 22:34:44 +0000 (18:34 -0400)] 
spectral: remove salishan

There's no Haskell code in `spectral/salishan`, so let's just remove it.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: build & run

Reviewers: bgamari

Subscribers: snowleopard

Differential Revision: https://phabricator.haskell.org/D3321

2 years agofibheaps: Ensure we link against array
Ben Gamari [Mon, 13 Mar 2017 22:34:35 +0000 (18:34 -0400)] 
fibheaps: Ensure we link against array

Summary:
I'm not sure how this worked previously, but we clearly need to link
against array here.

Test Plan: Build it

Reviewers: michalt, O26 nofib

Reviewed By: michalt, O26 nofib

Differential Revision: https://phabricator.haskell.org/D3295

2 years agospectral: enable mate
Michal Terepeta [Mon, 13 Mar 2017 22:34:12 +0000 (18:34 -0400)] 
spectral: enable mate

Summary:
This also adds the `mate.stdout` file with the expected result.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: compile & run nofib

Reviewers: bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3161

2 years agoreal: remove `rx`
Michal Terepeta [Mon, 13 Mar 2017 22:33:19 +0000 (18:33 -0400)] 
real: remove `rx`

The benchmark doesn't compile, but even when fixed, it doesn't seem
very useful - it runs in mere ~100ms and there aren't easy knobs to
make it run for longer. Considering that this hasn't been used for
some time, it seems ok to simply remove it.

Also, removing it will make the initial version of Shake-based build
system easier.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: compile & run nofib

Reviewers: goldfire, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3159

2 years agoreal: enable linear
Michal Terepeta [Mon, 13 Mar 2017 22:31:50 +0000 (18:31 -0400)] 
real: enable linear

This also tweaks a parameter in the benchmark so that it takes a
reasonable amount of time to run ( ~1.1s on my machine) and adds
the `.stdout` file. The `Makefile` required some tweaking to make sure
that the modules are compiled in the right order.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: compile & run nofib

Reviewers: bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3157

2 years agoreal/Makefile: remove the mention of ebnf2ps
Michal Terepeta [Mon, 13 Mar 2017 22:31:44 +0000 (18:31 -0400)] 
real/Makefile: remove the mention of ebnf2ps

Summary:
The ebnf2ps benchmark has been removed. It's mentioned in the
`Makefile` due to how git merged multiple commits touching the file.
This commit removes it.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: compile & run nofib

Reviewers: bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3156

2 years agoSimon’s notes: Refer mailing list about binary-tree
Joachim Breitner [Thu, 9 Mar 2017 15:59:38 +0000 (16:59 +0100)] 
Simon’s notes: Refer mailing list about binary-tree

2 years agoreal: remove HMMS
Michal Terepeta [Tue, 14 Feb 2017 22:02:17 +0000 (17:02 -0500)] 
real: remove HMMS

Summary:
It doesn't compile and I didn't see any easy way to fix it (I got
stuck at `import Native`, which, according to a comment, comes from
`hbc`). According to another comment,  there were other problems with
the test even when it did compile:
  "HMMS test only works on SPARC machines"

In any case, this has been broken for a while so I don't think anyone
will miss it.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: run nofib

Reviewers: erikd, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3088

2 years agoreal: remove ebnf2ps
Michal Terepeta [Tue, 14 Feb 2017 22:01:52 +0000 (17:01 -0500)] 
real: remove ebnf2ps

Summary:
The benchmark doesn't compile and even after fixing, it runs in about
0.006s. The compile time is super fast as well (tiny modules).  So it
seems like another candidate for removal.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: run nofib

Reviewers: goldfire, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3087

2 years agospectral: revive lambda
Michal Terepeta [Tue, 14 Feb 2017 22:00:14 +0000 (17:00 -0500)] 
spectral: revive lambda

Summary:
Instead of using the hand rolled monads, this now uses monads from
`transformers` (shouldn't complicate running the benchmark, since it's
a boot library).

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: run nofib

Reviewers: bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3079

2 years agoimaginary: re-enable digits-of-e{1,2}
Michal Terepeta [Tue, 14 Feb 2017 22:00:11 +0000 (17:00 -0500)] 
imaginary: re-enable digits-of-e{1,2}

Summary:
These still compile and are quick to run so we might as well enable them.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: run nofib

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: bgamari

Differential Revision: https://phabricator.haskell.org/D3078

2 years agospectral: revive last-piece
Michal Terepeta [Tue, 14 Feb 2017 22:00:06 +0000 (17:00 -0500)] 
spectral: revive last-piece

Summary:
I'm not entirely sure if the benchmark is worth reviving, but
it was quite easy and we can always remove it later.

This also removed the unused PROG_ARGS from the Makefile.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: compile & run

Reviewers: bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D3042

2 years agonucleic2: removed unused files & simplify Makefile
Michal Terepeta [Tue, 14 Feb 2017 22:00:02 +0000 (17:00 -0500)] 
nucleic2: removed unused files & simplify Makefile

Summary:
This commit does a few small cleanups:
- Remove the unused files (implementations in C, SML, etc.).
- Move the paper to a new `paper` subdirectory.
- Remove unnecessary things from the Makefile.

The last one will make it easier to move to a Shake-based build
system.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: compile & run nofib

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: dfeuer

Differential Revision: https://phabricator.haskell.org/D3041

2 years agoFix nofib benchmarks on Windows.
Tamar Christina [Tue, 14 Feb 2017 21:59:57 +0000 (16:59 -0500)] 
Fix nofib benchmarks on Windows.

Summary:
This allows nofib to run on Windows using `msys`.

Also deprecates the old `cygwin` stuff.

Test Plan: make clean && make

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: RyanGlScott, #ghc_windows_task_force

Differential Revision: https://phabricator.haskell.org/D3030

2 years agoAdd .arcconfig file to allow patches by phabricator
Matthew Pickering [Thu, 26 Jan 2017 16:02:31 +0000 (11:02 -0500)] 
Add .arcconfig file to allow patches by phabricator

Reviewers: RyanGlScott, bgamari

Reviewed By: RyanGlScott, bgamari

Differential Revision: https://phabricator.haskell.org/D2945

3 years agoRemove DEFAULT_TMPDIR
Ben Gamari [Mon, 29 Aug 2016 22:09:10 +0000 (18:09 -0400)] 
Remove DEFAULT_TMPDIR

The logic for this was ripped out of GHC quite some time ago.

3 years agoFix parsing cachegrind output.
Peter Trommler [Sat, 13 Aug 2016 11:17:09 +0000 (13:17 +0200)] 
Fix parsing cachegrind output.

On architectures with more than two levels of cache cachegrind
reports the last level data cache miss rate as `LLd` and not `L2d`.
This changes the regular expression to work in both cases.

3 years agoFix: #12084 deprecate old profiling flags
Seraphime Kirkovski [Sun, 22 May 2016 15:47:26 +0000 (17:47 +0200)] 
Fix: #12084 deprecate old profiling flags

3 years agoDe-tab CmdLine.hs
Joachim Breitner [Thu, 28 Apr 2016 11:01:27 +0000 (13:01 +0200)] 
De-tab CmdLine.hs

3 years agoAllow per module stats to be listed as columns in the summary table.
Joachim Breitner [Fri, 23 Oct 2015 09:49:05 +0000 (11:49 +0200)] 
Allow per module stats to be listed as columns in the summary table.

3 years agoResult class: Provide a way to sum results
Joachim Breitner [Fri, 23 Oct 2015 09:11:08 +0000 (11:11 +0200)] 
Result class: Provide a way to sum results

3 years agoIntroduce a short name for per-module stats as well
Joachim Breitner [Fri, 23 Oct 2015 09:01:24 +0000 (11:01 +0200)] 
Introduce a short name for per-module stats as well

3 years ago--latex: Support per-module tables as well
Joachim Breitner [Fri, 23 Oct 2015 08:40:03 +0000 (10:40 +0200)] 
--latex: Support per-module tables as well

3 years ago--csv: Support per-module tables as well
Joachim Breitner [Fri, 23 Oct 2015 08:13:25 +0000 (10:13 +0200)] 
--csv: Support per-module tables as well

3 years agoAdd a new GHC status line pattern
Joachim Breitner [Mon, 5 Oct 2015 09:13:02 +0000 (11:13 +0200)] 
Add a new GHC status line pattern

for when a recent version of the runtime is used together with
cachegrind.

3 years agoRevert "Expected output of mandel when run under valgrind"
Joachim Breitner [Fri, 2 Oct 2015 11:19:18 +0000 (13:19 +0200)] 
Revert "Expected output of mandel when run under valgrind"

This reverts commit 6480538c4665ad8f3863b1587bf83689dec25422.

The problem was that by setting SRC_RUNTEST_OPTS=-cachegrind, the
setting SRC_RUNTEST_OPTS += -stdout-binary in mandel/Makefile was
overridden, and the binary output was mangled.

The proper thing to do is to enable cachegrind using
EXTRA_RUNTEST_OPTS=-cachegrind. I have updated
https://ghc.haskell.org/trac/ghc/wiki/Building/RunningNoFib
accordingly.

3 years agoExpected output of mandel when run under valgrind
Joachim Breitner [Fri, 2 Oct 2015 08:09:17 +0000 (10:09 +0200)] 
Expected output of mandel when run under valgrind

probably due to rounding/floating point precision numbers. It looks
broken, but so does the existing file spectral/mandel/mandel.stdout-mingw.

4 years agoTypos in comments
Gabor Greif [Thu, 30 Jul 2015 22:43:38 +0000 (00:43 +0200)] 
Typos in comments

4 years agoAdd exact-real-arithmetic benchmark from David Lester
Simon Peyton Jones [Fri, 24 Apr 2015 14:10:02 +0000 (15:10 +0100)] 
Add exact-real-arithmetic benchmark from David Lester

4 years agoUpdate output (random changes?)
Simon Marlow [Wed, 28 Jan 2015 11:30:00 +0000 (11:30 +0000)] 
Update output (random changes?)

4 years agoRemove HTML generation from nofib-analyse, dropping 'html' dependency.
Edward Z. Yang [Fri, 2 Jan 2015 19:27:30 +0000 (14:27 -0500)] 
Remove HTML generation from nofib-analyse, dropping 'html' dependency.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
4 years agoUnbreak cryptarithm2: Pass -package transformers
Joachim Breitner [Tue, 30 Dec 2014 11:48:29 +0000 (12:48 +0100)] 
Unbreak cryptarithm2: Pass -package transformers

4 years agoAdd type-signature in spectral/para to help type-inf
Herbert Valerio Riedel [Mon, 29 Sep 2014 10:37:26 +0000 (12:37 +0200)] 
Add type-signature in spectral/para to help type-inf

This testcase broke due to the generalised `Data.Foldable.length`

4 years agoAdapt `nofib` code to Foldable-generalised Prelude
Herbert Valerio Riedel [Tue, 23 Sep 2014 21:41:37 +0000 (23:41 +0200)] 
Adapt `nofib` code to Foldable-generalised Prelude

5 years agoUpdate gitignore with more generated files.
Edward Z. Yang [Wed, 10 Sep 2014 16:09:54 +0000 (09:09 -0700)] 
Update gitignore with more generated files.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
5 years agoFix bitrotted gc nofib code.
Edward Z. Yang [Wed, 10 Sep 2014 02:37:39 +0000 (19:37 -0700)] 
Fix bitrotted gc nofib code.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
5 years agoHave cryptarithm2 use transformers, fixes AMP errors.
Edward Z. Yang [Tue, 9 Sep 2014 22:27:36 +0000 (15:27 -0700)] 
Have cryptarithm2 use transformers, fixes AMP errors.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
5 years agoFix conflict with newly exported 'empty' from Prelude.
Edward Z. Yang [Tue, 9 Sep 2014 20:43:36 +0000 (13:43 -0700)] 
Fix conflict with newly exported 'empty' from Prelude.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
5 years agoHide Word from Prelude
Joachim Breitner [Tue, 2 Sep 2014 15:53:52 +0000 (17:53 +0200)] 
Hide Word from Prelude

in benchmarks where Word is used. This fixes fall-out from #9531.

5 years agoSupport higher timing precision in output parser
Herbert Valerio Riedel [Mon, 28 Jul 2014 07:54:41 +0000 (09:54 +0200)] 
Support higher timing precision in output parser

...and increase reported precision in nofib-analyse from `%.2f` to `%.3f`
(i.e. from 10ms to 1ms granularity). See also D97.

5 years agoAdd FlexibleContexts to two nofib benchmarks
Simon Peyton Jones [Thu, 24 Apr 2014 07:34:41 +0000 (08:34 +0100)] 
Add FlexibleContexts to two nofib benchmarks

Turns out that these two have a local function with a
(MArray (STUArray s) Double m) context, or something like that.
The real issue here is that we don't yet know what 'm' is.
A better solution would be MonoMonoBinds, but that would threaten
perf comparison with older GHC's

5 years agoRemove nofib/real/HMMS/lib/haskell/Builtin.hi
Simon Peyton Jones [Thu, 6 Mar 2014 13:21:35 +0000 (13:21 +0000)] 
Remove nofib/real/HMMS/lib/haskell/Builtin.hi
which is presumably there by mistake

5 years agonofib-analyize: Include % in LaTeX output
Joachim Breitner [Sat, 15 Mar 2014 15:36:14 +0000 (16:36 +0100)] 
nofib-analyize: Include % in LaTeX output

I see no reason why this should be different from the text output,
especially as it is important to distinguish absolute from relative
values in the runtime column. It is also easier to remove the % (using
search-and-replace) than to add it.

5 years agonofib-analyse: Support comparing multiple runs in the summary table
Joachim Breitner [Fri, 14 Mar 2014 22:09:31 +0000 (23:09 +0100)] 
nofib-analyse: Support comparing multiple runs in the summary table

and adjust the table layout to have at least one space padding, even
with long input file names.

5 years agoPrint no change as 0.0%
Joachim Breitner [Wed, 29 Jan 2014 16:10:28 +0000 (17:10 +0100)] 
Print no change as 0.0%

not as +0.0%. Makes the real increases much easier to spot.

5 years agoTypo in comment ghc-7.8 ghc-7.8.1-release ghc-7.8.2-release
Gabor Greif [Fri, 10 Jan 2014 18:30:27 +0000 (19:30 +0100)] 
Typo in comment

5 years agofix some typos
Gabor Greif [Fri, 10 Jan 2014 11:02:06 +0000 (12:02 +0100)] 
fix some typos

5 years agoAdd Linux/x86 reference output for `kahan` benchmark
Herbert Valerio Riedel [Mon, 6 Jan 2014 14:35:03 +0000 (15:35 +0100)] 
Add Linux/x86 reference output for `kahan` benchmark

This makes the nofib testsuite pass again when run on Linux/x86.
See #7462 for more details

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoteach nofib-analyse: discover compile time heap allocation info.
Muhaimin Ahsan [Sat, 5 Oct 2013 07:11:23 +0000 (02:11 -0500)] 
teach nofib-analyse: discover compile time heap allocation info.

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agoRemove deprecated _scc_ (#8170)
Krzysztof Gogolewski [Tue, 3 Sep 2013 19:23:09 +0000 (21:23 +0200)] 
Remove deprecated _scc_ (#8170)

5 years agoAdd a copy of HashTable to keep hash GC benchmark working.
Edward Z. Yang [Wed, 2 Oct 2013 23:50:34 +0000 (16:50 -0700)] 
Add a copy of HashTable to keep hash GC benchmark working.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoRevert ill-advised change.
Edward Z. Yang [Sat, 31 Aug 2013 03:31:18 +0000 (20:31 -0700)] 
Revert ill-advised change.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoHack to make awards compile in the right order.
Edward Z. Yang [Sat, 31 Aug 2013 03:15:32 +0000 (20:15 -0700)] 
Hack to make awards compile in the right order.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoMake n-queens benchmark compatible with older GHCs
Herbert Valerio Riedel [Thu, 29 Aug 2013 21:03:53 +0000 (23:03 +0200)] 
Make n-queens benchmark compatible with older GHCs

The change in 957b959dbeb14c3b2d10998d67310e880c01a7dd
caused n-queens to break with older versions of `base`
which still have `Foreign.unsafePerformIO` in place.

6 years agoRemove -march=native from several shootout entries
Austin Seipp [Mon, 19 Aug 2013 08:03:24 +0000 (03:03 -0500)] 
Remove -march=native from several shootout entries

John Wiegley tells me this causes a failure for nofib on his machine, so
to be safe we'll back it out for now.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoAlso fix reverse-compliment and k-nucleotide.
Austin Seipp [Tue, 25 Jun 2013 11:55:15 +0000 (06:55 -0500)] 
Also fix reverse-compliment and k-nucleotide.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoBuild fasta.c with optimization enabled.
Austin Seipp [Tue, 25 Jun 2013 11:42:25 +0000 (06:42 -0500)] 
Build fasta.c with optimization enabled.

The flags are from the shootout.

This also avoids a bizarro linking error when CC=clang

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoUse CC for linker when building fasta.c
Austin Seipp [Tue, 25 Jun 2013 11:36:15 +0000 (06:36 -0500)] 
Use CC for linker when building fasta.c

Signed-off-by: Austin Seipp <aseipp@pobox.com>
6 years agoDefault to 'ghc' rather than '$(HC)' for BOOT_HC
Ian Lynagh [Thu, 30 May 2013 12:28:56 +0000 (13:28 +0100)] 
Default to 'ghc' rather than '$(HC)' for BOOT_HC

It's likely that $(HC) won't have all the packages installed that
we need to compile nofib-analyse. Whatever ghc is in the path is a
better bet.

6 years agoDon't use -package array everywhere
Ian Lynagh [Tue, 28 May 2013 20:34:59 +0000 (21:34 +0100)] 
Don't use -package array everywhere

Only use it in benchmarks that use arrays

6 years agoFix booting again
Ian Lynagh [Tue, 28 May 2013 20:12:23 +0000 (21:12 +0100)] 
Fix booting again

6 years agoWe don't have to override WERROR now that we don't use the GHC build system
Ian Lynagh [Tue, 28 May 2013 19:52:30 +0000 (20:52 +0100)] 
We don't have to override WERROR now that we don't use the GHC build system

6 years agoGet the value of SplitObjs from the compiler we're using
Ian Lynagh [Tue, 28 May 2013 19:48:28 +0000 (20:48 +0100)] 
Get the value of SplitObjs from the compiler we're using

6 years agoMake the nofib build system independent of the GHC build system
Ian Lynagh [Tue, 28 May 2013 19:36:03 +0000 (20:36 +0100)] 
Make the nofib build system independent of the GHC build system

6 years agoBuild system: Remove unused DLL_PEN
Ian Lynagh [Tue, 28 May 2013 19:31:11 +0000 (20:31 +0100)] 
Build system: Remove unused DLL_PEN

6 years agoRemove doc-building support from the build system
Ian Lynagh [Tue, 28 May 2013 19:28:06 +0000 (20:28 +0100)] 
Remove doc-building support from the build system

We don't build any docs in nofib

6 years agoRemove build system code for multiple ways support
Ian Lynagh [Tue, 28 May 2013 19:16:23 +0000 (20:16 +0100)] 
Remove build system code for multiple ways support

It looks like it wasn't working anyway.

6 years agoTweak the Makefiles
Ian Lynagh [Tue, 28 May 2013 16:58:27 +0000 (17:58 +0100)] 
Tweak the Makefiles

6 years agoChange how we find a GHC to test
Ian Lynagh [Tue, 28 May 2013 14:46:31 +0000 (15:46 +0100)] 
Change how we find a GHC to test

We now do something similar to what the testsuite does.

6 years agoUpdate a comment
Ian Lynagh [Tue, 28 May 2013 13:36:30 +0000 (14:36 +0100)] 
Update a comment

6 years agoRemove some unused variables
Ian Lynagh [Tue, 28 May 2013 13:34:39 +0000 (14:34 +0100)] 
Remove some unused variables

6 years agoRemove USE_NEW_MKDEPEND_FLAGS
Ian Lynagh [Tue, 28 May 2013 13:08:17 +0000 (14:08 +0100)] 
Remove USE_NEW_MKDEPEND_FLAGS

It was always YES anyway

6 years agoRemove references to MKDEPENDC
Ian Lynagh [Tue, 28 May 2013 12:57:23 +0000 (13:57 +0100)] 
Remove references to MKDEPENDC

It no longer exists

6 years agoFollow removal of block in base.
Edward Z. Yang [Sun, 24 Feb 2013 02:43:29 +0000 (18:43 -0800)] 
Follow removal of block in base.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
6 years agoFollow changes in base
Ian Lynagh [Sun, 17 Feb 2013 00:07:53 +0000 (00:07 +0000)] 
Follow changes in base

6 years agoMake shootout/README use markdown
Johan Tibell [Fri, 8 Feb 2013 21:19:48 +0000 (13:19 -0800)] 
Make shootout/README use markdown

6 years agoMore markdown markup in README.md
Johan Tibell [Fri, 8 Feb 2013 21:17:25 +0000 (13:17 -0800)] 
More markdown markup in README.md

6 years agoImprove README and convert to markdown.
David Terei [Fri, 8 Feb 2013 19:54:22 +0000 (11:54 -0800)] 
Improve README and convert to markdown.

6 years agoPass -pthread when compiling revcomp-c.c
Johan Tibell [Fri, 8 Feb 2013 17:01:11 +0000 (09:01 -0800)] 
Pass -pthread when compiling revcomp-c.c

6 years agoCompile all nofib programs with -O2 by default
Johan Tibell [Fri, 8 Feb 2013 16:55:49 +0000 (08:55 -0800)] 
Compile all nofib programs with -O2 by default

This is what we recommend people to use for best performance, so we
should use it in our benchmarks.

6 years agoRun k-nucleotide and reverse-complement by default
Johan Tibell [Thu, 7 Feb 2013 22:05:37 +0000 (14:05 -0800)] 
Run k-nucleotide and reverse-complement by default

6 years agoRun the shootout benchmarks by default
Johan Tibell [Thu, 7 Feb 2013 22:02:08 +0000 (14:02 -0800)] 
Run the shootout benchmarks by default

6 years agoAdd the k-nucleotide shootout benchmark
Johan Tibell [Thu, 7 Feb 2013 00:54:22 +0000 (16:54 -0800)] 
Add the k-nucleotide shootout benchmark

6 years agofasta is now in so remove comment from README
Johan Tibell [Wed, 6 Feb 2013 19:04:19 +0000 (11:04 -0800)] 
fasta is now in so remove comment from README

6 years agoAdd the reverse-complement shootout benchmark
Johan Tibell [Wed, 6 Feb 2013 19:02:32 +0000 (11:02 -0800)] 
Add the reverse-complement shootout benchmark

6 years agoRefactor fasta Makefile
Johan Tibell [Wed, 6 Feb 2013 18:46:40 +0000 (10:46 -0800)] 
Refactor fasta Makefile

6 years agoEnable fasta by default
Johan Tibell [Wed, 6 Feb 2013 18:12:03 +0000 (10:12 -0800)] 
Enable fasta by default

6 years agoMake runstdtest find generated fasta stdout files
Johan Tibell [Wed, 6 Feb 2013 18:10:51 +0000 (10:10 -0800)] 
Make runstdtest find generated fasta stdout files

6 years agoAdd the fasta shootout benchmark
Johan Tibell [Wed, 6 Feb 2013 17:46:52 +0000 (09:46 -0800)] 
Add the fasta shootout benchmark

The benchmark is not enabled by default as the runstdtest.prl script
doesn't find the automated stdout files on the first run, thus requiring
make to be run twice.

6 years agoRemoved some shootout benchmarks from under fibon
Johan Tibell [Tue, 5 Feb 2013 23:50:23 +0000 (15:50 -0800)] 
Removed some shootout benchmarks from under fibon

Newer versions (corresponding to what's currently on the shootout page)
have been added under nofib/shootout in an attempt to make these easier
to run.