Filename | /usr/share/perl5/YAML/Loader/Base.pm |
Statements | Executed 93 statements in 825µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
32 | 1 | 1 | 204µs | 204µs | set_global_options | YAML::Loader::Base::
1 | 1 | 1 | 24µs | 29µs | BEGIN@3 | YAML::Loader::Base::
1 | 1 | 1 | 21µs | 85µs | BEGIN@5 | YAML::Loader::Base::
1 | 1 | 1 | 14µs | 31µ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 | 40µs | 2 | 34µs | # spent 29µs (24+5) within YAML::Loader::Base::BEGIN@3 which was called:
# once (24µs+5µs) by YAML::Loader::BEGIN@6 at line 3 # spent 29µs making 1 call to YAML::Loader::Base::BEGIN@3
# spent 5µs making 1 call to strict::import |
4 | 3 | 48µs | 2 | 48µs | # spent 31µs (14+17) within YAML::Loader::Base::BEGIN@4 which was called:
# once (14µs+17µs) by YAML::Loader::BEGIN@6 at line 4 # spent 31µs making 1 call to YAML::Loader::Base::BEGIN@4
# spent 17µs making 1 call to warnings::import |
5 | 3 | 426µs | 2 | 149µs | # spent 85µs (21+64) within YAML::Loader::Base::BEGIN@5 which was called:
# once (21µs+64µs) by YAML::Loader::BEGIN@6 at line 5 # spent 85µs making 1 call to YAML::Loader::Base::BEGIN@5
# spent 64µs making 1 call to Exporter::import |
6 | |||||
7 | 1 | 2µs | our $VERSION = '0.71'; | ||
8 | 1 | 35µs | our @ISA = 'YAML::Base'; | ||
9 | |||||
10 | 1 | 4µs | 1 | 445µs | field load_code => 0; # spent 445µs making 1 call to YAML::Base::field |
11 | 1 | 3µs | 1 | 185µs | field stream => ''; # spent 185µs making 1 call to YAML::Base::field |
12 | 1 | 2µs | 1 | 175µs | field document => 0; # spent 175µs making 1 call to YAML::Base::field |
13 | 1 | 2µs | 1 | 296µs | field line => 0; # spent 296µs making 1 call to YAML::Base::field |
14 | 1 | 4µs | 1 | 123µs | field documents => []; # spent 123µs making 1 call to YAML::Base::field |
15 | 1 | 3µs | 1 | 111µs | field lines => []; # spent 111µs making 1 call to YAML::Base::field |
16 | 1 | 2µs | 1 | 216µs | field eos => 0; # spent 216µs making 1 call to YAML::Base::field |
17 | 1 | 3µs | 1 | 242µs | field done => 0; # spent 242µs making 1 call to YAML::Base::field |
18 | 1 | 3µs | 1 | 121µs | field anchor2node => {}; # spent 121µs making 1 call to YAML::Base::field |
19 | 1 | 3µs | 1 | 177µs | field level => 0; # spent 177µs making 1 call to YAML::Base::field |
20 | 1 | 3µs | 1 | 162µs | field offset => []; # spent 162µs making 1 call to YAML::Base::field |
21 | 1 | 3µs | 1 | 178µs | field preface => ''; # spent 178µs making 1 call to YAML::Base::field |
22 | 1 | 3µs | 1 | 185µs | field content => ''; # spent 185µs making 1 call to YAML::Base::field |
23 | 1 | 3µs | 1 | 177µs | field indent => 0; # spent 177µs making 1 call to YAML::Base::field |
24 | 1 | 3µs | 1 | 172µs | field major_version => 0; # spent 172µs making 1 call to YAML::Base::field |
25 | 1 | 2µs | 1 | 175µs | field minor_version => 0; # spent 175µs making 1 call to YAML::Base::field |
26 | 1 | 2µs | 1 | 173µs | field inline => ''; # spent 173µs making 1 call to YAML::Base::field |
27 | |||||
28 | # spent 204µs within YAML::Loader::Base::set_global_options which was called 32 times, avg 6µs/call:
# 32 times (204µs+0s) by YAML::init_action_object at line 88 of YAML.pm, avg 6µs/call | ||||
29 | 64 | 210µs | my $self = shift; | ||
30 | $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 | 16µs | 1; | ||
39 | |||||
40 | __END__ |