← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:45:08 2010
Reported on Wed Nov 17 22:10:07 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Role/Method.pm
StatementsExecuted 13 statements in 663µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11175µs93µsMoose::Meta::Role::Method::::BEGIN@4Moose::Meta::Role::Method::BEGIN@4
11139µs317µsMoose::Meta::Role::Method::::BEGIN@11Moose::Meta::Role::Method::BEGIN@11
11138µs108µsMoose::Meta::Role::Method::::BEGIN@5Moose::Meta::Role::Method::BEGIN@5
0000s0sMoose::Meta::Role::Method::::_make_compatible_withMoose::Meta::Role::Method::_make_compatible_with
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
2package Moose::Meta::Role::Method;
3
43101µs2111µs
# spent 93µs (75+18) within Moose::Meta::Role::Method::BEGIN@4 which was called: # once (75µs+18µs) by Moose::Meta::Role::BEGIN@18 at line 4
use strict;
# spent 93µs making 1 call to Moose::Meta::Role::Method::BEGIN@4 # spent 18µs making 1 call to strict::import
53214µs2177µs
# spent 108µs (38+69) within Moose::Meta::Role::Method::BEGIN@5 which was called: # once (38µs+69µs) by Moose::Meta::Role::BEGIN@18 at line 5
use warnings;
# spent 108µs making 1 call to Moose::Meta::Role::Method::BEGIN@5 # spent 69µs making 1 call to warnings::import
6
714µsour $VERSION = '1.19';
8161µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
913µsour $AUTHORITY = 'cpan:STEVAN';
10
113268µs2596µs
# spent 317µs (39+279) within Moose::Meta::Role::Method::BEGIN@11 which was called: # once (39µs+279µs) by Moose::Meta::Role::BEGIN@18 at line 11
use base 'Moose::Meta::Method';
# spent 317µs making 1 call to Moose::Meta::Role::Method::BEGIN@11 # spent 279µs making 1 call to base::import
12
13sub _make_compatible_with {
14 my $self = shift;
15 my ($other) = @_;
16
17 # XXX: this is pretty gross. the issue here is blah blah blah
18 # see the comments in CMOP::Method::Meta and CMOP::Method::Wrapped
19 return $self unless $other->_is_compatible_with($self->_real_ref_name);
20
21 return $self->SUPER::_make_compatible_with(@_);
22}
23
24111µs1;
25
26__END__