cameron-martin / tsumego-solver

A program for solving and generating tsumego puzzles.
33 stars 5 forks source link

Emit statistics from puzzle solver. #17

Closed cameron-martin closed 4 years ago

cameron-martin commented 4 years ago

The Puzzle type can optionally be configured to use a profiler by passing the Profile or NoProfile type parameter. If NoProfile is chosen, no runtime cost is incurred.

Currently, the following statistics are tracked:

The unit tests for the puzzles also assert on these statistics to give an additional way of tracking changes in performance.

Closes #14.