Performance

Thomas via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 2 03:57:24 PDT 2014


On Sunday, 1 June 2014 at 03:33:36 UTC, Marco Leise wrote:
> Am Sat, 31 May 2014 17:44:23 +0000
> schrieb "Thomas" <t.leichner at arcor.de>:
>
>> Thank you for the help. Which OS is running on your notebook ? 
>> For I compiled your source code with your settings with the 
>> GCC compiler. The run took 3.1xxxx nanoseconds per step. For 
>> the DMD compiler the run took 5.xxxx nanoseconds. So I think 
>> the problem could be specific to the linux versions of the GCC 
>> and the DMD compilers.
>> 
>> 
>> Thomas
>
> Gentoo Linux 64-bit. Aside from the 64-bit maybe, I can't make
> out a good reason why the runtime should depend on the OS so
> much.
> Are you sure you don't run on a PC from 2000 and did you use
> the compiler flags I gave on top of my post? Did you disable
> CPU power saving and was no other process running at the same
> time?
> By the way I get very similar results when using the LDC
> compiler.

My PC is 5 years old. Of course I used your flags. Besides I am 
not an idiot, I am programming since 20 years and used 6 
different programming languages. I did't post that just for fun, 
for I am evaluating D as language for numerical programming.

Thomas



More information about the Digitalmars-d mailing list