← Index
NYTProf Performance Profile   « line view »
For examples/Atom-timer.pl
  Run on Mon Aug 12 14:45:28 2013
Reported on Mon Aug 12 14:46:14 2013

Filename/Users/dde/perl5/perlbrew/perls/5.18.0t/lib/site_perl/5.18.0/darwin-thread-multi-2level/Moose/Meta/Method/Meta.pm
StatementsExecuted 74 statements in 300µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
3211115µs13.9msMoose::Meta::Method::Meta::::wrapMoose::Meta::Method::Meta::wrap
1118µs8µsMoose::Meta::Method::Meta::::BEGIN@3Moose::Meta::Method::Meta::BEGIN@3
1116µs9µsMoose::Meta::Method::Meta::::BEGIN@11Moose::Meta::Method::Meta::BEGIN@11
1116µs91µsMoose::Meta::Method::Meta::::BEGIN@13Moose::Meta::Method::Meta::BEGIN@13
1115µs16µsMoose::Meta::Method::Meta::::BEGIN@10Moose::Meta::Method::Meta::BEGIN@10
0000s0sMoose::Meta::Method::Meta::::_is_caller_mop_internalMoose::Meta::Method::Meta::_is_caller_mop_internal
0000s0sMoose::Meta::Method::Meta::::_make_compatible_withMoose::Meta::Method::Meta::_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::Method::Meta;
3
# spent 8µs within Moose::Meta::Method::Meta::BEGIN@3 which was called: # once (8µs+0s) by Moose::Meta::Class::BEGIN@27 at line 5
BEGIN {
414µs $Moose::Meta::Method::Meta::AUTHORITY = 'cpan:STEVAN';
5132µs18µs}
# spent 8µs making 1 call to Moose::Meta::Method::Meta::BEGIN@3
6{
72800ns $Moose::Meta::Method::Meta::VERSION = '2.1005';
8}
9
10219µs227µs
# spent 16µs (5+11) within Moose::Meta::Method::Meta::BEGIN@10 which was called: # once (5µs+11µs) by Moose::Meta::Class::BEGIN@27 at line 10
use strict;
# spent 16µs making 1 call to Moose::Meta::Method::Meta::BEGIN@10 # spent 11µs making 1 call to strict::import
11223µs212µs
# spent 9µs (6+3) within Moose::Meta::Method::Meta::BEGIN@11 which was called: # once (6µs+3µs) by Moose::Meta::Class::BEGIN@27 at line 11
use warnings;
# spent 9µs making 1 call to Moose::Meta::Method::Meta::BEGIN@11 # spent 3µs making 1 call to warnings::import
12
131100ns
# spent 91µs (6+85) within Moose::Meta::Method::Meta::BEGIN@13 which was called: # once (6µs+85µs) by Moose::Meta::Class::BEGIN@27 at line 14
use base 'Moose::Meta::Method',
141120µs2176µs 'Class::MOP::Method::Meta';
# spent 91µs making 1 call to Moose::Meta::Method::Meta::BEGIN@13 # spent 85µs making 1 call to base::import
15
16sub _is_caller_mop_internal {
17 my $self = shift;
18 my ($caller) = @_;
19 return 1 if $caller =~ /^Moose(?:::|$)/;
20 return $self->SUPER::_is_caller_mop_internal($caller);
21}
22
23# XXX: ugh multiple inheritance
24
# spent 13.9ms (115µs+13.8) within Moose::Meta::Method::Meta::wrap which was called 32 times, avg 434µs/call: # 32 times (115µs+13.8ms) by Class::MOP::Mixin::HasMethods::_add_meta_method at line 33 of Class/MOP/Mixin/HasMethods.pm, avg 434µs/call
sub wrap {
25325µs my $class = shift;
263294µs3213.8ms return $class->Class::MOP::Method::Meta::wrap(@_);
# spent 13.8ms making 32 calls to Class::MOP::Method::Meta::wrap, avg 431µs/call
27}
28
29sub _make_compatible_with {
30 my $self = shift;
31 return $self->Class::MOP::Method::Meta::_make_compatible_with(@_);
32}
33
3412µs1;
35
36# ABSTRACT: A Moose Method metaclass for C<meta> methods
37
38__END__