← 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:10 2016

Filename/usr/local/lib/perl/5.18.2/Moose/Meta/Method/Meta.pm
StatementsExecuted 156 statements in 535µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
7411388µs17.1msMoose::Meta::Method::Meta::::wrapMoose::Meta::Method::Meta::wrap
1119µs18µsMoose::Meta::Method::Meta::::BEGIN@4Moose::Meta::Method::Meta::BEGIN@4
1116µs9µsMoose::Meta::Method::Meta::::BEGIN@5Moose::Meta::Method::Meta::BEGIN@5
1115µs31µsMoose::Meta::Method::Meta::::BEGIN@7Moose::Meta::Method::Meta::BEGIN@7
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
1package Moose::Meta::Method::Meta;
21500nsour $VERSION = '2.1604';
3
4219µs227µs
# spent 18µs (9+9) within Moose::Meta::Method::Meta::BEGIN@4 which was called: # once (9µs+9µs) by Moose::Meta::Class::BEGIN@18 at line 4
use strict;
# spent 18µs making 1 call to Moose::Meta::Method::Meta::BEGIN@4 # spent 9µs making 1 call to strict::import
5225µs212µs
# spent 9µs (6+3) within Moose::Meta::Method::Meta::BEGIN@5 which was called: # once (6µs+3µs) by Moose::Meta::Class::BEGIN@18 at line 5
use warnings;
# spent 9µs making 1 call to Moose::Meta::Method::Meta::BEGIN@5 # spent 3µs making 1 call to warnings::import
6
713µs126µs
# spent 31µs (5+26) within Moose::Meta::Method::Meta::BEGIN@7 which was called: # once (5µs+26µs) by Moose::Meta::Class::BEGIN@18 at line 8
use parent 'Moose::Meta::Method',
# spent 26µs making 1 call to parent::import
81107µs131µs 'Class::MOP::Method::Meta';
# spent 31µs making 1 call to Moose::Meta::Method::Meta::BEGIN@7
9
10sub _is_caller_mop_internal {
11 my $self = shift;
12 my ($caller) = @_;
13 return 1 if $caller =~ /^Moose(?:::|$)/;
14 return $self->SUPER::_is_caller_mop_internal($caller);
15}
16
17# XXX: ugh multiple inheritance
18
# spent 17.1ms (388µs+16.7) within Moose::Meta::Method::Meta::wrap which was called 74 times, avg 231µs/call: # 74 times (388µs+16.7ms) by Class::MOP::Mixin::HasMethods::_add_meta_method at line 24 of Class/MOP/Mixin/HasMethods.pm, avg 231µs/call
sub wrap {
197427µs my $class = shift;
2074352µs7416.7ms return $class->Class::MOP::Method::Meta::wrap(@_);
# spent 16.7ms making 74 calls to Class::MOP::Method::Meta::wrap, avg 226µs/call
21}
22
23sub _make_compatible_with {
24 my $self = shift;
25 return $self->Class::MOP::Method::Meta::_make_compatible_with(@_);
26}
27
2812µs1;
29
30# ABSTRACT: A Moose Method metaclass for C<meta> methods
31
32__END__