On Mon Jan 09 17:05:30 2006, [EMAIL PROTECTED] wrote:
> Simple profile suggests that pmc2c.pl is spending about 25% of it's
> total execution time loading FindBin. The lib path use of FindBin::Bin
> can be replaced with 'use lib qw( . lib ../lib ../../lib );' while the
> other uses of FindBin::Bin will have be replaced by values that are
> interpolated by genfile().
>
>
Joshua,
Do you know if this profiling is still needed?
Here's where I find FindBin in files underlying tools/build/pmc2c.pl:
$ fnsa lib/Parrot/Pmc2c/ '*.pm' | xargs grep -in FindBin
lib/Parrot/Pmc2c/Pmc2cMain.pm:6:use FindBin;
lib/Parrot/Pmc2c/Pmc2cMain.pm:91: ( ".", "$FindBin::Bin/../..",
"$FindBin::Bin/../../src/pmc/" );
lib/Parrot/Pmc2c/Pmc2cMain.pm:103:
$self->dump_vtable("$FindBin::Bin/../../src/vtable.tbl");
If so, can you post your standard profiling command(s)?
Thank you very much.
kid51