POV-Ray : Newsgroups : povray.off-topic : Numeric performance : Re: Numeric performance Server Time
6 Sep 2024 11:15:32 EDT (-0400)
  Re: Numeric performance  
From: Mike Raiford
Date: 16 Feb 2009 09:53:51
Message: <49997dff$1@news.povray.org>
Warp wrote:

>> Uhuh. And are you by any chance running this on an AMD Mobile AlthonXP 
>> 1400+?
> 
>   I have hard time believing my computer is 30 times faster than that.
> Twice or three times as fast I could still maybe swallow, but not 30 times.
> (Athlons are rather notorious for being much faster than the Pentium4 line
> with the same clockrates.)
> 

P4 Core2 Duo here,

1 billion iterations, C#

1000000000 Int Sum Time: 00:00:02.2499280
1000000000 Double Sum Time: 00:00:03.3905165
1000000000,1000000000 Double Convert Time: 00:00:03.7655045

^^ Interestingly the float to int conversion uses an MMX instruction. 
Apparently it is very costly to do it without MMX, the CLR JIT uses the 
MMX instruction regardless, so I have no comparison for the non-MMX 
instruction. But, the difference is negligible between floating point 
operations and integer.

-- 
~Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.