Filename | /home/micha/.plenv/versions/5.38.2/lib/perl5/5.38.2/UNIVERSAL.pm |
Statements | Executed 21 statements in 57µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
67853 | 13 | 4 | 26.8ms | 26.8ms | isa (xsub) | UNIVERSAL::
67 | 10 | 6 | 73µs | 73µs | can (xsub) | UNIVERSAL::
12 | 12 | 8 | 61µs | 61µs | VERSION (xsub) | UNIVERSAL::
19 | 19 | 9 | 18µs | 18µs | import | UNIVERSAL::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package UNIVERSAL; | ||||
2 | |||||
3 | 1 | 300ns | our $VERSION = '1.15'; | ||
4 | |||||
5 | # UNIVERSAL should not contain any extra subs/methods beyond those | ||||
6 | # that it exists to define. The existence of import() below is a historical | ||||
7 | # accident that can't be fixed without breaking code. | ||||
8 | |||||
9 | # Make sure that even though the import method is called, it doesn't do | ||||
10 | # anything unless called on UNIVERSAL. | ||||
11 | # spent 18µs within UNIVERSAL::import which was called 19 times, avg 937ns/call:
# once (2µs+0s) by Spreadsheet::ParseXLSX::BEGIN@15 at line 15 of /home/micha/Projekt/spreadsheet-parsexlsx/lib/Spreadsheet/ParseXLSX.pm
# once (2µs+0s) by XML::Twig::_use at line 1323 of XML/Twig.pm
# once (1µs+0s) by XML::Twig::BEGIN@151 at line 151 of XML/Twig.pm
# once (1µs+0s) by main::BEGIN@7 at line 7 of /home/micha/Projekt/spreadsheet-parsexlsx/t/bug-md-11.t
# once (1µs+0s) by Crypt::Cipher::BEGIN@9 at line 9 of Crypt/Cipher.pm
# once (1µs+0s) by Spreadsheet::ParseXLSX::BEGIN@17 at line 17 of /home/micha/Projekt/spreadsheet-parsexlsx/lib/Spreadsheet/ParseXLSX.pm
# once (1µs+0s) by Spreadsheet::ParseXLSX::Decryptor::BEGIN@19 at line 19 of /home/micha/Projekt/spreadsheet-parsexlsx/lib/Spreadsheet/ParseXLSX/Decryptor.pm
# once (1µs+0s) by Spreadsheet::ParseXLSX::Decryptor::BEGIN@18 at line 18 of /home/micha/Projekt/spreadsheet-parsexlsx/lib/Spreadsheet/ParseXLSX/Decryptor.pm
# once (1µs+0s) by Crypt::Mode::CBC::BEGIN@9 at line 9 of Crypt/Mode/CBC.pm
# once (1µs+0s) by Spreadsheet::ParseXLSX::BEGIN@18 at line 18 of /home/micha/Projekt/spreadsheet-parsexlsx/lib/Spreadsheet/ParseXLSX.pm
# once (900ns+0s) by Spreadsheet::ParseXLSX::Decryptor::BEGIN@11 at line 11 of /home/micha/Projekt/spreadsheet-parsexlsx/lib/Spreadsheet/ParseXLSX/Decryptor.pm
# once (800ns+0s) by Spreadsheet::ParseXLSX::Decryptor::BEGIN@10 at line 10 of /home/micha/Projekt/spreadsheet-parsexlsx/lib/Spreadsheet/ParseXLSX/Decryptor.pm
# once (700ns+0s) by XML::Twig::BEGIN@30 at line 30 of XML/Twig.pm
# once (700ns+0s) by JSON::PP::BEGIN@12 at line 12 of JSON/PP.pm
# once (700ns+0s) by XML::Parser::Expat::BEGIN@7 at line 7 of XML/Parser/Expat.pm
# once (600ns+0s) by XML::Twig::BEGIN@148 at line 175 of XML/Twig.pm
# once (600ns+0s) by Crypt::Mode::ECB::BEGIN@9 at line 9 of Crypt/Mode/ECB.pm
# once (100ns+0s) by XML::Twig::BEGIN@148 at line 177 of XML/Twig.pm
# once (100ns+0s) by XML::Twig::BEGIN@148 at line 176 of XML/Twig.pm | ||||
12 | 19 | 55µs | return unless $_[0] eq __PACKAGE__; | ||
13 | return unless @_ > 1; | ||||
14 | require Carp; | ||||
15 | Carp::croak("UNIVERSAL does not export anything"); | ||||
16 | } | ||||
17 | |||||
18 | 1 | 2µs | 1; | ||
19 | __END__ | ||||
# spent 61µs within UNIVERSAL::VERSION which was called 12 times, avg 5µs/call:
# once (7µs+0s) by Spreadsheet::ParseXLSX::BEGIN@11 at line 11 of /home/micha/Projekt/spreadsheet-parsexlsx/lib/Spreadsheet/ParseXLSX.pm
# once (7µs+0s) by Test2::Util::BEGIN@11 at line 13 of Test2/Util.pm
# once (6µs+0s) by File::Temp::BEGIN@149 at line 149 of File/Temp.pm
# once (6µs+0s) by File::Temp::BEGIN@167 at line 167 of File/Temp.pm
# once (6µs+0s) by URI::Escape::BEGIN@147 at line 147 of URI/Escape.pm
# once (6µs+0s) by JSON::BEGIN@1 at line 1 of (eval 18)[JSON.pm:308]
# once (5µs+0s) by File::Temp::BEGIN@176 at line 176 of File/Temp.pm
# once (5µs+0s) by Encode::BEGIN@15 at line 15 of Encode.pm
# once (5µs+0s) by File::Temp::BEGIN@147 at line 147 of File/Temp.pm
# once (4µs+0s) by File::Temp::BEGIN@150 at line 150 of File/Temp.pm
# once (4µs+0s) by Test::Builder::BEGIN@15 at line 24 of Scalar/Util.pm
# once (2µs+0s) by JSON::Backend::PP::init at line 354 of JSON.pm | |||||
# spent 73µs within UNIVERSAL::can which was called 67 times, avg 1µs/call:
# 31 times (44µs+0s) by Test2::Util::HashBase::import at line 72 of Test2/Util/HashBase.pm, avg 1µs/call
# 8 times (6µs+0s) by Archive::Zip::_CAN at line 335 of Archive/Zip.pm, avg 775ns/call
# 7 times (5µs+0s) by Archive::Zip::Member::rewindData at line 1201 of Archive/Zip/Member.pm, avg 771ns/call
# 7 times (5µs+0s) by Archive::Zip::Member::rewindData at line 1232 of Archive/Zip/Member.pm, avg 743ns/call
# 7 times (5µs+0s) by Test2::Util::HashBase::_new at line 153 of Test2/Util/HashBase.pm, avg 671ns/call
# 2 times (2µs+0s) by Test::Builder::use_numbers at line 1222 of Test/Builder.pm, avg 1µs/call
# 2 times (2µs+0s) by Test2::API::Instance::BEGIN@53 at line 55 of Test2/API/Instance.pm, avg 1µs/call
# once (2µs+0s) by Test2::API::Instance::_finalize at line 193 of Test2/API/Instance.pm
# once (900ns+0s) by Test::Builder::Formatter::BEGIN@11 at line 12 of Test/Builder/Formatter.pm
# once (500ns+0s) by Test::Builder::Formatter::BEGIN@11 at line 13 of Test/Builder/Formatter.pm | |||||
# spent 26.8ms within UNIVERSAL::isa which was called 67853 times, avg 395ns/call:
# 67768 times (26.7ms+0s) by XML::Twig::Elt::in at line 6590 of XML/Twig.pm, avg 395ns/call
# 16 times (26µs+0s) by XML::Twig::get_xpath at line 3686 of XML/Twig.pm, avg 2µs/call
# 14 times (4µs+0s) by XML::Twig::Elt::set_output_filter at line 8353 of XML/Twig.pm, avg 271ns/call
# 14 times (1µs+0s) by XML::Twig::Elt::set_output_text_filter at line 8371 of XML/Twig.pm, avg 100ns/call
# 10 times (6µs+0s) by XML::Twig::setTwigRoots at line 1937 of XML/Twig.pm, avg 600ns/call
# 7 times (12µs+0s) by XML::Twig::_twig_final at line 2727 of XML/Twig.pm, avg 2µs/call
# 7 times (4µs+0s) by XML::Twig::parse at line 760 of XML/Twig.pm, avg 643ns/call
# 6 times (4µs+0s) by XML::Twig::DESTROY at line 3963 of XML/Twig.pm, avg 600ns/call
# 4 times (6µs+0s) by base::import at line 96 of base.pm, avg 2µs/call
# 4 times (3µs+0s) by Archive::Zip::_ISA at line 330 of Archive/Zip.pm, avg 750ns/call
# once (800ns+0s) by XML::Twig::Elt::next_elt at line 6419 of XML/Twig.pm
# once (600ns+0s) by Test::Builder::reset at line 470 of Test/Builder.pm
# once (400ns+0s) by Test::Builder::reset_outputs at line 1412 of Test/Builder.pm |