← 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:05 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Method/Meta.pm
StatementsExecuted 483 statements in 9.01ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
193116.55ms349msMoose::Meta::Method::Meta::::wrapMoose::Meta::Method::Meta::wrap
42111.29ms5.85msMoose::Meta::Method::Meta::::_make_compatible_withMoose::Meta::Method::Meta::_make_compatible_with
11171µs90µsMoose::Meta::Method::Meta::::BEGIN@4Moose::Meta::Method::Meta::BEGIN@4
11146µs478µsMoose::Meta::Method::Meta::::BEGIN@11Moose::Meta::Method::Meta::BEGIN@11
11138µs108µ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
43101µs2109µs
# spent 90µs (71+19) within Moose::Meta::Method::Meta::BEGIN@4 which was called: # once (71µs+19µs) by Moose::Meta::Class::BEGIN@25 at line 4
use strict;
# spent 90µs making 1 call to Moose::Meta::Method::Meta::BEGIN@4 # spent 19µs making 1 call to strict::import
53217µs2178µs
# spent 108µs (38+70) within Moose::Meta::Method::Meta::BEGIN@5 which was called: # once (38µs+70µs) by Moose::Meta::Class::BEGIN@25 at line 5
use warnings;
# spent 108µs making 1 call to Moose::Meta::Method::Meta::BEGIN@5 # spent 70µs making 1 call to warnings::import
6
715µsour $VERSION = '1.19';
8171µs$VERSION = eval $VERSION;
# spent 27µs executing statements in string eval
914µsour $AUTHORITY = 'cpan:STEVAN';
10
111432µs
# spent 478µs (46+432) within Moose::Meta::Method::Meta::BEGIN@11 which was called: # once (46µs+432µs) by Moose::Meta::Class::BEGIN@25 at line 12
use base 'Moose::Meta::Method',
# spent 432µs making 1 call to base::import
123540µs1478µs 'Class::MOP::Method::Meta';
# spent 478µ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 349ms (6.55+342) within Moose::Meta::Method::Meta::wrap which was called 193 times, avg 1.81ms/call: # 193 times (6.55ms+342ms) by Class::MOP::Mixin::HasMethods::_add_meta_method at line 30 of Class/MOP/Mixin/HasMethods.pm, avg 1.81ms/call
sub wrap {
233866.78ms my $class = shift;
24193342ms return $class->Class::MOP::Method::Meta::wrap(@_);
# spent 342ms making 193 calls to Class::MOP::Method::Meta::wrap, avg 1.77ms/call
25}
26
27
# spent 5.85ms (1.29+4.56) within Moose::Meta::Method::Meta::_make_compatible_with which was called 42 times, avg 139µs/call: # 42 times (1.29ms+4.56ms) by Class::MOP::Mixin::HasMethods::_restore_metamethods_from at line 217 of Class/MOP/Mixin/HasMethods.pm, avg 139µs/call
sub _make_compatible_with {
28841.28ms my $self = shift;
29424.56ms return $self->Class::MOP::Method::Meta::_make_compatible_with(@_);
# spent 4.56ms making 42 calls to Class::MOP::Method::Meta::_make_compatible_with, avg 109µs/call
30}
31
32112µs1;
33
34__END__