Hello

First off, NYTProf rocks :-)

I have two suggestions, though. I hope I'm at the right place here,
did not find any information where else to submit feature requests:

1) Just a minor annoyance: "is_pmc"

I mainly run NYTProf in a setup, where Perl's .pmc files are used to
store cached copies of source-filtered perl files. Unfortunately,
using pmc files that way leads to most links between subroutines in
the report being wrong (linking to unknown.html because there's no
html_safe value).

The problem is caused by the line $filename .= "c" if $fid_fileinfo->
[$fid]->is_pmc; in _map_new_to_old in Reader.pm. I don't know, whether
this is a bug, or actually the desired behaviour for other possible
uses of pmc files. I currently patch this myself (commenting it out)
before I install NYTProf on my machine, but maybe an option could be
added, so the line could simply be skipped depending on the startup
options of nytprofhtml.

2) Hi-Resolution Clocks on Mac OS X

It's possible to at least simulate clock_gettime on Mac OS X by using
the Mach time functions. A code example for that is e.g. here:
http://le-depotoir.googlecode.com/svn/trunk/misc/clock_gettime_stub.c

Maybe something similar could be integrated into NYTProf to increase
the accuracy of its reports on Mac OS X.

Greets and keep up your great work!
Happy new year!
-- 
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to