Author: Dann Corbit
Date: 18:12:44 04/17/03
Go up one level in this thread
On April 17, 2003 at 20:35:35, James Robertson wrote: >Out of curiosity I tested just the move generation and basic board functions of >my bitboard chess program on several different computers. My home computer is a >Pentium 933mhz, and the other computers I used were Athlons in the 1.6ghz range. > >My program's move generator runs at roughly the same speed on both systems. I >was surprised and tested using several different compilers (VC5, VC6, .NET, >gcc), under Windows and under Linux. To compare more easily, I wrote a simple >non-bitboard move generator and tested this on all of the machines. The speed >differences scaled with the speed of the processors, which seemed logical. >However, I still cannot explain why the bitboard functions are so much slower on >the faster computers. The only difference I can see is that my home computer is >a pentium and the others are athlons. > >It seems strange that this would make such a large difference. Can anyone give >any reasons why? I used no assembly, just C/C++ code, with all the default >compiler options on all tests. A profiler will tell you where your time is going. As a wild guess, I would guess you have a bunch of memory accesses. That would make all the systems run about the same speed.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.