Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question about check evasion generation

Author: Steven Edwards

Date: 10:21:31 08/21/03

Go up one level in this thread


On August 21, 2003 at 12:49:30, Jaime Benito de Valle Ruiz wrote:

>On August 21, 2003 at 12:45:37, Steven Edwards wrote:
>
>>You need to use some good profiling tools before spending much effort on speed
>>optimizations.  Simple guessing is rarely an effective software engineering
>>method.
>
>That's why I'm asking for advice: Because I don't just want to guess

Asking for advice is a good thing.  Have you tried whatever decent run time
profiling tools that are available for your platform?  A good profiler will
give, for each routine:

1. Total tme spent in that routine
2. Total call count
3. Average time (from 1 and 2, obviously)

A better profiler will also indicate which routines are calling a routine along
with the proportions of calls by each caller.  A profiler can also support code
coverage determination and indicate code regions that are rarely or never
executed.

Profile first before writing any more code.



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.