comp.lang.ada
 help / color / mirror / Atom feed
From: Frederik Sausmikat <frederik.sausmikat@gmx.de>
Subject: Re: C++ threads vs. Ada tasks - surprised
Date: Mon, 17 Aug 2009 11:39:42 +0200
Date: 2009-08-17T11:39:42+02:00	[thread overview]
Message-ID: <h6b8gt$il7$1@newsreader2.netcologne.de> (raw)
In-Reply-To: <cd078a90-d661-472f-bcfe-ed480ec186fc@26g2000yqk.googlegroups.com>

Tomek Wałkuski wrote:
> On 17 Sie, 10:04, Frederik Sausmikat <frederik.sausmi...@gmx.de>
> wrote:
>> Just FYI, on my machine the C++ version is the one being ~2x faster
>> (both gnat and g++ are version 4.3.3 here).
>>
> How many tests have you performed?
> 
> I have done ~20 tests for both versions and Ada version is average
> ~1,5x faster.

I just did 100 runs of each version with a constant number of iterations 
and averaged the execution times. The result is the same as before with 
the C++ version being about 2 times faster than the Ada version.



  reply	other threads:[~2009-08-17  9:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-16 21:34 C++ threads vs. Ada tasks - surprised Maciej Sobczak
2009-08-17  7:12 ` Stephen Leake
2009-08-17  8:14   ` Maciej Sobczak
2009-08-17 19:44   ` vlc
2009-08-17  8:04 ` Frederik Sausmikat
2009-08-17  8:17   ` Maciej Sobczak
2009-08-17  8:28   ` Tomek Wałkuski
2009-08-17  9:39     ` Frederik Sausmikat [this message]
2009-08-17  9:44       ` Ludovic Brenta
2009-08-17 11:12 ` John McCabe
2009-08-17 15:20 ` John B. Matthews
2009-08-18 20:36 ` Ira Baxter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox