[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Building gnubg on windows - A newbies voyage
From: |
Jon Kinsey |
Subject: |
Re: [Bug-gnubg] Building gnubg on windows - A newbies voyage |
Date: |
Thu, 03 Feb 2005 12:27:47 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.7 |
Ian Shaw wrote:
I ran a benchmark and got 16500 evaluations per second with standard
gnubg, but only 10500 with the 2.6 build.
I got similar numbers:
msdev gtk 1.3 command line or gui 20,000
2.6 gui 15,500 and (2.6) command line 20,000
macherius wrote:
> I still wonder about the huge difference between command line and gui
> display of eval/s.
Looking at the calibrate function I see that it calls a callback every
couple of hundred evals. If you add the following 2 test lines (marked
with a +) to speed.c you can check if it's your build options or gtk 2.6
causing the problem (as the figures should then be identical to the
command line version).
+ fX = 0
if( ( c0 = clock() ) < 0 ) {
..
+ fX = 1
c += c1 - c0;
Jon
signature.asc
Description: OpenPGP digital signature