in reply to NYTprof Error

I am facing an issue while converting the nytprof.out file. The file has got generated. After typing the command
nytprofhtml --open
I get,
Generating report...
Reading nytprof.out
File format error: token 0 (' '), chunk 735717, pos 5750535 at Devel/NYTProf/Data.pm line 78.
Line 78 of Data.pm :my $profile = load_profile_data_from_file($file);
Now my perl version is: 5.8.8 and nytprof is:2.09.
Any help is appreciated.

Replies are listed 'Best First'.
Re^2: NYTprof Error
by Corion (Patriarch) on Feb 07, 2019 at 13:03 UTC

    The current version of Perl is 5.28 and the current version of Devel::NYTProf is 6.06. Perl 5.8.8 is over 10 years old and Devel::NYTProf 2.02 is almost 10 years old.

    My recommendation is that you try first upgrading both, Perl and Devel::NYTProf to a more recent version to see whether the problem you encounter was addressed.