Idris-dev/benchmarks
2019-12-19 14:26:41 +01:00
..
fasta Patched fasta benchmark so it compiles. 2018-03-09 11:02:16 +00:00
pidigits use HTTPS URL instead of HTTP URL when possible 2019-12-19 14:26:41 +01:00
quasigroups Fix deprecation warnings in benchmarks 2016-08-31 21:41:11 -07:00
trivial Fix deprecation warnings in benchmarks 2016-08-31 21:41:11 -07:00
ALL Add benchmark pidigits 2014-09-25 16:32:44 +02:00
build.pl Read idris executable from environment variable 2018-03-23 13:32:12 +01: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.