Idris-dev/benchmarks
Jan de Muijnck-Hughes 5ea6aa0520 Address semantic differences in putting things to STDOUT.
The changes are as follows:

+ `print` is for putting showable things to STDOUT.
+ `printLn` is for putting showable things to STDOUT with a new line
+ `putCharLn` for putting a single character to STDOUT, with a new line.

Effects has been updated accordingly.
2015-03-06 17:26:33 +00:00
..
fasta Fix bugs in fasta implementation 2014-04-19 20:38:33 +02:00
pidigits Some comments for pidigits 2014-09-25 18:58:30 +02:00
quasigroups Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
trivial Address semantic differences in putting things to STDOUT. 2015-03-06 17:26:33 +00:00
ALL Add benchmark pidigits 2014-09-25 16:32:44 +02:00
build.pl Change from shebangs with absolute references to using /usr/bin/env 2013-11-18 17:10:00 +00:00
README Added simple benchmark system 2013-11-05 22:45:16 +00:00
run.pl Change from shebangs with absolute references to using /usr/bin/env 2013-11-18 17:10:00 +00:00

Benchmarks
----------

To run:

$ ./build.pl   -- builds all benchmark binaries
$ ./run.pl     -- runs all benchmarks

Adding a test 
-------------

Add a line to the 'ALL' file of the following form:

dir/main   arg

where 'dir' is the directory the benchmark lives in, 'main' is the name of the
ipkg file and executable (these must be the same), 'arg' is the input to give
to the binary. 

It is assumed that all benchmarks take exactly one argument, which helps to
ensure that they are not simply doing all the work at compile time.