← 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:15 2013

Filename/Users/dde/perl5/perlbrew/perls/5.18.0t/lib/site_perl/5.18.0/darwin-thread-multi-2level/Moose/Meta/Role/Method.pm
StatementsExecuted 10 statements in 138µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1118µs8µsMoose::Meta::Role::Method::::BEGIN@3Moose::Meta::Role::Method::BEGIN@3
1116µs9µsMoose::Meta::Role::Method::::BEGIN@11Moose::Meta::Role::Method::BEGIN@11
1116µs16µsMoose::Meta::Role::Method::::BEGIN@10Moose::Meta::Role::Method::BEGIN@10
1115µs58µsMoose::Meta::Role::Method::::BEGIN@13Moose::Meta::Role::Method::BEGIN@13
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
# spent 8µs within Moose::Meta::Role::Method::BEGIN@3 which was called: # once (8µs+0s) by Moose::Meta::Role::BEGIN@20 at line 5
BEGIN {
414µs $Moose::Meta::Role::Method::AUTHORITY = 'cpan:STEVAN';
5128µs18µs}
# spent 8µs making 1 call to Moose::Meta::Role::Method::BEGIN@3
6{
72700ns $Moose::Meta::Role::Method::VERSION = '2.1005';
8}
9
10219µs226µs
# spent 16µs (6+10) within Moose::Meta::Role::Method::BEGIN@10 which was called: # once (6µs+10µs) by Moose::Meta::Role::BEGIN@20 at line 10
use strict;
# spent 16µs making 1 call to Moose::Meta::Role::Method::BEGIN@10 # spent 10µs making 1 call to strict::import
11220µs212µs
# spent 9µs (6+3) within Moose::Meta::Role::Method::BEGIN@11 which was called: # once (6µs+3µs) by Moose::Meta::Role::BEGIN@20 at line 11
use warnings;
# spent 9µs making 1 call to Moose::Meta::Role::Method::BEGIN@11 # spent 3µs making 1 call to warnings::import
12
13264µs2110µs
# spent 58µs (5+52) within Moose::Meta::Role::Method::BEGIN@13 which was called: # once (5µs+52µs) by Moose::Meta::Role::BEGIN@20 at line 13
use base 'Moose::Meta::Method';
# spent 58µs making 1 call to Moose::Meta::Role::Method::BEGIN@13 # spent 52µs making 1 call to base::import
14
15sub _make_compatible_with {
16 my $self = shift;
17 my ($other) = @_;
18
19 # XXX: this is pretty gross. the issue here is blah blah blah
20 # see the comments in CMOP::Method::Meta and CMOP::Method::Wrapped
21 return $self unless $other->_is_compatible_with($self->_real_ref_name);
22
23 return $self->SUPER::_make_compatible_with(@_);
24}
25
2612µs1;
27
28# ABSTRACT: A Moose Method metaclass for Roles
29
30__END__