|
From: 齐玉华 <qi...@12...> - 2012-06-01 02:10:42
|
Hi, everyone.
I try to use Valgrind to wrap some functions in target sotfwares such as php, libtiff. But i found that valgrind will slow down them significantly(up to 25 times slowwer), even if run valgrind with '--tool=none'. And as described in valgrind mannual, there should be 5 times slowwer than native running. I am confused, so anyone can help me to reduce the instrumentation-cost with some suggestions? I am waiting in hope for your advices. Thanks.
Yuhua Qi
|
|
From: John R. <jr...@bi...> - 2012-06-01 02:40:08
|
On 05/31/2012 07:10 PM, ÆëÓñ»ª wrote: > I try to use Valgrind to wrap some functions in target sotfwares such as php, libtiff. But i found that valgrind will slow down them significantly(up to 25 times slowwer), even if run valgrind with '--tool=none'. And as described in valgrind mannual, there should be 5 times slowwer than native > running. I am confused, so anyone can help me to reduce the instrumentation-cost with some suggestions? I am waiting in hope for your advices. Thanks. Please tell us the version of valgrind (the output of "valgrind --version" when fed to a shell), which hardware (x86_64, i686, PowerPC 64-bit, ARMv7, etc.), and which operating system and release (Ubuntu Linux 12.04, Android 4.1, MacOS 10.8 Darwin, etc.) How much slow-down do you observe for simple programs, such as "valgrind --tool=none date", or 'ls', 'who', etc? -- |