It's caused by AutoSplit being run on Storable.pm before it's installed by perl. AutoSplit adds #line directives to the auto-split files but those #line directives have relative paths that bear little relation to where the files end up.
It's probably possible to work-around it. If someone wants to volunteer I'd be happy to guide them. Tim. On Wed, Feb 04, 2009 at 09:08:56AM -0500, Adam Kaplan wrote: > > Off the top if my head, and without access to the code, I'd guess the > path to Storable.pm is the problem. The prefix "../../lib" added to > the library include path you provided would result in something like > "perl/lib/lib/" > > It's been a while since I looked at this stuff and I am on a train. > Maybe that will help you debug. > > > On 02/04/2009, tcbarrett <[email protected]> wrote: > > > > NYTProf version: > > ## $Id: NYTProf.pm 665 2009-01-05 23:05:37Z tim.bunce $ > > our $VERSION = '2.07'; > > > > Running on MacOSX, Perl 5.8.9 > > > > Most of my time is spent in Storable > > (238 1 2 53.2s 53.2s > > Storable::::mretrieveStorable::mretrieve(xsub)) > > > > Detail > > # spent 107ms within Storable::dclone which was called 125 times, avg > > 857µs/call: > > # 125 times (107ms+0s) by Class::DBI::ColumnGrouper::clone at line 68 > > of /opt/local/lib/perl5/site_perl/5.8.9/Class/DBI/ColumnGrouper.pm, > > avg 857µs/call > > # spent 39.9ms within Storable::net_mstore which was called 42 times, > > avg 951µs/call: > > # 42 times (39.9ms+0s) by Storable::_freeze at line 339, avg 951µs/ > > call > > # spent 53.2s within Storable::mretrieve which was called 237 times, > > avg 224ms/call: > > # 237 times (53.2s+0s) by Storable::thaw at line 415, avg 224ms/call > > Unable to open '/../../lib/Storable.pm' for reading: No such file or > > directory. > > > > I've tried adding nytprofhtml --lib /opt/local/lib/perl5/5.8.9/ > > darwin-2level (where Storable lives), but this makes no difference? > > > > Any suggestions on where to go from there? > > > > > > > > -- > Adam J. Kaplan > Duct Tape Specialist & Software Engineer > The New York Times Company > > > --~--~---------~--~----~------------~-------~--~----~ 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] -~----------~----~----~----~------~----~------~--~---
