spectral: fix secretary
authorMichal Terepeta <michal.terepeta@gmail.com>
Mon, 13 Mar 2017 22:35:46 +0000 (18:35 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 13 Mar 2017 23:44:06 +0000 (19:44 -0400)
commit313812d319e009d698bc1a4d2e8ac26d4dfe3c0a
treeb785d38694767108333128a561a4f3c5f78cfd40
parentad17f7344aaf4f1ff96d31851dcf595cdb47689b
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
spectral/Makefile
spectral/secretary/Main.lhs
spectral/secretary/Makefile
spectral/secretary/secretary.stdout