| Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/YAML/Tag.pm |
| Statements | Executed 11 statements in 136µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 11µs | 49µs | YAML::Tag::BEGIN@7 |
| 1 | 1 | 1 | 11µs | 13µs | YAML::Node::BEGIN@1 |
| 1 | 1 | 1 | 6µs | 13µs | YAML::Node::BEGIN@2 |
| 0 | 0 | 0 | 0s | 0s | YAML::Tag::__ANON__[:7] |
| 0 | 0 | 0 | 0s | 0s | YAML::Tag::canonical |
| 0 | 0 | 0 | 0s | 0s | YAML::Tag::new |
| 0 | 0 | 0 | 0s | 0s | YAML::Tag::short |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 3 | 19µs | 2 | 15µs | # spent 13µs (11+2) within YAML::Node::BEGIN@1 which was called:
# once (11µs+2µs) by YAML::Node::BEGIN@7 at line 1 # spent 13µs making 1 call to YAML::Node::BEGIN@1
# spent 2µs making 1 call to strict::import |
| 2 | 3 | 46µs | 2 | 20µs | # spent 13µs (6+7) within YAML::Node::BEGIN@2 which was called:
# once (6µs+7µs) by YAML::Node::BEGIN@7 at line 2 # spent 13µs making 1 call to YAML::Node::BEGIN@2
# spent 7µs making 1 call to warnings::import |
| 3 | package YAML::Tag; | ||||
| 4 | |||||
| 5 | 1 | 400ns | our $VERSION = '0.81'; | ||
| 6 | |||||
| 7 | 3 | 68µs | 2 | 86µs | # spent 49µs (11+37) within YAML::Tag::BEGIN@7 which was called:
# once (11µs+37µs) by YAML::Node::BEGIN@7 at line 7 # spent 49µs making 1 call to YAML::Tag::BEGIN@7
# spent 37µs making 1 call to overload::import |
| 8 | |||||
| 9 | sub new { | ||||
| 10 | my ($class, $self) = @_; | ||||
| 11 | bless \$self, $class | ||||
| 12 | } | ||||
| 13 | |||||
| 14 | sub short { | ||||
| 15 | ${$_[0]} | ||||
| 16 | } | ||||
| 17 | |||||
| 18 | sub canonical { | ||||
| 19 | ${$_[0]} | ||||
| 20 | } | ||||
| 21 | |||||
| 22 | 1 | 2µs | 1; | ||
| 23 | |||||
| 24 | __END__ |