HuckinFappy has asked for the wisdom of the Perl Monks concerning the following question:
I have had a lot of success using Devel::DProf to help me identify the slower parts of my programs, and speed them up.
However, I have several programs that does not work for. These are larger, longer running programs. For example, the one I'm focusing on now generates a 242 MB tmon.out file when run through Devel::DProf
What happens is when I run dprofpp I'll get a message similar to:
When I look, line 20464 contains 26941 ^@ charactersBad profile: - 26f at /tools/xgs/perl/5.8.5/bin/dprofpp line 743, <fh> + line 20464.
I anticipate a variety of responses telling me to break it down to a smaller problem, profile pieces of it, etc. I've considered that and have made some attempts. And perhaps I'll get the profiling information I need via some other route. But I'd like to understand what is happening here, and if there's anything I can do to get Devel::DProf to work when I do experience this.
Thanks,
~Jeff