Filename | /usr/share/perl5/YAML/Loader/Base.pm |
Statements | Executed 93 statements in 798µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
32 | 1 | 1 | 161µs | 161µs | set_global_options | YAML::Loader::Base::
1 | 1 | 1 | 28µs | 34µs | BEGIN@3 | YAML::Loader::Base::
1 | 1 | 1 | 17µs | 87µs | BEGIN@5 | YAML::Loader::Base::
1 | 1 | 1 | 16µs | 36µs | BEGIN@4 | YAML::Loader::Base::
0 | 0 | 0 | 0s | 0s | load | YAML::Loader::Base::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package YAML::Loader::Base; | ||||
2 | |||||
3 | 3 | 43µs | 2 | 40µs | # spent 34µs (28+6) within YAML::Loader::Base::BEGIN@3 which was called:
# once (28µs+6µs) by YAML::Loader::BEGIN@6 at line 3 # spent 34µs making 1 call to YAML::Loader::Base::BEGIN@3
# spent 6µs making 1 call to strict::import |
4 | 3 | 45µs | 2 | 57µs | # spent 36µs (16+20) within YAML::Loader::Base::BEGIN@4 which was called:
# once (16µs+20µs) by YAML::Loader::BEGIN@6 at line 4 # spent 36µs making 1 call to YAML::Loader::Base::BEGIN@4
# spent 20µs making 1 call to warnings::import |
5 | 3 | 399µs | 2 | 156µs | # spent 87µs (17+70) within YAML::Loader::Base::BEGIN@5 which was called:
# once (17µs+70µs) by YAML::Loader::BEGIN@6 at line 5 # spent 87µs making 1 call to YAML::Loader::Base::BEGIN@5
# spent 70µs making 1 call to Exporter::import |
6 | |||||
7 | 1 | 2µs | our $VERSION = '0.71'; | ||
8 | 1 | 20µs | our @ISA = 'YAML::Base'; | ||
9 | |||||
10 | 1 | 5µs | 1 | 420µs | field load_code => 0; # spent 420µs making 1 call to YAML::Base::field |
11 | 1 | 4µs | 1 | 300µs | field stream => ''; # spent 300µs making 1 call to YAML::Base::field |
12 | 1 | 4µs | 1 | 204µs | field document => 0; # spent 204µs making 1 call to YAML::Base::field |
13 | 1 | 9µs | 1 | 274µs | field line => 0; # spent 274µs making 1 call to YAML::Base::field |
14 | 1 | 3µs | 1 | 113µs | field documents => []; # spent 113µs making 1 call to YAML::Base::field |
15 | 1 | 2µs | 1 | 107µs | field lines => []; # spent 107µs making 1 call to YAML::Base::field |
16 | 1 | 2µs | 1 | 268µs | field eos => 0; # spent 268µs making 1 call to YAML::Base::field |
17 | 1 | 5µs | 1 | 284µs | field done => 0; # spent 284µs making 1 call to YAML::Base::field |
18 | 1 | 5µs | 1 | 263µs | field anchor2node => {}; # spent 263µs making 1 call to YAML::Base::field |
19 | 1 | 6µs | 1 | 373µs | field level => 0; # spent 373µs making 1 call to YAML::Base::field |
20 | 1 | 7µs | 1 | 236µs | field offset => []; # spent 236µs making 1 call to YAML::Base::field |
21 | 1 | 4µs | 1 | 298µs | field preface => ''; # spent 298µs making 1 call to YAML::Base::field |
22 | 1 | 4µs | 1 | 331µs | field content => ''; # spent 331µs making 1 call to YAML::Base::field |
23 | 1 | 4µs | 1 | 354µs | field indent => 0; # spent 354µs making 1 call to YAML::Base::field |
24 | 1 | 5µs | 1 | 310µs | field major_version => 0; # spent 310µs making 1 call to YAML::Base::field |
25 | 1 | 4µs | 1 | 312µs | field minor_version => 0; # spent 312µs making 1 call to YAML::Base::field |
26 | 1 | 4µs | 1 | 307µs | field inline => ''; # spent 307µs making 1 call to YAML::Base::field |
27 | |||||
28 | # spent 161µs within YAML::Loader::Base::set_global_options which was called 32 times, avg 5µs/call:
# 32 times (161µs+0s) by YAML::init_action_object at line 88 of YAML.pm, avg 5µs/call | ||||
29 | 32 | 26µs | my $self = shift; | ||
30 | 32 | 161µs | $self->load_code($YAML::LoadCode || $YAML::UseCode) | ||
31 | if defined $YAML::LoadCode or defined $YAML::UseCode; | ||||
32 | } | ||||
33 | |||||
34 | sub load { | ||||
35 | die 'load() not implemented in this class.'; | ||||
36 | } | ||||
37 | |||||
38 | 1 | 25µs | 1; | ||
39 | |||||
40 | __END__ |