← Index
NYTProf Performance Profile   « line view »
For fastest.pl
  Run on Fri Jan 31 20:48:16 2014
Reported on Fri Jan 31 20:49:41 2014

Filename/opt/perl-5.18.1/lib/site_perl/5.18.1/darwin-thread-multi-2level/Moose/Meta/Role/Method/Required.pm
StatementsExecuted 15 statements in 328µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11112µs49µsMoose::Meta::Role::Method::Required::::BEGIN@14Moose::Meta::Role::Method::Required::BEGIN@14
11111µs11µsMoose::Meta::Role::Method::Required::::BEGIN@3Moose::Meta::Role::Method::Required::BEGIN@3
1119µs75µsMoose::Meta::Role::Method::Required::::BEGIN@17Moose::Meta::Role::Method::Required::BEGIN@17
1119µs24µsMoose::Meta::Role::Method::Required::::BEGIN@10Moose::Meta::Role::Method::Required::BEGIN@10
1119µs13µsMoose::Meta::Role::Method::Required::::BEGIN@11Moose::Meta::Role::Method::Required::BEGIN@11
1118µs494µsMoose::Meta::Role::Method::Required::::BEGIN@12Moose::Meta::Role::Method::Required::BEGIN@12
0000s0sMoose::Meta::Role::Method::Required::::__ANON__[:14]Moose::Meta::Role::Method::Required::__ANON__[:14]
0000s0sMoose::Meta::Role::Method::Required::::newMoose::Meta::Role::Method::Required::new
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::Required;
3
# spent 11µs within Moose::Meta::Role::Method::Required::BEGIN@3 which was called: # once (11µs+0s) by Moose::Meta::Role::BEGIN@21 at line 5
BEGIN {
416µs $Moose::Meta::Role::Method::Required::AUTHORITY = 'cpan:STEVAN';
5146µs111µs}
# spent 11µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@3
6{
721µs $Moose::Meta::Role::Method::Required::VERSION = '2.1005';
8}
9
10229µs239µs
# spent 24µs (9+15) within Moose::Meta::Role::Method::Required::BEGIN@10 which was called: # once (9µs+15µs) by Moose::Meta::Role::BEGIN@21 at line 10
use strict;
# spent 24µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@10 # spent 15µs making 1 call to strict::import
11227µs217µs
# spent 13µs (9+4) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called: # once (9µs+4µs) by Moose::Meta::Role::BEGIN@21 at line 11
use warnings;
# spent 13µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11 # spent 4µs making 1 call to warnings::import
12260µs2980µs
# spent 494µs (8+486) within Moose::Meta::Role::Method::Required::BEGIN@12 which was called: # once (8µs+486µs) by Moose::Meta::Role::BEGIN@21 at line 12
use metaclass;
# spent 494µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@12 # spent 486µs making 1 call to metaclass::import
13
14
# spent 49µs (12+37) within Moose::Meta::Role::Method::Required::BEGIN@14 which was called: # once (12µs+37µs) by Moose::Meta::Role::BEGIN@21 at line 15
use overload '""' => sub { shift->name }, # stringify to method name
15246µs286µs fallback => 1;
# spent 49µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@14 # spent 37µs making 1 call to overload::import
16
172102µs2141µs
# spent 75µs (9+66) within Moose::Meta::Role::Method::Required::BEGIN@17 which was called: # once (9µs+66µs) by Moose::Meta::Role::BEGIN@21 at line 17
use base qw(Class::MOP::Object);
# spent 75µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@17 # spent 66µs making 1 call to base::import
18
19# This is not a Moose::Meta::Role::Method because it has no implementation, it
20# is just a name
21
2215µs3423µs__PACKAGE__->meta->add_attribute('name' => (
# spent 396µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 20µs making 1 call to Moose::Meta::Role::Method::Required::meta # spent 7µs making 1 call to Class::MOP::_definition_context
23 reader => 'name',
24 required => 1,
25 Class::MOP::_definition_context(),
26));
27
28sub new { shift->_new(@_) }
29
3016µs1;
31
32# ABSTRACT: A Moose metaclass for required methods in Roles
33
34__END__