ujh / iomrascalai

Iomrascálaí is an AI for the game of Go/Weiqi/Baduk written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance degradation in the current master

ujh opened this issue · comments

While working on #177 I wanted to have a performance baseline of the current master to see how it would compare to the engine with my code added. To do that I started running bin/benchmark on 6d2caa7 and discovered that the percentag of wins on 9x9 dropped to 65.5% ± 3.4. That's 10% less than 0.2.3! This is of course unacceptable and I also have the feeling that this can't just be due to changes in the Rust compiler. To verify this I'll run the following benchmarks:

  1. 6d2caa7 on 13x13
  2. The compiled binary for 0.2.3 on 9x9 & 13x13 (I might just have made an error when writing down the numbers in the CHANGELOG)

If these results stay the same I'll investigate the differences between 0.2.3 and the current master.

The 13x13 tests however are looking good: 10% ± 2.1. That's significantly better than 0.2.3 with 6% ± 1.7.

Maybe it's good enough to just release 0.2.4 so that I have a proper baseline for #177? What do you think @iopq?

I went ahead a create 0.2.4.