← Index
NYTProf Performance Profile   « block view • line view • sub view »
For xt/tapper-mcp-scheduler-with-db-longrun.t
  Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:23:36 2012

Filename/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux/Moose/Meta/Role/Method/Conflicting.pm
StatementsExecuted 17 statements in 210µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1119µs9µsMoose::Meta::Role::Method::Conflicting::::BEGIN@3Moose::Meta::Role::Method::Conflicting::BEGIN@3
1119µs197µsMoose::Meta::Role::Method::Conflicting::::BEGIN@13Moose::Meta::Role::Method::Conflicting::BEGIN@13
1119µs14µsMoose::Meta::Role::Method::Conflicting::::BEGIN@10Moose::Meta::Role::Method::Conflicting::BEGIN@10
1119µs80µsMoose::Meta::Role::Method::Conflicting::::BEGIN@15Moose::Meta::Role::Method::Conflicting::BEGIN@15
1118µs25µsMoose::Meta::Role::Method::Conflicting::::BEGIN@11Moose::Meta::Role::Method::Conflicting::BEGIN@11
0000s0sMoose::Meta::Role::Method::Conflicting::::roles_as_english_listMoose::Meta::Role::Method::Conflicting::roles_as_english_list
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::Conflicting;
3
# spent 9µs within Moose::Meta::Role::Method::Conflicting::BEGIN@3 which was called: # once (9µs+0s) by Moose::Meta::Role::BEGIN@22 at line 5
BEGIN {
415µs $Moose::Meta::Role::Method::Conflicting::AUTHORITY = 'cpan:STEVAN';
5124µs19µs}
6{
721µs $Moose::Meta::Role::Method::Conflicting::VERSION = '2.0602';
8}
9
10318µs218µs
# spent 14µs (9+5) within Moose::Meta::Role::Method::Conflicting::BEGIN@10 which was called: # once (9µs+5µs) by Moose::Meta::Role::BEGIN@22 at line 10
use strict;
# spent 14µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@10 # spent 5µs making 1 call to strict::import
11318µs243µs
# spent 25µs (8+17) within Moose::Meta::Role::Method::Conflicting::BEGIN@11 which was called: # once (8µs+17µs) by Moose::Meta::Role::BEGIN@22 at line 11
use warnings;
# spent 25µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@11 # spent 17µs making 1 call to warnings::import
12
13326µs2385µs
# spent 197µs (9+188) within Moose::Meta::Role::Method::Conflicting::BEGIN@13 which was called: # once (9µs+188µs) by Moose::Meta::Role::BEGIN@22 at line 13
use Moose::Util;
# spent 197µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@13 # spent 188µs making 1 call to Sub::Exporter::__ANON__[Sub/Exporter.pm:756]
14
153103µs2153µs
# spent 80µs (9+72) within Moose::Meta::Role::Method::Conflicting::BEGIN@15 which was called: # once (9µs+72µs) by Moose::Meta::Role::BEGIN@22 at line 15
use base qw(Moose::Meta::Role::Method::Required);
# spent 80µs making 1 call to Moose::Meta::Role::Method::Conflicting::BEGIN@15 # spent 72µs making 1 call to base::import
16
1718µs3837µs__PACKAGE__->meta->add_attribute('roles' => (
# spent 419µs making 1 call to Class::MOP::Mixin::HasAttributes::add_attribute # spent 410µs making 1 call to Moose::Meta::Role::Method::Required::meta # spent 8µs making 1 call to Class::MOP::_definition_context
18 reader => 'roles',
19 required => 1,
20 Class::MOP::_definition_context(),
21));
22
23sub roles_as_english_list {
24 my $self = shift;
25 Moose::Util::english_list( map { q{'} . $_ . q{'} } @{ $self->roles } );
26}
27
2817µs1;
29
30# ABSTRACT: A Moose metaclass for conflicting methods in Roles
31
- -
34=pod
35
36=head1 NAME
37
38Moose::Meta::Role::Method::Conflicting - A Moose metaclass for conflicting methods in Roles
39
40=head1 VERSION
41
42version 2.0602
43
44=head1 DESCRIPTION
45
46=head1 INHERITANCE
47
48C<Moose::Meta::Role::Method::Conflicting> is a subclass of
49L<Moose::Meta::Role::Method::Required>.
50
51=head1 METHODS
52
53=over 4
54
55=item B<< Moose::Meta::Role::Method::Conflicting->new(%options) >>
56
57This creates a new type constraint based on the provided C<%options>:
58
59=over 8
60
61=item * name
62
63The method name. This is required.
64
65=item * roles
66
67The list of role names that generated the conflict. This is required.
68
69=back
70
71=item B<< $method->name >>
72
73Returns the conflicting method's name, as provided to the constructor.
74
75=item B<< $method->roles >>
76
77Returns the roles that generated this conflicting method, as provided to the
78constructor.
79
80=item B<< $method->roles_as_english_list >>
81
82Returns the roles that generated this conflicting method as an English list.
83
84=back
85
86=head1 BUGS
87
88See L<Moose/BUGS> for details on reporting bugs.
89
90=head1 AUTHOR
91
92Moose is maintained by the Moose Cabal, along with the help of many contributors. See L<Moose/CABAL> and L<Moose/CONTRIBUTORS> for details.
93
94=head1 COPYRIGHT AND LICENSE
95
96This software is copyright (c) 2012 by Infinity Interactive, Inc..
97
98This is free software; you can redistribute it and/or modify it under
99the same terms as the Perl 5 programming language system itself.
100
101=cut
102
103
104__END__