Filename | /usr/share/perl5/YAML/Tag.pm |
Statements | Executed 11 statements in 211µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 79µs | 83µs | BEGIN@3 | YAML::Tag::
1 | 1 | 1 | 16µs | 61µs | BEGIN@8 | YAML::Tag::
1 | 1 | 1 | 11µs | 25µ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 | 33µs | 2 | 86µs | # spent 83µs (79+4) within YAML::Tag::BEGIN@3 which was called:
# once (79µs+4µs) by YAML::Node::BEGIN@7 at line 3 # spent 83µs making 1 call to YAML::Tag::BEGIN@3
# spent 4µs making 1 call to strict::import |
4 | 3 | 66µs | 2 | 38µs | # spent 25µs (11+13) within YAML::Tag::BEGIN@4 which was called:
# once (11µs+13µs) by YAML::Node::BEGIN@7 at line 4 # spent 25µs making 1 call to YAML::Tag::BEGIN@4
# spent 13µs making 1 call to warnings::import |
5 | |||||
6 | 1 | 700ns | our $VERSION = '0.71'; | ||
7 | |||||
8 | 3 | 108µs | 2 | 106µs | # spent 61µs (16+45) within YAML::Tag::BEGIN@8 which was called:
# once (16µs+45µs) by YAML::Node::BEGIN@7 at line 8 # spent 61µs making 1 call to YAML::Tag::BEGIN@8
# spent 45µ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__ |