Why is valgrind so slow?

Why is valgrind so slow?
Answer
2 Answers. According to Valgrind Manual, Valgrind will very noticeably slow down your application: The amount of instrumentation code added varies widely between tools. At one end of the scale, Memcheck adds code to check every memory access and every value computed, making it run 10-50 times slower than natively.
 

Tìm kiếm

Back
Top