[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: dynamic_cast performance overhead
From: Michael Buesch <mbuesch () freenet ! de>
Date: 2005-06-03 14:54:37
Message-ID: 200506031654.37449.mbuesch () freenet ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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
[Attachment #5 (application/pgp-signature)]
>> 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