jordanbray / chess

A rust library to manage chess move generation
https://jordanbray.github.io/chess/
MIT License
234 stars 54 forks source link

Add micro benchmarks for move gen and making #9

Closed niklasf closed 7 years ago

niklasf commented 7 years ago

Some more lower level benchmarks.

Baseline performance:

test enumerate_moves ... bench:         139 ns/iter (+/- 13)
test make_move       ... bench:          19 ns/iter (+/- 2)
test perft_4         ... bench:   1,133,459 ns/iter (+/- 71,360)
test perft_5         ... bench:  27,364,161 ns/iter (+/- 1,461,357)