Clock / Input overhead during search

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

JohnWoe
Posts: 491
Joined: Sat Mar 02, 2013 11:31 pm

Clock / Input overhead during search

Post by JohnWoe »

Added stop / quit / isready to Mayhem. Decided to measure the overhead reading clock/input.
Notice: I use a bitmap for frequency. After 0x1F The penalty goes down.

Code: Select all

# Clock / Input overhead
# 0x1FF: NPS: 1552950
# 0x7F:  NPS: 1544159
# 0x3F:  NPS: 1544324
# 0x1F:  NPS: 1528392
# 0xF:   NPS: 1505394
# 0x7:   NPS: 1482583
# 0x3:   NPS: 1405576
# 0x1:   NPS: 1319080
# 0x0:   NPS: 1146378
pyplot.
Image