| Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPIx/Regexp/Util.pm |
| Statements | Executed 15 statements in 199µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 14µs | 14µs | PPIx::Regexp::Util::BEGIN@3 |
| 1 | 1 | 1 | 10µs | 64µs | PPIx::Regexp::Util::BEGIN@11 |
| 1 | 1 | 1 | 7µs | 35µs | PPIx::Regexp::Util::BEGIN@8 |
| 1 | 1 | 1 | 7µs | 11µs | PPIx::Regexp::Util::BEGIN@6 |
| 1 | 1 | 1 | 7µs | 18µs | PPIx::Regexp::Util::BEGIN@5 |
| 1 | 1 | 1 | 6µs | 25µs | PPIx::Regexp::Util::BEGIN@9 |
| 0 | 0 | 0 | 0s | 0s | PPIx::Regexp::Util::__instance |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package PPIx::Regexp::Util; | ||||
| 2 | |||||
| 3 | 2 | 41µs | 1 | 14µs | # spent 14µs within PPIx::Regexp::Util::BEGIN@3 which was called:
# once (14µs+0s) by PPIx::Regexp::Element::BEGIN@40 at line 3 # spent 14µs making 1 call to PPIx::Regexp::Util::BEGIN@3 |
| 4 | |||||
| 5 | 2 | 22µs | 2 | 28µs | # spent 18µs (7+11) within PPIx::Regexp::Util::BEGIN@5 which was called:
# once (7µs+11µs) by PPIx::Regexp::Element::BEGIN@40 at line 5 # spent 18µs making 1 call to PPIx::Regexp::Util::BEGIN@5
# spent 11µs making 1 call to strict::import |
| 6 | 2 | 18µs | 2 | 16µs | # spent 11µs (7+4) within PPIx::Regexp::Util::BEGIN@6 which was called:
# once (7µs+4µs) by PPIx::Regexp::Element::BEGIN@40 at line 6 # spent 11µs making 1 call to PPIx::Regexp::Util::BEGIN@6
# spent 4µs making 1 call to warnings::import |
| 7 | |||||
| 8 | 2 | 20µs | 2 | 63µs | # spent 35µs (7+28) within PPIx::Regexp::Util::BEGIN@8 which was called:
# once (7µs+28µs) by PPIx::Regexp::Element::BEGIN@40 at line 8 # spent 35µs making 1 call to PPIx::Regexp::Util::BEGIN@8
# spent 28µs making 1 call to Exporter::import |
| 9 | 2 | 24µs | 2 | 44µs | # spent 25µs (6+19) within PPIx::Regexp::Util::BEGIN@9 which was called:
# once (6µs+19µs) by PPIx::Regexp::Element::BEGIN@40 at line 9 # spent 25µs making 1 call to PPIx::Regexp::Util::BEGIN@9
# spent 19µs making 1 call to Exporter::import |
| 10 | |||||
| 11 | 2 | 72µs | 2 | 64µs | # spent 64µs (10+54) within PPIx::Regexp::Util::BEGIN@11 which was called:
# once (10µs+54µs) by PPIx::Regexp::Element::BEGIN@40 at line 11 # spent 64µs making 1 call to PPIx::Regexp::Util::BEGIN@11
# spent 54µs making 1 call to base::import, recursion: max depth 2, sum of overlapping time 54µs |
| 12 | |||||
| 13 | 1 | 900ns | our @EXPORT_OK = qw{ __instance }; | ||
| 14 | |||||
| 15 | 1 | 200ns | our $VERSION = '0.036'; | ||
| 16 | |||||
| 17 | sub __instance { | ||||
| 18 | my ( $object, $class ) = @_; | ||||
| 19 | blessed( $object ) or return; | ||||
| 20 | return $object->isa( $class ); | ||||
| 21 | } | ||||
| 22 | |||||
| 23 | 1 | 3µs | 1; | ||
| 24 | |||||
| 25 | __END__ |