Filename | /usr/share/perl/5.10/vars.pm |
Statements | Executed 3591 statements in 16.5ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
212 | 212 | 160 | 11.7ms | 14.8ms | import | vars::
2049 | 3 | 1 | 3.09ms | 3.09ms | CORE:match (opcode) | vars::
1 | 1 | 1 | 394µs | 534µs | BEGIN@7 | vars::
1 | 1 | 1 | 46µs | 46µs | BEGIN@3 | vars::
1 | 1 | 1 | 12µs | 35µs | BEGIN@8 | vars::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package vars; | ||||
2 | |||||
3 | 3 | 91µs | 1 | 46µs | # spent 46µs within vars::BEGIN@3 which was called:
# once (46µs+0s) by C4::Context::BEGIN@21 at line 3 # spent 46µs making 1 call to vars::BEGIN@3 |
4 | |||||
5 | 1 | 1µs | our $VERSION = '1.01'; | ||
6 | |||||
7 | 3 | 426µs | 2 | 674µs | # spent 534µs (394+140) within vars::BEGIN@7 which was called:
# once (394µs+140µs) by C4::Context::BEGIN@21 at line 7 # spent 534µs making 1 call to vars::BEGIN@7
# spent 140µs making 1 call to warnings::register::import |
8 | 3 | 493µs | 2 | 59µs | # spent 35µs (12+23) within vars::BEGIN@8 which was called:
# once (12µs+23µs) by C4::Context::BEGIN@21 at line 8 # spent 35µs making 1 call to vars::BEGIN@8
# spent 24µs making 1 call to strict::import |
9 | |||||
10 | # spent 14.8ms (11.7+3.09) within vars::import which was called 212 times, avg 70µs/call:
# once (228µs+53µs) by Template::Config::BEGIN@24 at line 24 of Template/Config.pm
# once (184µs+50µs) by Set::Infinite::BEGIN@24 at line 24 of Set/Infinite.pm
# once (182µs+47µs) by Params::Validate::BEGIN@7 at line 7 of Params/Validate.pm
# once (158µs+67µs) by Params::Check::BEGIN@12 at line 12 of Params/Check.pm
# once (177µs+40µs) by YAML::Syck::BEGIN@5 at line 5 of YAML/Syck.pm
# once (165µs+43µs) by XML::LibXML::BEGIN@14 at line 14 of XML/LibXML.pm
# once (156µs+37µs) by C4::Context::BEGIN@21 at line 21 of /usr/share/koha/lib/C4/Context.pm
# once (124µs+65µs) by C4::Utils::BEGIN@26 at line 26 of /usr/share/koha/lib/C4/Utils.pm
# once (150µs+38µs) by Convert::ASN1::BEGIN@11 at line 11 of Convert/ASN1.pm
# once (146µs+33µs) by Convert::ASN1::parser::BEGIN@11 at line 11 of Convert/ASN1/parser.pm
# once (142µs+36µs) by version::BEGIN@7 at line 7 of version.pm
# once (133µs+38µs) by DateTime::TimeZone::Catalog::BEGIN@12 at line 12 of DateTime/TimeZone/Catalog.pm
# once (128µs+31µs) by POSIX::SigRt::BEGIN@66 at line 66 of POSIX.pm
# once (128µs+28µs) by C4::Reserves::BEGIN@44 at line 44 of /usr/share/koha/lib/C4/Reserves.pm
# once (123µs+34µs) by XML::LibXML::Error::BEGIN@12 at line 12 of XML/LibXML/Error.pm
# once (122µs+33µs) by XML::Simple::BEGIN@51 at line 51 of XML/Simple.pm
# once (113µs+32µs) by C4::Letters::BEGIN@37 at line 37 of /usr/share/koha/lib/C4/Letters.pm
# once (113µs+29µs) by Mail::Sendmail::BEGIN@39 at line 39 of Mail/Sendmail.pm
# once (109µs+29µs) by C4::Debug::BEGIN@26 at line 26 of /usr/share/koha/lib/C4/Debug.pm
# once (117µs+18µs) by C4::Languages::BEGIN@26 at line 26 of /usr/share/koha/lib/C4/Languages.pm
# once (105µs+25µs) by Set::Infinite::Arithmetic::BEGIN@37 at line 37 of Set/Infinite/Arithmetic.pm
# once (96µs+27µs) by Business::ISBN::BEGIN@69 at line 69 of Business/ISBN.pm
# once (99µs+23µs) by C4::Auth::BEGIN@37 at line 37 of /usr/share/koha/lib/C4/Auth.pm
# once (99µs+23µs) by MIME::Lite::BEGIN@333 at line 333 of MIME/Lite.pm
# once (90µs+29µs) by Date::Manip::Zones::BEGIN@23 at line 23 of Date/Manip/Zones.pm
# once (92µs+27µs) by Net::LDAP::BEGIN@11 at line 11 of Net/LDAP.pm
# once (92µs+25µs) by Cwd::BEGIN@5 at line 5 of Cwd.pm
# once (93µs+23µs) by Module::Load::Conditional::BEGIN@17 at line 17 of Module/Load/Conditional.pm
# once (92µs+23µs) by Math::BigInt::BEGIN@28 at line 28 of Math/BigInt.pm
# once (88µs+22µs) by XML::LibXSLT::BEGIN@12 at line 12 of XML/LibXSLT.pm
# once (87µs+22µs) by Text::Unaccent::BEGIN@21 at line 21 of Text/Unaccent.pm
# once (85µs+25µs) by DateTime::TimeZone::Floating::BEGIN@5 at line 5 of DateTime/TimeZone/Floating.pm
# once (88µs+18µs) by Time::Local::BEGIN@9 at line 9 of Time/Local.pm
# once (67µs+37µs) by Sys::Hostname::Long::BEGIN@12 at line 12 of Sys/Hostname/Long.pm
# once (88µs+16µs) by URI::Escape::BEGIN@142 at line 142 of URI/Escape.pm
# once (80µs+24µs) by URI::Split::BEGIN@5 at line 5 of URI/Split.pm
# once (79µs+24µs) by IO::Select::BEGIN@11 at line 11 of IO/Select.pm
# once (82µs+19µs) by C4::Auth_with_cas::BEGIN@31 at line 31 of /usr/share/koha/lib/C4/Auth_with_cas.pm
# once (82µs+20µs) by DBI::Const::GetInfoType::BEGIN@16 at line 16 of DBI/Const/GetInfoType.pm
# once (75µs+26µs) by C4::Branch::BEGIN@24 at line 24 of /usr/share/koha/lib/C4/Branch.pm
# once (79µs+21µs) by C4::Auth_with_ldap::BEGIN@34 at line 34 of /usr/share/koha/lib/C4/Auth_with_ldap.pm
# once (76µs+24µs) by C4::Search::BEGIN@40 at line 40 of /usr/share/koha/lib/C4/Search.pm
# once (77µs+21µs) by C4::Charset::BEGIN@28 at line 28 of /usr/share/koha/lib/C4/Charset.pm
# once (77µs+19µs) by XML::LibXML::Common::BEGIN@22 at line 22 of XML/LibXML/Common.pm
# once (76µs+20µs) by Set::Infinite::Arithmetic::BEGIN@31 at line 31 of Set/Infinite/Arithmetic.pm
# once (77µs+18µs) by Set::Infinite::Basic::BEGIN@14 at line 14 of Set/Infinite/Basic.pm
# once (77µs+18µs) by LWP::Simple::BEGIN@4 at line 4 of LWP/Simple.pm
# once (70µs+24µs) by CGI::Util::BEGIN@4 at line 4 of CGI/Util.pm
# once (75µs+19µs) by Math::BigInt::FastCalc::BEGIN@10 at line 10 of Math/BigInt/FastCalc.pm
# once (73µs+20µs) by Date::Calc::BEGIN@16 at line 16 of Date/Calc.pm
# once (76µs+17µs) by Readonly::BEGIN@178 at line 178 of Readonly.pm
# once (72µs+19µs) by C4::Output::BEGIN@38 at line 38 of /usr/share/koha/lib/C4/Output.pm
# once (68µs+22µs) by Scalar::Util::BEGIN@10 at line 10 of Scalar/Util.pm
# once (73µs+17µs) by DBD::mysql::BEGIN@5 at line 5 of DBD/mysql.pm
# once (72µs+17µs) by C4::Ratings::BEGIN@29 at line 29 of /usr/share/koha/lib/C4/Ratings.pm
# once (72µs+15µs) by Template::Constants::BEGIN@28 at line 28 of Template/Constants.pm
# once (71µs+16µs) by C4::Tags::BEGIN@32 at line 32 of /usr/share/koha/lib/C4/Tags.pm
# once (69µs+18µs) by Date::Manip::BEGIN@63 at line 63 of Date/Manip.pm
# once (62µs+21µs) by constant::BEGIN@6 at line 6 of constant.pm
# once (68µs+16µs) by C4::Circulation::BEGIN@60 at line 60 of /usr/share/koha/lib/C4/Circulation.pm
# once (70µs+13µs) by Time::Zone::BEGIN@47 at line 47 of Time/Zone.pm
# once (67µs+15µs) by C4::ClassSource::BEGIN@27 at line 27 of /usr/share/koha/lib/C4/ClassSource.pm
# once (67µs+13µs) by C4::VirtualShelves::BEGIN@32 at line 32 of /usr/share/koha/lib/C4/VirtualShelves.pm
# once (66µs+13µs) by B::Deparse::BEGIN@27 at line 27 of B/Deparse.pm
# once (63µs+15µs) by C4::Members::Attributes::BEGIN@27 at line 27 of /usr/share/koha/lib/C4/Members/Attributes.pm
# once (61µs+16µs) by List::MoreUtils::BEGIN@10 at line 10 of List/MoreUtils.pm
# once (63µs+14µs) by DateTime::Format::Builder::Parser::Regex::BEGIN@69 at line 69 of DateTime/Format/Builder/Parser/Regex.pm
# once (62µs+16µs) by C4::Dates::BEGIN@30 at line 30 of /usr/share/koha/lib/C4/Dates.pm
# once (61µs+16µs) by C4::ClassSortRoutine::BEGIN@27 at line 27 of /usr/share/koha/lib/C4/ClassSortRoutine.pm
# once (61µs+15µs) by C4::Koha::BEGIN@33 at line 33 of /usr/share/koha/lib/C4/Koha.pm
# once (61µs+14µs) by C4::Auth_with_ldap::BEGIN@54 at line 54 of /usr/share/koha/lib/C4/Auth_with_ldap.pm
# once (56µs+17µs) by XML::LibXSLT::StylesheetWrapper::BEGIN@310 at line 310 of XML/LibXSLT.pm
# once (59µs+14µs) by XML::SAX::BEGIN@6 at line 6 of XML/SAX.pm
# once (52µs+21µs) by HTTP::Date::BEGIN@14 at line 14 of HTTP/Date.pm
# once (58µs+15µs) by HTTP::Status::BEGIN@6 at line 6 of HTTP/Status.pm
# once (57µs+15µs) by List::Util::BEGIN@12 at line 12 of List/Util.pm
# once (56µs+16µs) by XML::LibXML::Literal::BEGIN@15 at line 15 of XML/LibXML/Literal.pm
# once (57µs+13µs) by Date::Parse::BEGIN@207 at line 207 of Date/Parse.pm
# once (57µs+13µs) by Set::Infinite::Basic::BEGIN@13 at line 13 of Set/Infinite/Basic.pm
# once (56µs+13µs) by File::Path::BEGIN@19 at line 19 of File/Path.pm
# once (57µs+13µs) by Storable::BEGIN@24 at line 24 of Storable.pm
# once (56µs+13µs) by Business::ISBN10::BEGIN@18 at line 18 of Business/ISBN10.pm
# once (56µs+13µs) by C4::Log::BEGIN@30 at line 30 of /usr/share/koha/lib/C4/Log.pm
# once (56µs+12µs) by C4::NewsChannels::BEGIN@26 at line 26 of /usr/share/koha/lib/C4/NewsChannels.pm
# once (56µs+11µs) by C4::Overdues::BEGIN@32 at line 32 of /usr/share/koha/lib/C4/Overdues.pm
# once (54µs+13µs) by Time::Zone::BEGIN@149 at line 148 of Time/Zone.pm
# once (54µs+12µs) by Digest::MD5::BEGIN@4 at line 4 of Digest/MD5.pm
# once (54µs+12µs) by Set::Infinite::_recurrence::BEGIN@12 at line 12 of Set/Infinite/_recurrence.pm
# once (55µs+11µs) by C4::Items::BEGIN@36 at line 36 of /usr/share/koha/lib/C4/Items.pm
# once (53µs+13µs) by Text::Iconv::BEGIN@6 at line 6 of Text/Iconv.pm
# once (51µs+15µs) by XML::LibXML::BEGIN@35 at line 35 of XML/LibXML.pm
# once (50µs+15µs) by XML::LibXML::Document::BEGIN@1359 at line 1359 of XML/LibXML.pm
# once (52µs+13µs) by URI::BEGIN@13 at line 13 of URI.pm
# once (48µs+17µs) by DateTime::TimeZone::Local::BEGIN@6 at line 6 of DateTime/TimeZone/Local.pm
# once (50µs+13µs) by XML::LibXML::InputCallback::BEGIN@2077 at line 2077 of XML/LibXML.pm
# once (51µs+12µs) by C4::Accounts::BEGIN@31 at line 31 of /usr/share/koha/lib/C4/Accounts.pm
# once (52µs+10µs) by Algorithm::CheckDigits::BEGIN@8 at line 8 of Algorithm/CheckDigits.pm
# once (48µs+13µs) by XML::SAX::Exception::BEGIN@8 at line 8 of XML/SAX/Exception.pm
# once (49µs+11µs) by C4::OAI::Sets::BEGIN@35 at line 35 of /usr/share/koha/lib/C4/OAI/Sets.pm
# once (47µs+14µs) by XML::LibXML::XPathContext::BEGIN@13 at line 13 of XML/LibXML/XPathContext.pm
# once (44µs+15µs) by Readonly::XS::BEGIN@20 at line 20 of Readonly/XS.pm
# once (44µs+15µs) by Set::Infinite::Arithmetic::BEGIN@13 at line 13 of Set/Infinite/Arithmetic.pm
# once (48µs+11µs) by C4::Stats::BEGIN@26 at line 26 of /usr/share/koha/lib/C4/Stats.pm
# once (47µs+12µs) by C4::SQLHelper::BEGIN@28 at line 28 of /usr/share/koha/lib/C4/SQLHelper.pm
# once (39µs+18µs) by HTTP::Headers::BEGIN@6 at line 6 of HTTP/Headers.pm
# once (43µs+15µs) by base::BEGIN@4 at line 4 of base.pm
# once (44µs+12µs) by Lingua::Stem::AutoLoader::BEGIN@44 at line 44 of Lingua/Stem/AutoLoader.pm
# once (45µs+10µs) by Template::Constants::BEGIN@27 at line 27 of Template/Constants.pm
# once (46µs+9µs) by MARC::File::BEGIN@12 at line 12 of MARC/File.pm
# once (44µs+11µs) by Text::CSV::BEGIN@6 at line 6 of Text/CSV.pm
# once (43µs+12µs) by LWP::UserAgent::BEGIN@4 at line 4 of LWP/UserAgent.pm
# once (44µs+10µs) by XML::LibXML::SAX::Parser::BEGIN@13 at line 13 of XML/LibXML/SAX/Parser.pm
# once (43µs+11µs) by MIME::QuotedPrint::BEGIN@4 at line 4 of MIME/QuotedPrint.pm
# once (40µs+13µs) by File::Spec::BEGIN@4 at line 4 of File/Spec.pm
# once (41µs+12µs) by DateTime::Format::Builder::BEGIN@17 at line 17 of DateTime/Format/Builder.pm
# once (43µs+10µs) by C4::XSLT::BEGIN@38 at line 38 of /usr/share/koha/lib/C4/XSLT.pm
# once (43µs+9µs) by C4::Budgets::BEGIN@27 at line 27 of /usr/share/koha/lib/C4/Budgets.pm
# once (42µs+10µs) by C4::Biblio::BEGIN@41 at line 41 of /usr/share/koha/lib/C4/Biblio.pm
# once (41µs+10µs) by MARC::Record::BEGIN@27 at line 27 of MARC/Record.pm
# once (37µs+14µs) by Date::Manip::Obj::BEGIN@18 at line 18 of Date/Manip/Obj.pm
# once (41µs+10µs) by Date::Manip::TZ::etgmt00::BEGIN@34 at line 34 of Date/Manip/TZ/etgmt00.pm
# once (38µs+10µs) by DateTime::TimeZone::UTC::BEGIN@5 at line 5 of DateTime/TimeZone/UTC.pm
# once (38µs+10µs) by XML::LibXML::Text::BEGIN@1663 at line 1663 of XML/LibXML.pm
# once (39µs+9µs) by Readonly::BEGIN@42 at line 42 of Readonly.pm
# once (38µs+10µs) by Date::Parse::BEGIN@9 at line 9 of Date/Parse.pm
# once (37µs+10µs) by MIME::Base64::BEGIN@4 at line 4 of MIME/Base64.pm
# once (37µs+10µs) by URI::BEGIN@7 at line 7 of URI.pm
# once (34µs+12µs) by MARC::File::XML::BEGIN@5 at line 5 of MARC/File/XML.pm
# once (37µs+9µs) by MARC::Record::BEGIN@23 at line 23 of MARC/Record.pm
# once (35µs+11µs) by XML::LibXML::Number::BEGIN@15 at line 15 of XML/LibXML/Number.pm
# once (37µs+9µs) by Date::Manip::BEGIN@9 at line 9 of Date/Manip.pm
# once (37µs+8µs) by Lingua::Stem::Sv::BEGIN@130 at line 130 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (30µs+16µs) by Net::LDAP::Message::BEGIN@10 at line 10 of Net/LDAP/Message.pm
# once (38µs+8µs) by Date::Manip::Lang::english::BEGIN@32 at line 32 of Date/Manip/Lang/english.pm
# once (35µs+9µs) by Business::ISBN::BEGIN@73.12 at line 73 of Business/ISBN/Data.pm
# once (36µs+8µs) by MIME::Types::BEGIN@137 at line 137 of MIME/Types.pm
# once (33µs+11µs) by HTTP::Config::BEGIN@5 at line 5 of HTTP/Config.pm
# once (33µs+11µs) by HTTP::Message::BEGIN@4 at line 4 of HTTP/Message.pm
# once (31µs+13µs) by Readonly::BEGIN@39 at line 39 of Readonly.pm
# once (31µs+12µs) by C4::Members::BEGIN@891 at line 891 of /usr/share/koha/lib/C4/Members.pm
# once (35µs+8µs) by Date::Manip::Lang::index::BEGIN@27 at line 27 of Date/Manip/Lang/index.pm
# once (33µs+9µs) by XML::SAX::Base::BEGIN@29 at line 29 of XML/SAX/Base.pm
# once (34µs+8µs) by DateTime::TimeZone::OffsetOnly::BEGIN@5 at line 5 of DateTime/TimeZone/OffsetOnly.pm
# once (32µs+9µs) by XML::LibXSLT::Security::BEGIN@506 at line 506 of XML/LibXSLT.pm
# once (34µs+7µs) by Date::Manip::Recur::BEGIN@25 at line 25 of Date/Manip/Recur.pm
# once (31µs+10µs) by Text::CSV_XS::BEGIN@32 at line 32 of Text/CSV_XS.pm
# once (32µs+8µs) by DateTime::Format::Builder::Parser::Strptime::BEGIN@28 at line 28 of DateTime/Format/Builder/Parser/Strptime.pm
# once (32µs+8µs) by DateTime::Format::Builder::Parser::Dispatch::BEGIN@3 at line 3 of DateTime/Format/Builder/Parser/Dispatch.pm
# once (32µs+8µs) by C4::Members::AttributeTypes::BEGIN@24 at line 24 of /usr/share/koha/lib/C4/Members/AttributeTypes.pm
# once (30µs+10µs) by Net::LDAP::Filter::BEGIN@8 at line 8 of Net/LDAP/Filter.pm
# once (29µs+10µs) by MIME::Lite::SMTP::BEGIN@3095 at line 3095 of MIME/Lite.pm
# once (31µs+7µs) by Date::Manip::Zones::BEGIN@20 at line 20 of Date/Manip/Zones.pm
# once (28µs+10µs) by Date::Manip::Delta::BEGIN@24 at line 24 of Date/Manip/Delta.pm
# once (32µs+7µs) by Class::Factory::Util::BEGIN@4 at line 4 of Class/Factory/Util.pm
# once (31µs+7µs) by C4::ClassSortRoutine::LCC::BEGIN@25 at line 25 of /usr/share/koha/lib/C4/ClassSortRoutine/LCC.pm
# once (29µs+8µs) by DateTime::Format::Builder::Parser::Quick::BEGIN@3 at line 3 of DateTime/Format/Builder/Parser/Quick.pm
# once (30µs+7µs) by URI::BEGIN@4 at line 4 of URI.pm
# once (28µs+7µs) by Business::ISBN13::BEGIN@18 at line 18 of Business/ISBN13.pm
# once (27µs+8µs) by C4::ClassSortRoutine::Generic::BEGIN@23 at line 23 of /usr/share/koha/lib/C4/ClassSortRoutine/Generic.pm
# once (29µs+6µs) by Date::Manip::Lang::index::BEGIN@30 at line 30 of Date/Manip/Lang/index.pm
# once (28µs+6µs) by Net::LDAP::Message::Dummy::BEGIN@251 at line 251 of Net/LDAP/Message.pm
# once (27µs+7µs) by Date::Manip::Lang::english::BEGIN@29 at line 29 of Date/Manip/Lang/english.pm
# once (27µs+6µs) by Lingua::Stem::Da::BEGIN@50 at line 50 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (26µs+7µs) by Date::Manip::Date::BEGIN@28 at line 28 of Date/Manip/Date.pm
# once (26µs+6µs) by Memoize::BEGIN@29 at line 29 of Memoize.pm
# once (28µs+5µs) by XML::LibXML::DocumentFragment::BEGIN@1455 at line 1455 of XML/LibXML.pm
# once (26µs+6µs) by Time::Zone::BEGIN@59 at line 59 of Time/Zone.pm
# once (24µs+7µs) by DateTime::Span::BEGIN@13 at line 13 of DateTime/Span.pm
# once (25µs+6µs) by Mail::Sendmail::BEGIN@183 at line 183 of Mail/Sendmail.pm
# once (22µs+8µs) by XML::LibXML::Boolean::BEGIN@16 at line 16 of XML/LibXML/Boolean.pm
# once (23µs+7µs) by MARC::File::USMARC::BEGIN@12 at line 12 of MARC/File/USMARC.pm
# once (24µs+6µs) by MARC::File::USMARC::BEGIN@16 at line 16 of MARC/File/USMARC.pm
# once (24µs+5µs) by XML::LibXML::Comment::BEGIN@1716 at line 1716 of XML/LibXML.pm
# once (23µs+6µs) by DateTime::Set::BEGIN@13 at line 13 of DateTime/Set.pm
# once (23µs+6µs) by Date::Manip::TZ::etgmt00::BEGIN@36 at line 36 of Date/Manip/TZ/etgmt00.pm
# once (22µs+6µs) by Lingua::Stem::EnBroken::BEGIN@146 at line 146 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (22µs+6µs) by C4::Dates::BEGIN@31 at line 31 of /usr/share/koha/lib/C4/Dates.pm
# once (24µs+4µs) by XML::LibXML::Attr::BEGIN@1732 at line 1732 of XML/LibXML.pm
# once (22µs+6µs) by Lingua::Stem::Fr::BEGIN@34 at line 34 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (22µs+6µs) by XML::LibXML::NodeList::BEGIN@16 at line 16 of XML/LibXML/NodeList.pm
# once (21µs+7µs) by Date::Manip::Base::BEGIN@25 at line 25 of Date/Manip/Base.pm
# once (21µs+6µs) by DateTime::Format::Builder::Parser::BEGIN@3 at line 3 of DateTime/Format/Builder/Parser.pm
# once (22µs+5µs) by XML::LibXML::Dtd::BEGIN@1754 at line 1754 of XML/LibXML.pm
# once (22µs+5µs) by XML::LibXML::Element::BEGIN@1478 at line 1478 of XML/LibXML.pm
# once (20µs+6µs) by MIME::Types::BEGIN@7 at line 7 of MIME/Types.pm
# once (21µs+5µs) by Lingua::Stem::De::BEGIN@2 at line 2 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (19µs+6µs) by C4::Members::Messaging::BEGIN@24 at line 24 of /usr/share/koha/lib/C4/Members/Messaging.pm
# once (20µs+5µs) by Lingua::Stem::Gl::BEGIN@66 at line 66 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (20µs+5µs) by MIME::Type::BEGIN@6 at line 6 of MIME/Type.pm
# once (18µs+8µs) by C4::Dates::BEGIN@39 at line 39 of /usr/share/koha/lib/C4/Dates.pm
# once (20µs+6µs) by Business::ISBN::Data::BEGIN@4 at line 4 of Business/ISBN/Data.pm
# once (20µs+5µs) by DateTime::Format::Builder::Parser::generic::BEGIN@3 at line 3 of DateTime/Format/Builder/Parser/generic.pm
# once (19µs+6µs) by DateTime::Format::MySQL::BEGIN@5 at line 5 of DateTime/Format/MySQL.pm
# once (20µs+6µs) by File::Spec::Unix::BEGIN@4 at line 4 of File/Spec/Unix.pm
# once (20µs+5µs) by MARC::Record::BEGIN@12 at line 12 of MARC/Record.pm
# once (19µs+6µs) by XML::SAX::ParserFactory::BEGIN@6 at line 6 of XML/SAX/ParserFactory.pm
# once (19µs+6µs) by C4::ClassSortRoutine::Dewey::BEGIN@23 at line 23 of /usr/share/koha/lib/C4/ClassSortRoutine/Dewey.pm
# once (19µs+6µs) by C4::SMS::BEGIN@40 at line 40 of /usr/share/koha/lib/C4/SMS.pm
# once (19µs+6µs) by Date::Manip::BEGIN@58 at line 58 of Date/Manip.pm
# once (19µs+5µs) by DateTime::Format::DateParse::BEGIN@9 at line 9 of DateTime/Format/DateParse.pm
# once (20µs+5µs) by Lingua::Stem::En::BEGIN@18 at line 18 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (19µs+5µs) by Lingua::Stem::Pt::BEGIN@114 at line 114 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (20µs+4µs) by Lingua::Stem::It::BEGIN@82 at line 82 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (19µs+5µs) by Date::Manip::TZ::BEGIN@26 at line 26 of Date/Manip/TZ.pm
# once (19µs+5µs) by Lingua::Stem::No::BEGIN@98 at line 98 of (eval 1024)[Lingua/Stem/AutoLoader.pm:88]
# once (20µs+4µs) by MARC::Record::BEGIN@32 at line 32 of MARC/Record.pm
# once (19µs+4µs) by XML::LibXML::PI::BEGIN@1765 at line 1765 of XML/LibXML.pm
# once (19µs+4µs) by XML::LibXML::CDATASection::BEGIN@1723 at line 1723 of XML/LibXML.pm
# once (18µs+5µs) by Digest::base::BEGIN@4 at line 4 of Digest/base.pm
# once (18µs+5µs) by DateTime::SpanSet::BEGIN@14 at line 14 of DateTime/SpanSet.pm
# once (18µs+4µs) by MARC::Field::BEGIN@10 at line 10 of MARC/Field.pm
# once (18µs+4µs) by URI::Escape::BEGIN@143 at line 143 of URI/Escape.pm | ||||
11 | 212 | 302µs | my $callpack = caller; | ||
12 | 212 | 524µs | my ($pack, @imports) = @_; | ||
13 | 212 | 135µs | my ($sym, $ch); | ||
14 | 212 | 1.57ms | foreach (@imports) { | ||
15 | 683 | 5.43ms | 683 | 2.02ms | if (($ch, $sym) = /^([\$\@\%\*\&])(.+)/) { # spent 2.02ms making 683 calls to vars::CORE:match, avg 3µs/call |
16 | 683 | 1.69ms | 683 | 564µs | if ($sym =~ /\W/) { # spent 564µs making 683 calls to vars::CORE:match, avg 825ns/call |
17 | # time for a more-detailed check-up | ||||
18 | if ($sym =~ /^\w+[[{].*[]}]$/) { | ||||
19 | require Carp; | ||||
20 | Carp::croak("Can't declare individual elements of hash or array"); | ||||
21 | } elsif (warnings::enabled() and length($sym) == 1 and $sym !~ tr/a-zA-Z//) { | ||||
22 | warnings::warn("No need to declare built-in vars"); | ||||
23 | } elsif (($^H &= strict::bits('vars'))) { | ||||
24 | require Carp; | ||||
25 | Carp::croak("'$_' is not a valid variable name under strict vars"); | ||||
26 | } | ||||
27 | } | ||||
28 | 683 | 1.92ms | 683 | 510µs | $sym = "${callpack}::$sym" unless $sym =~ /::/; # spent 510µs making 683 calls to vars::CORE:match, avg 747ns/call |
29 | *$sym = | ||||
30 | ( $ch eq "\$" ? \$$sym | ||||
31 | : $ch eq "\@" ? \@$sym | ||||
32 | : $ch eq "\%" ? \%$sym | ||||
33 | : $ch eq "\*" ? \*$sym | ||||
34 | : $ch eq "\&" ? \&$sym | ||||
35 | 683 | 3.87ms | : do { | ||
36 | require Carp; | ||||
37 | Carp::croak("'$_' is not a valid variable name"); | ||||
38 | }); | ||||
39 | } else { | ||||
40 | require Carp; | ||||
41 | Carp::croak("'$_' is not a valid variable name"); | ||||
42 | } | ||||
43 | } | ||||
44 | }; | ||||
45 | |||||
46 | 1 | 5µs | 1; | ||
47 | __END__ | ||||
sub vars::CORE:match; # opcode |