View mode: basic / threaded / horizontal-split · Log in · Help
June 10, 2005
Re: D Wins the Shootout
In article <pan.2005.06.08.10.10.30.70738@sneakemail.com>,
=?iso-8859-1?q?Knud_S=F8rensen?= says...
>
>On Tue, 07 Jun 2005 10:36:49 -0700, Kyle Furlong wrote:
>
>> Yes, but it is the only language with all the benchmarks coded.
>> 
>> Ant wrote:
>>> http://shootout.alioth.debian.org/great/benchmark.php?test=all&lang=all&sort=fullcpu 
>>>
>
>Hi 
>I have made at a program to find the test where D is performing pure.
>
>For cpu time the 10 worst different test is 
>0.02941 objinst(1500000) 
>0.03846 message(150) 
>0.06452 echo(40000) 
>0.08333 except(100000) 
>0.12360 regexmatch(12000) 
>0.23529 prodcons(100000) 
>0.25000 ary(5000) 
>0.32143 hello(150) 
>0.40000 random(600000) 
>0.41176 matrix(600) 
>
>for memory it is 
>0.00338 fibo(12) 
>0.00529 except(100000) 
>0.01717 ackermann(7) 
>0.03078 hash2(150) 
>0.03909 sieve(1200) 
>0.06250 fasta(2500000) 
>0.06566 ary(5000) 
>0.07426 nestedloop(12) 
>0.07937 except(200000) 
>0.08371 strcat(40000) 
>
>for code lines it is 
>0.04000 wordfreq(10) 
>0.05263 wc(1500) 
>0.07143 reversefile(10) 
>0.10345 lists(12) 
>0.16327 process(1000) 
>0.16667 nestedloop(12) 
>0.16667 sumcol(1000) 
>0.22472 pidigits(200) 
>0.28302 message(100) 
>0.29412 objinst(1000000) 
>
>The number in front is (best non d benchmark)/(d benchmark)

Are the values to the left C/C++? ..and no period is missing to the right??
June 12, 2005
Re: D Wins the Shootout
On Fri, 10 Jun 2005 16:23:22 +0000, Will wrote:

> In article <pan.2005.06.08.10.10.30.70738@sneakemail.com>,
> =?iso-8859-1?q?Knud_S=F8rensen?= says...
>>
>>On Tue, 07 Jun 2005 10:36:49 -0700, Kyle Furlong wrote:
>>
>>> Yes, but it is the only language with all the benchmarks coded.
>>> 
>>> Ant wrote:
>>>> http://shootout.alioth.debian.org/great/benchmark.php?test=all&lang=all&sort=fullcpu 
>>>>
>>
>>Hi 
>>I have made at a program to find the test where D is performing pure.
>>
>>For cpu time the 10 worst different test is 
>>0.02941 objinst(1500000) 
>>0.03846 message(150) 
>>0.06452 echo(40000) 
>>0.08333 except(100000) 
>>0.12360 regexmatch(12000) 
>>0.23529 prodcons(100000) 
>>0.25000 ary(5000) 
>>0.32143 hello(150) 
>>0.40000 random(600000) 
>>0.41176 matrix(600) 
>>
>>for memory it is 
>>0.00338 fibo(12) 
>>0.00529 except(100000) 
>>0.01717 ackermann(7) 
>>0.03078 hash2(150) 
>>0.03909 sieve(1200) 
>>0.06250 fasta(2500000) 
>>0.06566 ary(5000) 
>>0.07426 nestedloop(12) 
>>0.07937 except(200000) 
>>0.08371 strcat(40000) 
>>
>>for code lines it is 
>>0.04000 wordfreq(10) 
>>0.05263 wc(1500) 
>>0.07143 reversefile(10) 
>>0.10345 lists(12) 
>>0.16327 process(1000) 
>>0.16667 nestedloop(12) 
>>0.16667 sumcol(1000) 
>>0.22472 pidigits(200) 
>>0.28302 message(100) 
>>0.29412 objinst(1000000) 
>>
>>The number in front is (best non d benchmark)/(d benchmark)
> 
> Are the values to the left C/C++? ..and no period is missing to the right??

Lets take cpu time for objinst(1500000) 

The best test is clean with 0.05 secs.
D completes the same test in 1.7 secs.
Which gives 0.05/1.7 = 0.02941
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home