Hello list, I have recently used valgrind macros for tracking mempools (the following blog post tells a little about it http://15experience.wordpress.com/2010/10/22/make-valgrind-track-your-mempool/). The library on which I am using valgrind provides basic data structures used by other libraries on top of it including some graphical ones.
Well it is known that when running under valgrind our programs run slower than normal. But I am having an strange issue when I compile that library with valgrind macros enabled (i.e NVALGRIND undefined): a graphical program runs even slower than just running it without the macros in a way it becomes unusable. For example, running a graphical test without the macros: real 0m10.537s user 0m10.036s sys 0m0.117s and with the macros: real 0m15.226s user 0m14.462s sys 0m0.097s So I would like to know whether that kind of behavior is expected. Maybe am I doing something wrong? Thank you for the help. B.R. -- Rafael Fonseca ProFUSION embedded systems http://www.profusion.mobi ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
