← Index
NYTProf Performance Profile   « line view »
For /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage
  Run on Mon Jan 29 16:55:34 2018
Reported on Mon Jan 29 16:57:07 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/x86_64-linux/Moose/Meta/Role/Method/Required.pm
StatementsExecuted 13 statements in 146µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1119µs12µsMoose::Meta::Role::Method::Required::::BEGIN@5Moose::Meta::Role::Method::Required::BEGIN@5
1118µs9µsMoose::Meta::Role::Method::Required::::BEGIN@4Moose::Meta::Role::Method::Required::BEGIN@4
1117µs32µsMoose::Meta::Role::Method::Required::::BEGIN@9Moose::Meta::Role::Method::Required::BEGIN@9
1115µs278µsMoose::Meta::Role::Method::Required::::BEGIN@6Moose::Meta::Role::Method::Required::BEGIN@6
1114µs18µsMoose::Meta::Role::Method::Required::::BEGIN@13Moose::Meta::Role::Method::Required::BEGIN@13
0000s0sMoose::Meta::Role::Method::Required::::__ANON__[:10]Moose::Meta::Role::Method::Required::__ANON__[:10]
0000s0sMoose::Meta::Role::Method::Required::::__ANON__[:9]Moose::Meta::Role::Method::Required::__ANON__[:9]
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
1package Moose::Meta::Role::Method::Required;
21200nsour $VERSION = '2.1605';
3
4214µs211µs
# spent 9µs (8+1) within Moose::Meta::Role::Method::Required::BEGIN@4 which was called: # once (8µs+1µs) by Moose::Meta::Role::BEGIN@13 at line 4
use strict;
# spent 9µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@4 # spent 1µs making 1 call to strict::import
5213µs215µs
# spent 12µs (9+3) within Moose::Meta::Role::Method::Required::BEGIN@5 which was called: # once (9µs+3µs) by Moose::Meta::Role::BEGIN@13 at line 5
use warnings;
# spent 12µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@5 # spent 3µs making 1 call to warnings::import
6248µs2551µs
# spent 278µs (5+273) within Moose::Meta::Role::Method::Required::BEGIN@6 which was called: # once (5µs+273µs) by Moose::Meta::Role::BEGIN@13 at line 6
use metaclass;
# spent 278µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@6 # spent 273µs making 1 call to metaclass::import
7
8use overload
9
# spent 32µs (7+26) within Moose::Meta::Role::Method::Required::BEGIN@9 which was called: # once (7µs+26µs) by Moose::Meta::Role::BEGIN@13 at line 11
'""' => sub { shift->name }, # stringify to method name
10 'bool' => sub { 1 },
11219µs258µs fallback => 1;
# spent 32µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@9 # spent 26µs making 1 call to overload::import
12
13246µs231µs
# spent 18µs (4+13) within Moose::Meta::Role::Method::Required::BEGIN@13 which was called: # once (4µs+13µs) by Moose::Meta::Role::BEGIN@13 at line 13
use parent 'Class::MOP::Object';
# spent 18µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@13 # spent 13µs making 1 call to parent::import
14
15# This is not a Moose::Meta::Role::Method because it has no implementation, it
16# is just a name
17
1812µs3215µs__PACKAGE__->meta->add_attribute('name' => (
# spent 198µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 13µs making 1 call to Moose::Meta::Role::Method::Required::meta # spent 4µs making 1 call to Class::MOP::_definition_context
19 reader => 'name',
20 required => 1,
21 Class::MOP::_definition_context(),
22));
23
24sub new { shift->_new(@_) }
25
2613µs1;
27
28# ABSTRACT: A Moose metaclass for required methods in Roles
29
30__END__