chiark / gitweb /
Introduce some extra testing and benchmarking command-line options to
authorSimon Tatham <anakin@pobox.com>
Thu, 11 Apr 2013 12:51:06 +0000 (12:51 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 11 Apr 2013 12:51:06 +0000 (12:51 +0000)
commit120f6de605b9a431e3b084bfc34d7cf33b6c9905
tree7d120a9131cdf4977699ac63abcc145582fc992d
parented82ef5c0e74de5ef743e61aebad59b2acea7a49
Introduce some extra testing and benchmarking command-line options to
the GTK front end, plus a 'make test' target in the GTK makefile which
uses them to automatically generate 100 puzzles for each game at each
preset configuration, test-run them back through the solver without
their aux_info to ensure that can cope, and produce an HTML box plot
of game generation times for each preset.

As part of this work I've removed the TESTSOLVE mechanism from r9549,
since the new --test-solve option does the same thing better (in that
when something goes wrong it prints the random seed that caused the
problem).

[originally from svn r9825]
[r9549 == 5a095b8a08fa9f087b93c86aea0fa027138b028d]
Recipe
benchmark.pl [new file with mode: 0755]
gtk.c
midend.c