← Index
NYTProf Performance Profile   « block view • line view • sub view »
For mentat.storage.mongo.pl
  Run on Tue Jun 24 10:04:38 2014
Reported on Tue Jun 24 10:05:18 2014

Filename/usr/local/lib/perl/5.14.2/Moose/Meta/Role/Method/Required.pm
StatementsExecuted 15 statements in 292µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11123µs70µsMoose::Meta::Role::Method::Required::::BEGIN@14Moose::Meta::Role::Method::Required::BEGIN@14
1119µs9µsMoose::Meta::Role::Method::Required::::BEGIN@3Moose::Meta::Role::Method::Required::BEGIN@3
1118µs11µsMoose::Meta::Role::Method::Required::::BEGIN@10Moose::Meta::Role::Method::Required::BEGIN@10
1118µs52µsMoose::Meta::Role::Method::Required::::BEGIN@17Moose::Meta::Role::Method::Required::BEGIN@17
1117µs12µsMoose::Meta::Role::Method::Required::::BEGIN@11Moose::Meta::Role::Method::Required::BEGIN@11
1116µs473µ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 9µs within Moose::Meta::Role::Method::Required::BEGIN@3 which was called: # once (9µs+0s) by Moose::Meta::Role::BEGIN@21 at line 5
BEGIN {
418µs $Moose::Meta::Role::Method::Required::AUTHORITY = 'cpan:STEVAN';
5134µs19µs}
# spent 9µ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
10222µs214µs
# spent 11µs (8+3) within Moose::Meta::Role::Method::Required::BEGIN@10 which was called: # once (8µs+3µs) by Moose::Meta::Role::BEGIN@21 at line 10
use strict;
# spent 11µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@10 # spent 3µs making 1 call to strict::import
11221µs217µs
# spent 12µs (7+5) within Moose::Meta::Role::Method::Required::BEGIN@11 which was called: # once (7µs+5µs) by Moose::Meta::Role::BEGIN@21 at line 11
use warnings;
# spent 12µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@11 # spent 5µs making 1 call to warnings::import
12260µs2940µs
# spent 473µs (6+467) within Moose::Meta::Role::Method::Required::BEGIN@12 which was called: # once (6µs+467µs) by Moose::Meta::Role::BEGIN@21 at line 12
use metaclass;
# spent 473µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@12 # spent 467µs making 1 call to metaclass::import
13
14
# spent 70µs (23+47) within Moose::Meta::Role::Method::Required::BEGIN@14 which was called: # once (23µs+47µs) by Moose::Meta::Role::BEGIN@21 at line 15
use overload '""' => sub { shift->name }, # stringify to method name
15256µs2117µs fallback => 1;
# spent 70µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@14 # spent 47µs making 1 call to overload::import
16
17280µs297µs
# spent 52µs (8+45) within Moose::Meta::Role::Method::Required::BEGIN@17 which was called: # once (8µs+45µs) by Moose::Meta::Role::BEGIN@21 at line 17
use base qw(Class::MOP::Object);
# spent 52µs making 1 call to Moose::Meta::Role::Method::Required::BEGIN@17 # spent 45µ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
2214µs3431µs__PACKAGE__->meta->add_attribute('name' => (
# spent 410µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 16µs making 1 call to Moose::Meta::Role::Method::Required::meta # spent 5µ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
3015µs1;
31
32# ABSTRACT: A Moose metaclass for required methods in Roles
33
34__END__