mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
Estimated hours taken: 1 Add some code for running timing tests on the programs in the tests/benchmarks directory. tests/benchmarks/Mmakefile: Add new target `times'. tests/benchmarks/BenchEntry: tests/benchmarks/BenchEntry.hlc: New files, for use by the `times' target in the Mmakefile. These two files contain the names of the non-I/O entry points for the various benchmarks, for LLDS and MLDS grades respectively. tests/benchmarks/BenchRepeatCounts: New file. The contents of this file specify how many times to repeat each benchmark. tests/benchmarks/repeat_time: New file, for use by the `times' target in the Mmakefile. This is a tiny (t)csh script for running a command repeatedly and timing how long it takes.
12 lines
130 B
Plaintext
12 lines
130 B
Plaintext
queens 500
|
|
cqueens 35000
|
|
crypt 20000
|
|
deriv 70000
|
|
deriv2 70000
|
|
nrev 20000
|
|
poly 1200
|
|
primes 30000
|
|
qsort 100000
|
|
query 600000
|
|
tak 900
|