[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: dynamic_cast performance overhead
From:       Sunil <funtoos () yahoo ! com>
Date:       2005-06-03 19:38:29
Message-ID: 20050603193829.26814.qmail () web31709 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

can you please attach the benchmark? I would compare
g++ on linux vs. cygwin. It may very well be just a
cygwin phenonmenon.

--- Michael Buesch <mbuesch@freenet.de> wrote:

> I just did a small test with 10000
> dynamic_cast in a loop. I captured the time with
> gettimeofday(). The loop always completed in
> 4000-5000 microseconds.
> (depending on the other system load. I did not close
> every app to
> get a clean benchmark system).
> So I don't really see a problem with dynamic_cast on
> Linux/gcc4
> taking half a microsecond.
> 
> This is a 2.8Ghz P4 HT
> 
> Maybe you could do such a test on windows?
> 
> -- 
> Greetings, Michael
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic