Re: DHAT speed
John Reiser <[email protected]>
| Newsgroups | gmane.comp.debugging.valgrind |
|---|---|
| Message-ID | <[email protected]> |
> > So (4 * 5 * 10 * 3) is a slowdown of 600X, which turns 10 minutes into 100 hours.
>
> What I'm seeing is a DHAT-only slowdown that is much more than that.
Running 'perf' is likely to give data and strong hints about what is going on.
The overhead of 'perf' is only a few percent.
perf record valgrind --tool=DHAT <<valgrind_args>> ./my_app <<my_app_args>>
perf report > perf_output.txt
The "perf record ..." will stop shortly after the valgrind sub-process terminates.
You don't have to wait for DHAT to finish; just 'kill' it after a while.