| 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 5.21ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 8.58ms | 15.9ms | Markdent::Types::Internal::BEGIN@9 |
| 1 | 1 | 1 | 4.42ms | 1.45s | Markdent::Types::Internal::BEGIN@11 |
| 1 | 1 | 1 | 1.49ms | 43.5ms | Markdent::Types::Internal::BEGIN@24 |
| 1 | 1 | 1 | 49µs | 49µs | Markdent::Types::Internal::BEGIN@2 |
| 1 | 1 | 1 | 42µs | 95µs | Markdent::Types::Internal::BEGIN@6 |
| 1 | 1 | 1 | 38µs | 106µs | Markdent::Types::Internal::BEGIN@7 |
| 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 49µs within Markdent::Types::Internal::BEGIN@2 which was called:
# once (49µs+0s) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 4 | ||||
| 3 | 1 | 29µs | $Markdent::Types::Internal::VERSION = '0.17'; | ||
| 4 | 1 | 78µs | 1 | 49µs | } # spent 49µs making 1 call to Markdent::Types::Internal::BEGIN@2 |
| 5 | |||||
| 6 | 3 | 133µs | 2 | 147µs | # spent 95µs (42+53) within Markdent::Types::Internal::BEGIN@6 which was called:
# once (42µs+53µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 6 # spent 95µs making 1 call to Markdent::Types::Internal::BEGIN@6
# spent 53µs making 1 call to strict::import |
| 7 | 3 | 107µs | 2 | 174µs | # spent 106µs (38+68) within Markdent::Types::Internal::BEGIN@7 which was called:
# once (38µs+68µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 7 # spent 106µs making 1 call to Markdent::Types::Internal::BEGIN@7
# spent 68µs making 1 call to warnings::import |
| 8 | |||||
| 9 | 3 | 691µs | 2 | 16.0ms | # spent 15.9ms (8.58+7.32) within Markdent::Types::Internal::BEGIN@9 which was called:
# once (8.58ms+7.32ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 9 # spent 15.9ms making 1 call to Markdent::Types::Internal::BEGIN@9
# spent 118µs making 1 call to Exporter::import |
| 10 | |||||
| 11 | 1 | 35.4ms | # spent 1.45s (4.42ms+1.44) within Markdent::Types::Internal::BEGIN@11 which was called:
# once (4.42ms+1.44s) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 22 # spent 35.4ms 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 | 3 | 657µs | 1 | 1.45s | ]; # spent 1.45s making 1 call to Markdent::Types::Internal::BEGIN@11 |
| 23 | |||||
| 24 | 3 | 2.43ms | 2 | 62.0ms | # spent 43.5ms (1.49+42.0) within Markdent::Types::Internal::BEGIN@24 which was called:
# once (1.49ms+42.0ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 24 # spent 43.5ms 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 582µs making 1 call to __TYPE__::Markdent::Types::Internal::HeaderLevel
# spent 290µs making 1 call to __TYPE__::Int
# spent 91µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 12µs making 1 call to Moose::Util::TypeConstraints::where
# spent 10µs making 1 call to Moose::Util::TypeConstraints::message |
| 30 | |||||
| 31 | subtype BlockParserClass, | ||||
| 32 | as ClassName, | ||||
| 33 | 1 | 103µs | 8 | 2.68ms | where { $_->can('does') && $_->does('Markdent::Role::BlockParser') }; # spent 1.81ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 428µs making 1 call to __TYPE__::Markdent::Types::Internal::BlockParserClass
# spent 332µs making 1 call to __TYPE__::ClassName
# spent 80µ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 13µs making 1 call to Moose::Util::TypeConstraints::where
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 34 | |||||
| 35 | subtype SpanParserClass, | ||||
| 36 | as ClassName, | ||||
| 37 | 1 | 97µs | 8 | 2.62ms | where { $_->can('does') && $_->does('Markdent::Role::SpanParser') }; # spent 1.87ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 365µs making 1 call to __TYPE__::Markdent::Types::Internal::SpanParserClass
# spent 275µs making 1 call to __TYPE__::ClassName
# spent 77µ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 | 99µs | 8 | 2.52ms | where { $_->can('does') && $_->does('Markdent::Role::Event') }; # spent 1.73ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 380µs making 1 call to __TYPE__::Markdent::Types::Internal::EventObject
# spent 283µs making 1 call to __TYPE__::Object
# spent 95µ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 | 107µs | 8 | 2.48ms | where { $_->can('does') && $_->does('Markdent::Role::Handler') }; # spent 1.73ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 344µs making 1 call to __TYPE__::Markdent::Types::Internal::HandlerObject
# spent 272µs making 1 call to __TYPE__::Object
# spent 100µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 16µ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 9µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 46 | |||||
| 47 | subtype NonEmptyArrayRef, | ||||
| 48 | as ArrayRef, | ||||
| 49 | 1 | 114µs | 8 | 2.85ms | where { @{$_} >= 1 }; # spent 2.09ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 352µs making 1 call to __TYPE__::Markdent::Types::Internal::NonEmptyArrayRef
# spent 291µs making 1 call to __TYPE__::ArrayRef
# spent 78µ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 13µ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 | 110µs | 9 | 2.44ms | message { 'The output stream must be a Perl file handle or an object with a print method' }; # spent 1.66ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 350µs making 1 call to __TYPE__::Markdent::Types::Internal::OutputStream
# spent 279µs making 1 call to __TYPE__::Any
# spent 101µ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 10µs making 1 call to Moose::Util::TypeConstraints::message
# spent 7µs making 1 call to MooseX::Types::UndefinedType::DESTROY |
| 58 | |||||
| 59 | 1 | 49µs | 5 | 2.37ms | enum TableCellAlignment, qw( left right center ); # spent 1.98ms making 1 call to MooseX::Types::CheckedUtilExports::enum
# spent 369µ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 | 169µs | 6 | 2.59ms | message {"The number provided ($_) is not a positive integer"}; # spent 1.87ms making 1 call to MooseX::Types::CheckedUtilExports::subtype
# spent 337µs making 1 call to __TYPE__::Markdent::Types::Internal::PosInt
# spent 286µs making 1 call to __TYPE__::Int
# spent 78µs making 1 call to MooseX::Types::CheckedUtilExports::as
# spent 13µs making 1 call to Moose::Util::TypeConstraints::where
# spent 11µs making 1 call to Moose::Util::TypeConstraints::message |
| 65 | |||||
| 66 | 1 | 153µs | 3 | 21µs | 1; # 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 |