Devel-NYTProf
view release on metacpan or search on metacpan
lib/Devel/NYTProf/Data.pm view on Meta::CPAN
my $profile = load_profile_data_from_file(
$file,
$args->{callback},
);
return undef if $args->{callback};
print "Processing $file data\n" unless $args->{quiet};
bless $profile => $class;
my $fid_fileinfo = $profile->{fid_fileinfo};
my $sub_subinfo = $profile->{sub_subinfo};
# add profile ref so fidinfo & subinfo objects
# XXX circular ref, add weaken
for (@$fid_fileinfo) { $_ and $_->[7] = $profile; }
$_->[7] = $profile for values %$sub_subinfo;
# bless sub_subinfo data
( run in 0.260 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )