| Filename | /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Markdent/Types/Internal.pm |
| Statements | Executed 26 statements in 4.69ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 8.27ms | 15.4ms | Markdent::Types::Internal::BEGIN@9 |
| 1 | 1 | 1 | 4.28ms | 1.41s | Markdent::Types::Internal::BEGIN@11 |
| 1 | 1 | 1 | 1.32ms | 55.4ms | Markdent::Types::Internal::BEGIN@24 |
| 1 | 1 | 1 | 48µs | 48µs | Markdent::Types::Internal::BEGIN@2 |
| 1 | 1 | 1 | 41µs | 140µs | Markdent::Types::Internal::BEGIN@7 |
| 1 | 1 | 1 | 38µs | 54µs | Markdent::Types::Internal::BEGIN@6 |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:28] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:29] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:33] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:37] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:41] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:45] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:49] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:56] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:57] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:63] |
| 0 | 0 | 0 | 0s | 0s | Markdent::Types::Internal::__ANON__[:64] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Markdent::Types::Internal; | ||||
| 2 | # spent 48µs within Markdent::Types::Internal::BEGIN@2 which was called:
# once (48µs+0s) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 4 | ||||
| 3 | 1 | 34µs | $Markdent::Types::Internal::VERSION = '0.17'; | ||
| 4 | 1 | 77µs | 1 | 48µs | } # spent 48µs making 1 call to Markdent::Types::Internal::BEGIN@2 |
| 5 | |||||
| 6 | 3 | 94µs | 2 | 71µs | # spent 54µs (38+17) within Markdent::Types::Internal::BEGIN@6 which was called:
# once (38µs+17µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 6 # spent 54µs making 1 call to Markdent::Types::Internal::BEGIN@6
# spent 17µs making 1 call to strict::import |
| 7 | 3 | 102µs | 2 | 239µs | # spent 140µs (41+99) within Markdent::Types::Internal::BEGIN@7 which was called:
# once (41µs+99µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 7 # spent 140µs making 1 call to Markdent::Types::Internal::BEGIN@7
# spent 99µs making 1 call to warnings::import |
| 8 | |||||
| 9 | 3 | 608µs | 2 | 15.5ms | # spent 15.4ms (8.27+7.11) within Markdent::Types::Internal::BEGIN@9 which was called:
# once (8.27ms+7.11ms) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 9 # spent 15.4ms making 1 call to Markdent::Types::Internal::BEGIN@9
# spent 116µs making 1 call to Exporter::import |
| 10 | |||||
| 11 | 1 | 44µs | 1 | 36.8ms | # spent 1.41s (4.28ms+1.41) within Markdent::Types::Internal::BEGIN@11 which was called:
# once (4.28ms+1.41s) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 22 # spent 36.8ms making 1 call to MooseX::Types::import |
| 12 | qw( HeaderLevel | ||||
| 13 | BlockParserClass | ||||
| 14 | SpanParserClass | ||||
| 15 | EventObject | ||||
| 16 | HandlerObject | ||||
| 17 | OutputStream | ||||
| 18 | NonEmptyArrayRef | ||||
| 19 | TableCellAlignment | ||||
| 20 | PosInt | ||||
| 21 | ) | ||||
| 22 | 2 | 470µs | 1 | 1.41s | ]; # spent 1.41s making 1 call to Markdent::Types::Internal::BEGIN@11 |
| 23 | |||||
| 24 | 3 | 2.27ms | 2 | 73.9ms | # spent 55.4ms (1.32+54.1) within Markdent::Types::Internal::BEGIN@24 which was called:
# once (1.32ms+54.1ms) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 24 # spent 55.4ms making 1 call to Markdent::Types::Internal::BEGIN@24
# spent 18.5ms making 1 call to MooseX::Types::Base::import |
| 25 | |||||
| 26 | subtype HeaderLevel, | ||||
| 27 | as Int, | ||||
| 28 | where { $_ >= 1 && $_ <= 6 }, | ||||
| 29 | 1 | 91µs | 6 | 3.19ms | message { "Header level must be a number from 1-6 (not $_)" }; # spent 2.20ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 581µs making 1 call to __TYPE__::Markdent::Types::Internal::HeaderLevel
# spent 290µs making 1 call to __TYPE__::Int
# spent 94µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 12µs making 1 call to Moose::Util::TypeConstraints::where
# spent 11µs making 1 call to Moose::Util::TypeConstraints::message |
| 30 | |||||
| 31 | subtype BlockParserClass, | ||||
| 32 | as ClassName, | ||||
| 33 | 1 | 100µs | 8 | 2.62ms | where { $_->can('does') && $_->does('Markdent::Role::BlockParser') }; # spent 1.88ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 349µs making 1 call to __TYPE__::Markdent::Types::Internal::BlockParserClass
# spent 278µs making 1 call to __TYPE__::ClassName
# spent 77µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 15µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 8µs/call
# spent 12µs making 1 call to Moose::Util::TypeConstraints::where
# spent 8µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 34 | |||||
| 35 | subtype SpanParserClass, | ||||
| 36 | as ClassName, | ||||
| 37 | 1 | 99µs | 8 | 2.57ms | where { $_->can('does') && $_->does('Markdent::Role::SpanParser') }; # spent 1.84ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 345µs making 1 call to __TYPE__::Markdent::Types::Internal::SpanParserClass
# spent 268µs making 1 call to __TYPE__::ClassName
# spent 76µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call
# spent 12µs making 1 call to Moose::Util::TypeConstraints::where
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 38 | |||||
| 39 | subtype EventObject, | ||||
| 40 | as Object, | ||||
| 41 | 1 | 100µs | 8 | 2.54ms | where { $_->can('does') && $_->does('Markdent::Role::Event') }; # spent 1.80ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 343µs making 1 call to __TYPE__::Markdent::Types::Internal::EventObject
# spent 280µs making 1 call to __TYPE__::Object
# spent 83µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call
# spent 12µs making 1 call to Moose::Util::TypeConstraints::where
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 42 | |||||
| 43 | subtype HandlerObject, | ||||
| 44 | as Object, | ||||
| 45 | 1 | 123µs | 8 | 2.53ms | where { $_->can('does') && $_->does('Markdent::Role::Handler') }; # spent 1.80ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 346µs making 1 call to __TYPE__::Markdent::Types::Internal::HandlerObject
# spent 270µs making 1 call to __TYPE__::Object
# spent 80µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 15µs making 1 call to Moose::Util::TypeConstraints::where
# spent 15µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 46 | |||||
| 47 | subtype NonEmptyArrayRef, | ||||
| 48 | as ArrayRef, | ||||
| 49 | 1 | 98µs | 8 | 2.85ms | where { @{$_} >= 1 }; # spent 2.08ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 343µs making 1 call to __TYPE__::Markdent::Types::Internal::NonEmptyArrayRef
# spent 315µs making 1 call to __TYPE__::ArrayRef
# spent 78µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call
# spent 12µs making 1 call to Moose::Util::TypeConstraints::where
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 50 | |||||
| 51 | subtype OutputStream, | ||||
| 52 | as Any, | ||||
| 53 | where { | ||||
| 54 | FileHandle->check($_) | ||||
| 55 | || ( Object->check($_) && $_->can('print') ); | ||||
| 56 | }, | ||||
| 57 | 1 | 114µs | 9 | 2.44ms | message { 'The output stream must be a Perl file handle or an object with a print method' }; # spent 1.65ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 388µs making 1 call to __TYPE__::Markdent::Types::Internal::OutputStream
# spent 278µs making 1 call to __TYPE__::Any
# spent 79µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call
# spent 12µs making 1 call to Moose::Util::TypeConstraints::where
# spent 11µs making 1 call to Moose::Util::TypeConstraints::message
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 58 | |||||
| 59 | 1 | 50µs | 5 | 2.44ms | enum TableCellAlignment, qw( left right center ); # spent 2.05ms making 1 call to MooseX::Types::CheckedUtilExports::enum
# spent 363µs making 1 call to __TYPE__::Markdent::Types::Internal::TableCellAlignment
# spent 14µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 60 | |||||
| 61 | subtype PosInt, | ||||
| 62 | as Int, | ||||
| 63 | where { $_ >= 1 }, | ||||
| 64 | 1 | 87µs | 6 | 2.59ms | message {"The number provided ($_) is not a positive integer"}; # spent 1.81ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 385µs making 1 call to __TYPE__::Markdent::Types::Internal::PosInt
# spent 279µs making 1 call to __TYPE__::Int
# spent 80µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 26µs making 1 call to Moose::Util::TypeConstraints::message
# spent 12µs making 1 call to Moose::Util::TypeConstraints::where |
| 65 | |||||
| 66 | 1 | 130µs | 3 | 22µs | 1; # spent 15µs making 2 calls to MooseX::Types::TypeDecorator::DESTROY, avg 7µs/call
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |