← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 22:00:36 2010
Reported on Wed Nov 17 22:13:20 2010

Filename/home/doy/coding/src/Moose/blib/lib//Moose/Meta/Method/Meta.pm
StatementsExecuted 399 statements in 7.03ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
151115.01ms271msMoose::Meta::Method::Meta::::wrapMoose::Meta::Method::Meta::wrap
42111.26ms5.89msMoose::Meta::Method::Meta::::_make_compatible_withMoose::Meta::Method::Meta::_make_compatible_with
111100µs118µsMoose::Meta::Method::Meta::::BEGIN@4Moose::Meta::Method::Meta::BEGIN@4
11140µs452µsMoose::Meta::Method::Meta::::BEGIN@11Moose::Meta::Method::Meta::BEGIN@11
11138µs107µsMoose::Meta::Method::Meta::::BEGIN@5Moose::Meta::Method::Meta::BEGIN@5
0000s0sMoose::Meta::Method::Meta::::_is_caller_mop_internalMoose::Meta::Method::Meta::_is_caller_mop_internal
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::Method::Meta;
3
43102µs2136µs
# spent 118µs (100+18) within Moose::Meta::Method::Meta::BEGIN@4 which was called: # once (100µs+18µs) by Moose::Meta::Class::BEGIN@25 at line 4
use strict;
# spent 118µs making 1 call to Moose::Meta::Method::Meta::BEGIN@4 # spent 18µs making 1 call to strict::import
53235µs2176µs
# spent 107µs (38+69) within Moose::Meta::Method::Meta::BEGIN@5 which was called: # once (38µs+69µs) by Moose::Meta::Class::BEGIN@25 at line 5
use warnings;
# spent 107µs making 1 call to Moose::Meta::Method::Meta::BEGIN@5 # spent 69µs making 1 call to warnings::import
6
714µsour $VERSION = '1.19';
8156µs$VERSION = eval $VERSION;
# spent 10µs executing statements in string eval
913µsour $AUTHORITY = 'cpan:STEVAN';
10
11125µs1412µs
# spent 452µs (40+412) within Moose::Meta::Method::Meta::BEGIN@11 which was called: # once (40µs+412µs) by Moose::Meta::Class::BEGIN@25 at line 12
use base 'Moose::Meta::Method',
# spent 412µs making 1 call to base::import
122467µs1452µs 'Class::MOP::Method::Meta';
# spent 452µs making 1 call to Moose::Meta::Method::Meta::BEGIN@11
13
14sub _is_caller_mop_internal {
15 my $self = shift;
16 my ($caller) = @_;
17 return 1 if $caller =~ /^Moose(?:::|$)/;
18 return $self->SUPER::_is_caller_mop_internal($caller);
19}
20
21# XXX: ugh multiple inheritance
22
# spent 271ms (5.01+266) within Moose::Meta::Method::Meta::wrap which was called 151 times, avg 1.80ms/call: # 151 times (5.01ms+266ms) by Class::MOP::Mixin::HasMethods::_add_meta_method at line 28 of Class/MOP/Mixin/HasMethods.pm, avg 1.80ms/call
sub wrap {
23151631µs my $class = shift;
241514.26ms151266ms return $class->Class::MOP::Method::Meta::wrap(@_);
# spent 266ms making 151 calls to Class::MOP::Method::Meta::wrap, avg 1.76ms/call
25}
26
27
# spent 5.89ms (1.26+4.63) within Moose::Meta::Method::Meta::_make_compatible_with which was called 42 times, avg 140µs/call: # 42 times (1.26ms+4.63ms) by Class::MOP::Mixin::HasMethods::_restore_metamethods_from at line 175 of Class/MOP/Mixin/HasMethods.pm, avg 140µs/call
sub _make_compatible_with {
2842137µs my $self = shift;
29421.10ms424.63ms return $self->Class::MOP::Method::Meta::_make_compatible_with(@_);
# spent 4.63ms making 42 calls to Class::MOP::Method::Meta::_make_compatible_with, avg 110µs/call
30}
31
32111µs1;
33
34__END__