← Index
NYTProf Performance Profile   « line view »
For script/ponapi
  Run on Wed Feb 10 15:51:26 2016
Reported on Thu Feb 11 09:43:11 2016

Filename/usr/local/lib/perl/5.18.2/Moose/Meta/Role/Method.pm
StatementsExecuted 8 statements in 109µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1119µs20µsMoose::Meta::Role::Method::::BEGIN@4Moose::Meta::Role::Method::BEGIN@4
1117µs11µsMoose::Meta::Role::Method::::BEGIN@5Moose::Meta::Role::Method::BEGIN@5
1116µs28µsMoose::Meta::Role::Method::::BEGIN@7Moose::Meta::Role::Method::BEGIN@7
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
1package Moose::Meta::Role::Method;
21500nsour $VERSION = '2.1604';
3
4221µs232µs
# spent 20µs (9+11) within Moose::Meta::Role::Method::BEGIN@4 which was called: # once (9µs+11µs) by Moose::Meta::Role::BEGIN@12 at line 4
use strict;
# spent 20µs making 1 call to Moose::Meta::Role::Method::BEGIN@4 # spent 11µs making 1 call to strict::import
5224µs215µs
# spent 11µs (7+4) within Moose::Meta::Role::Method::BEGIN@5 which was called: # once (7µs+4µs) by Moose::Meta::Role::BEGIN@12 at line 5
use warnings;
# spent 11µs making 1 call to Moose::Meta::Role::Method::BEGIN@5 # spent 4µs making 1 call to warnings::import
6
7260µs249µs
# spent 28µs (6+22) within Moose::Meta::Role::Method::BEGIN@7 which was called: # once (6µs+22µs) by Moose::Meta::Role::BEGIN@12 at line 7
use parent 'Moose::Meta::Method';
# spent 28µs making 1 call to Moose::Meta::Role::Method::BEGIN@7 # spent 22µs making 1 call to parent::import
8
9sub _make_compatible_with {
10 my $self = shift;
11 my ($other) = @_;
12
13 # XXX: this is pretty gross. the issue here is blah blah blah
14 # see the comments in CMOP::Method::Meta and CMOP::Method::Wrapped
15 return $self unless $other->_is_compatible_with($self->_real_ref_name);
16
17 return $self->SUPER::_make_compatible_with(@_);
18}
19
2012µs1;
21
22# ABSTRACT: A Moose Method metaclass for Roles
23
24__END__