Author: Bo Persson
Date: 10:40:21 04/27/00
Go up one level in this thread
On April 26, 2000 at 15:42:44, Tom Kerrigan wrote: >On April 26, 2000 at 15:33:57, Jeremiah Penery wrote: > >>On April 26, 2000 at 15:07:23, Tom Kerrigan wrote: >> >>>On April 26, 2000 at 14:02:15, Bo Persson wrote: >>> >>>>On April 26, 2000 at 02:53:28, Landon Rabern wrote: >>>> >>>>>Does the standard version of Microsoft Visual C++ have a different compiler than >>>>>the professional version? If so is it slower is the standard version? >>>>> >>>>>Thanks, >>>>> >>>>>Landon W. Rabern >>>> >>>>Yes, the Standard (or Student) version is for debug mode only. It does not >>>>contain the code optimizer. The debug code runs maybe 5-10 times slower... >> ^^^^^ ^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^^^ >> >>>I have found that turning on optimizations in my program "only" increases the >>>speed by a factor of 2, not 5-10. >> >>Debug code, not non-optimized code. :) > >Yeah, I read that part. > >For my program at least, "debug" code runs exactly as fast as "default >optimization" code. > >-Tom Ok, so I checked my program again. It was even worse than last time :-) GenerateMoves() now runs at 5.5M moves/s in Release mode and only 130k moves/s in Debug mode. That's a 40 times difference! I guess the main thing for me is that I really use C++ and the debug mode disables inlining. This effectively kills the performance of the Bitboard class! Obviously, YMMV. Big time! Bo Persson bop@malmo.mail.telia.com
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.