KDev-PG-Qt performance
Andreas Pakulat
apaku at gmx.de
Sat May 22 15:53:51 UTC 2010
On 22.05.10 01:54:01, Jonathan Schmidt-Dominé - Developer wrote:
> Hi!
>
> I am somehow shocked, I tried callgrind just for fun with KDev-PG-Qt, and then
> I got the results:
> 90% of the time is spent with formatting!
> 55% with std::string::compare!
>
> Just wanted to tell that before anybody thinks about the efficience of any
> parser-related algorithms. :D
>
> I used the command valgrind --tool=callgrind kdev-pg-qt --output=php php.g
>
> Should I add such a note at Techbase?
Well, maybe add an option to disable the astyle-run? The
std::string-stuff is definetly part of the astyle-run as the
parser-generator itself uses QString. And yes this is just another
indication of how bad astyle is :)
Andreas
--
Be security conscious -- National defense is at stake.
More information about the KDevelop-devel
mailing list