Filename | /usr/share/perl5/YAML/Tag.pm |
Statements | Executed 11 statements in 207µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 19µs | 91µs | BEGIN@8 | YAML::Tag::
1 | 1 | 1 | 19µs | 23µs | BEGIN@3 | YAML::Tag::
1 | 1 | 1 | 15µs | 27µs | BEGIN@4 | YAML::Tag::
0 | 0 | 0 | 0s | 0s | __ANON__[:8] | YAML::Tag::
0 | 0 | 0 | 0s | 0s | canonical | YAML::Tag::
0 | 0 | 0 | 0s | 0s | new | YAML::Tag::
0 | 0 | 0 | 0s | 0s | short | YAML::Tag::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package YAML::Tag; | ||||
2 | |||||
3 | 3 | 27µs | 2 | 26µs | # spent 23µs (19+4) within YAML::Tag::BEGIN@3 which was called:
# once (19µs+4µs) by YAML::Node::BEGIN@7 at line 3 # spent 23µs making 1 call to YAML::Tag::BEGIN@3
# spent 4µs making 1 call to strict::import |
4 | 3 | 64µs | 2 | 38µs | # spent 27µs (15+12) within YAML::Tag::BEGIN@4 which was called:
# once (15µs+12µs) by YAML::Node::BEGIN@7 at line 4 # spent 27µs making 1 call to YAML::Tag::BEGIN@4
# spent 12µs making 1 call to warnings::import |
5 | |||||
6 | 1 | 700ns | our $VERSION = '0.71'; | ||
7 | |||||
8 | 3 | 112µs | 2 | 163µs | # spent 91µs (19+72) within YAML::Tag::BEGIN@8 which was called:
# once (19µs+72µs) by YAML::Node::BEGIN@7 at line 8 # spent 91µs making 1 call to YAML::Tag::BEGIN@8
# spent 72µs making 1 call to overload::import |
9 | |||||
10 | sub new { | ||||
11 | my ($class, $self) = @_; | ||||
12 | bless \$self, $class | ||||
13 | } | ||||
14 | |||||
15 | sub short { | ||||
16 | ${$_[0]} | ||||
17 | } | ||||
18 | |||||
19 | sub canonical { | ||||
20 | ${$_[0]} | ||||
21 | } | ||||
22 | |||||
23 | 1 | 3µs | 1; | ||
24 | |||||
25 | __END__ |