← Index
NYTProf Performance Profile   « line view »
For /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage
  Run on Mon Jan 29 16:55:34 2018
Reported on Mon Jan 29 16:57:06 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/strict.pm
StatementsExecuted 1693 statements in 2.29ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
262226212461µs471µsstrict::::importstrict::import
10132454µs454µsstrict::::bitsstrict::bits
11011063433µs868µsstrict::::unimportstrict::unimport
11124µs24µsstrict::::CORE:regcompstrict::CORE:regcomp (opcode)
11122µs22µsstrict::::BEGIN@14strict::BEGIN@14
1114µs4µsstrict::::CORE:matchstrict::CORE:match (opcode)
0000s0sstrict::::__ANON__[:31]strict::__ANON__[:31]
0000s0sstrict::::__ANON__[:37]strict::__ANON__[:37]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package strict;
2
31300ns$strict::VERSION = "1.09";
4
5# Verify that we're called correctly so that strictures will work.
6135µs227µsunless ( __FILE__ =~ /(^|[\/\\])\Q${\__PACKAGE__}\E\.pmc?$/ ) {
# spent 24µs making 1 call to strict::CORE:regcomp # spent 4µs making 1 call to strict::CORE:match
7 # Can't use Carp, since Carp uses us!
8 my (undef, $f, $l) = caller;
9 die("Incorrect use of pragma '${\__PACKAGE__}' at $f line $l.\n");
10}
11
121200nsmy ( %bitmask, %explicit_bitmask );
13
14
# spent 22µs within strict::BEGIN@14 which was called: # once (22µs+0s) by main::BEGIN@6 at line 38
BEGIN {
1512µs %bitmask = (
16 refs => 0x00000002,
17 subs => 0x00000200,
18 vars => 0x00000400,
19 );
20
211600ns %explicit_bitmask = (
22 refs => 0x00000020,
23 subs => 0x00000040,
24 vars => 0x00000080,
25 );
26
271300ns my $bits = 0;
2812µs $bits |= $_ for values %bitmask;
29
301100ns my $inline_all_bits = $bits;
3116µs *all_bits = sub () { $inline_all_bits };
32
331100ns $bits = 0;
341800ns $bits |= $_ for values %explicit_bitmask;
35
3610s my $inline_all_explicit_bits = $bits;
3715µs *all_explicit_bits = sub () { $inline_all_explicit_bits };
381130µs122µs}
# spent 22µs making 1 call to strict::BEGIN@14
39
40
# spent 454µs within strict::bits which was called 101 times, avg 4µs/call: # 96 times (436µs+0s) by strict::unimport at line 69, avg 5µs/call # 3 times (8µs+0s) by YAML::XS::BEGIN@57 at line 996 of B/Deparse.pm, avg 3µs/call # 2 times (10µs+0s) by strict::import at line 62, avg 5µs/call
sub bits {
4110134µs my $bits = 0;
4210120µs my @wrong;
4310174µs foreach my $s (@_) {
4410292µs if (exists $bitmask{$s}) {
4510283µs $^H |= $explicit_bitmask{$s};
46
4710237µs $bits |= $bitmask{$s};
48 }
49 else {
50 push @wrong, $s;
51 }
52 }
5310133µs if (@wrong) {
54 require Carp;
55 Carp::croak("Unknown 'strict' tag(s) '@wrong'");
56 }
57101237µs $bits;
58}
59
60
# spent 471µs (461+10) within strict::import which was called 262 times, avg 2µs/call: # 13 times (20µs+0s) by Moo::_strictures::import at line 13 of Moo/_strictures.pm, avg 2µs/call # 12 times (20µs+0s) by Moo::import at line 25 of Moo.pm, avg 2µs/call # 12 times (19µs+0s) by Moo::Role::import at line 36 of Moo/Role.pm, avg 2µs/call # 2 times (4µs+0s) by Moose::Util::TypeConstraints::import or Moose::import at line 474 of Moose/Exporter.pm, avg 2µs/call # 2 times (3µs+0s) by Moose::Exporter::import at line 791 of Moose/Exporter.pm, avg 2µs/call # once (11µs+0s) by Class::XSAccessor::BEGIN@3 at line 3 of Class/XSAccessor.pm # once (5µs+6µs) by base::BEGIN@4 at line 4 of base.pm # once (8µs+0s) by Config::BEGIN@9 at line 9 of Config.pm # once (3µs+4µs) by vars::BEGIN@8 at line 8 of vars.pm # once (5µs+0s) by Moose::Meta::TypeConstraint::Union::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint/Union.pm # once (5µs+0s) by Time::HiRes::BEGIN@4 at line 4 of Time/HiRes.pm # once (4µs+0s) by Sereal::Decoder::BEGIN@3 at line 3 of Sereal/Decoder.pm # once (4µs+0s) by IO::Socket::INET::BEGIN@9 at line 9 of IO/Socket/INET.pm # once (4µs+0s) by Moose::Meta::TypeCoercion::Union::BEGIN@4 at line 4 of Moose/Meta/TypeCoercion/Union.pm # once (4µs+0s) by Moose::Meta::TypeConstraint::Role::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint/Role.pm # once (3µs+0s) by Moose::Util::MetaRole::BEGIN@4 at line 4 of Moose/Util/MetaRole.pm # once (3µs+0s) by DBD::_::common::BEGIN@1368 at line 1368 of DBI.pm # once (3µs+0s) by Moose::Meta::TypeConstraint::Class::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint/Class.pm # once (3µs+0s) by Moose::Meta::Instance::BEGIN@4 at line 4 of Moose/Meta/Instance.pm # once (3µs+0s) by Moose::Util::TypeConstraints::Builtins::BEGIN@4 at line 4 of Moose/Util/TypeConstraints/Builtins.pm # once (3µs+0s) by BenchmarkAnything::Storage::Search::Elasticsearch::BEGIN@8 at line 8 of BenchmarkAnything/Storage/Search/Elasticsearch.pm # once (3µs+0s) by Moose::Meta::TypeConstraint::Parameterized::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint/Parameterized.pm # once (3µs+0s) by Encode::Config::BEGIN@7 at line 7 of Encode/Config.pm # once (3µs+0s) by main::BEGIN@2 at line 2 of BenchmarkAnything/Storage/Frontend/Lib.pm # once (3µs+0s) by File::HomeDir::FreeDesktop::BEGIN@9 at line 9 of File/HomeDir/FreeDesktop.pm # once (3µs+0s) by List::MoreUtils::BEGIN@4 at line 4 of List/MoreUtils.pm # once (3µs+0s) by Class::MOP::Mixin::AttributeCore::BEGIN@4 at line 4 of Class/MOP/Mixin/AttributeCore.pm # once (3µs+0s) by Module::Implementation::BEGIN@5 at line 5 of Module/Implementation.pm # once (3µs+0s) by Class::MOP::Attribute::BEGIN@4 at line 4 of Class/MOP/Attribute.pm # once (3µs+0s) by Moose::Meta::Role::Application::BEGIN@4 at line 4 of Moose/Meta/Role/Application.pm # once (3µs+0s) by Data::OptList::BEGIN@1 at line 1 of Sub/Install.pm # once (3µs+0s) by Class::MOP::Deprecated::BEGIN@4 at line 4 of Class/MOP/Deprecated.pm # once (3µs+0s) by BenchmarkAnything::Storage::Frontend::Lib::BEGIN@2 at line 2 of BenchmarkAnything/Config.pm # once (3µs+0s) by Getopt::Long::BEGIN@17 at line 17 of Getopt/Long.pm # once (3µs+0s) by Moose::Meta::Mixin::AttributeCore::BEGIN@4 at line 4 of Moose/Meta/Mixin/AttributeCore.pm # once (3µs+0s) by IO::Select::BEGIN@9 at line 9 of IO/Select.pm # once (3µs+0s) by IO::Uncompress::Adapter::Inflate::BEGIN@3 at line 3 of IO/Uncompress/Adapter/Inflate.pm # once (3µs+0s) by Class::MOP::Method::Generated::BEGIN@4 at line 4 of Class/MOP/Method/Generated.pm # once (2µs+0s) by Moose::Meta::Role::Composite::BEGIN@4 at line 4 of Moose/Meta/Role/Composite.pm # once (2µs+0s) by Class::Load::XS::BEGIN@5 at line 5 of Class/Load/XS.pm # once (2µs+0s) by Data::UUID::BEGIN@3 at line 3 of Data/UUID.pm # once (2µs+0s) by main::BEGIN@6 at line 6 of /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage # once (2µs+0s) by Moose::Meta::Role::BEGIN@4 at line 4 of Moose/Meta/Role.pm # once (2µs+0s) by Package::Stash::BEGIN@6 at line 6 of Package/Stash.pm # once (2µs+0s) by Moose::Meta::TypeConstraint::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint.pm # once (2µs+0s) by List::MoreUtils::XS::BEGIN@4 at line 4 of List/MoreUtils/XS.pm # once (2µs+0s) by constant::BEGIN@3 at line 3 of constant.pm # once (2µs+0s) by DBIx::MultiStatementDo::BEGIN@1 at line 1 of Moose.pm # once (2µs+0s) by re::BEGIN@4 at line 4 of re.pm # once (2µs+0s) by Sub::Name::BEGIN@53 at line 53 of Sub/Name.pm # once (2µs+0s) by BenchmarkAnything::Config::BEGIN@1 at line 1 of YAML/Any.pm # once (2µs+0s) by Class::MOP::Method::Constructor::BEGIN@4 at line 4 of Class/MOP/Method/Constructor.pm # once (2µs+0s) by Moose::Meta::Method::Accessor::BEGIN@4 at line 4 of Moose/Meta/Method/Accessor.pm # once (2µs+0s) by Moose::BEGIN@1 at line 1 of Class/Load.pm # once (2µs+0s) by Moose::Meta::TypeCoercion::BEGIN@4 at line 4 of Moose/Meta/TypeCoercion.pm # once (2µs+0s) by Encode::Encoding::BEGIN@4 at line 4 of Encode/Encoding.pm # once (2µs+0s) by CHI::BEGIN@1 at line 1 of String/RewritePrefix.pm # once (2µs+0s) by Package::DeprecationManager::BEGIN@3 at line 3 of Package/DeprecationManager.pm # once (2µs+0s) by Moose::Meta::TypeConstraint::Enum::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint/Enum.pm # once (2µs+0s) by File::Which::BEGIN@3 at line 3 of File/Which.pm # once (2µs+0s) by Moose::Meta::Role::Application::RoleSummation::BEGIN@4 at line 4 of Moose/Meta/Role/Application/RoleSummation.pm # once (2µs+0s) by IO::Socket::IP::BEGIN@13 at line 13 of IO/Socket/IP.pm # once (2µs+0s) by DBD::_::st::BEGIN@1851 at line 1851 of DBI.pm # once (2µs+0s) by Moose::Exporter::BEGIN@4 at line 4 of Moose/Exporter.pm # once (2µs+0s) by Carp::BEGIN@4 at line 4 of Carp.pm # once (2µs+0s) by Class::MOP::Class::Immutable::Trait::BEGIN@4 at line 4 of Class/MOP/Class/Immutable/Trait.pm # once (2µs+0s) by Class::Load::BEGIN@1.23 at line 1 of Data/OptList.pm # once (2µs+0s) by Encode::Alias::BEGIN@2 at line 2 of Encode/Alias.pm # once (2µs+0s) by DBI::BEGIN@294 at line 294 of DBI.pm # once (2µs+0s) by Devel::OverloadInfo::BEGIN@14 at line 14 of Devel/OverloadInfo.pm # once (2µs+0s) by Class::MOP::Mixin::HasMethods::BEGIN@4 at line 4 of Class/MOP/Mixin/HasMethods.pm # once (2µs+0s) by Class::MOP::MiniTrait::BEGIN@4 at line 4 of Class/MOP/MiniTrait.pm # once (2µs+0s) by Class::MOP::Mixin::HasOverloads::BEGIN@4 at line 4 of Class/MOP/Mixin/HasOverloads.pm # once (2µs+0s) by Class::MOP::Method::Accessor::BEGIN@4 at line 4 of Class/MOP/Method/Accessor.pm # once (2µs+0s) by URI::http::BEGIN@3 at line 3 of URI/http.pm # once (2µs+0s) by Moose::Meta::TypeConstraint::Parameterizable::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint/Parameterizable.pm # once (2µs+0s) by IO::Uncompress::Inflate::BEGIN@4 at line 4 of IO/Uncompress/Inflate.pm # once (2µs+0s) by JSON::MaybeXS::BEGIN@3 at line 3 of JSON/MaybeXS.pm # once (2µs+0s) by IO::Compress::Zlib::Constants::BEGIN@4 at line 4 of IO/Compress/Zlib/Constants.pm # once (2µs+0s) by Encode::BEGIN@5 at line 5 of Encode.pm # once (2µs+0s) by DBD::_::dr::BEGIN@1468 at line 1468 of DBI.pm # once (2µs+0s) by Moose::Meta::Role::Application::ToInstance::BEGIN@4 at line 4 of Moose/Meta/Role/Application/ToInstance.pm # once (2µs+0s) by File::Spec::Functions::BEGIN@4 at line 4 of File/Spec/Functions.pm # once (2µs+0s) by IO::Compress::Adapter::Deflate::BEGIN@3 at line 3 of IO/Compress/Adapter/Deflate.pm # once (2µs+0s) by IO::Uncompress::Gunzip::BEGIN@8 at line 8 of IO/Uncompress/Gunzip.pm # once (2µs+0s) by Moose::Meta::Class::Immutable::Trait::BEGIN@4 at line 4 of Moose/Meta/Class/Immutable/Trait.pm # once (2µs+0s) by Class::MOP::Class::BEGIN@4 at line 4 of Class/MOP/Class.pm # once (2µs+0s) by Moo::Role::BEGIN@1 at line 1 of Class/Method/Modifiers.pm # once (2µs+0s) by Moose::Deprecated::BEGIN@4 at line 4 of Moose/Deprecated.pm # once (2µs+0s) by IO::Compress::Base::Common::BEGIN@520 at line 520 of IO/Compress/Base/Common.pm # once (2µs+0s) by List::MoreUtils::PP::BEGIN@4 at line 4 of List/MoreUtils/PP.pm # once (2µs+0s) by DBD::mysql::db::BEGIN@204 at line 204 of DBD/mysql.pm # once (2µs+0s) by DBI::_firesafe::BEGIN@3 at line 3 of DBD/mysql.pm # once (2µs+0s) by Moose::Meta::Role::Method::BEGIN@4 at line 4 of Moose/Meta/Role/Method.pm # once (2µs+0s) by Fcntl::BEGIN@58 at line 58 of Fcntl.pm # once (2µs+0s) by IO::Socket::UNIX::BEGIN@9 at line 9 of IO/Socket/UNIX.pm # once (2µs+0s) by Class::MOP::Module::BEGIN@4 at line 4 of Class/MOP/Module.pm # once (2µs+0s) by Moose::Meta::TypeCoercion::BEGIN@1 at line 1 of Moose/Meta/Attribute.pm # once (2µs+0s) by IO::Compress::Deflate::BEGIN@5 at line 5 of IO/Compress/Deflate.pm # once (2µs+0s) by Log::Any::Manager::BEGIN@2 at line 2 of Log/Any/Adapter/Null.pm # once (2µs+0s) by Moose::Meta::Method::Augmented::BEGIN@4 at line 4 of Moose/Meta/Method/Augmented.pm # once (2µs+0s) by Log::Any::BEGIN@2.32 at line 2 of Log/Any/Adapter/Util.pm # once (2µs+0s) by Moose::Meta::Method::Meta::BEGIN@4 at line 4 of Moose/Meta/Method/Meta.pm # once (2µs+0s) by Socket::BEGIN@3 at line 3 of Socket.pm # once (2µs+0s) by Moose::Meta::Method::Constructor::BEGIN@4 at line 4 of Moose/Meta/Method/Constructor.pm # once (2µs+0s) by Module::Load::BEGIN@5 at line 5 of Module/Load.pm # once (2µs+0s) by Moose::Meta::Role::Application::ToClass::BEGIN@4 at line 4 of Moose/Meta/Role/Application/ToClass.pm # once (2µs+0s) by Moose::Meta::Method::Delegation::BEGIN@4 at line 4 of Moose/Meta/Method/Delegation.pm # once (2µs+0s) by Class::MOP::Mixin::HasAttributes::BEGIN@4 at line 4 of Class/MOP/Mixin/HasAttributes.pm # once (2µs+0s) by Regexp::Common::BEGIN@4 at line 4 of Regexp/Common.pm # once (2µs+0s) by List::Util::BEGIN@9 at line 9 of List/Util.pm # once (2µs+0s) by attributes::BEGIN@9 at line 9 of attributes.pm # once (2µs+0s) by Class::MOP::Method::Wrapped::BEGIN@4 at line 4 of Class/MOP/Method/Wrapped.pm # once (2µs+0s) by Class::Accessor::Fast::BEGIN@3 at line 3 of Class/Accessor/Fast.pm # once (2µs+0s) by Moose::Meta::Role::Attribute::BEGIN@4 at line 4 of Moose/Meta/Role/Attribute.pm # once (1µs+0s) by DBD::mysql::dr::BEGIN@117 at line 117 of DBD/mysql.pm # once (1µs+0s) by Class::MOP::Method::BEGIN@4 at line 4 of Class/MOP/Method.pm # once (1µs+0s) by Moose::Meta::Method::Destructor::BEGIN@4 at line 4 of Moose/Meta/Method/Destructor.pm # once (1µs+0s) by Time::Duration::Parse::BEGIN@4 at line 4 of Time/Duration/Parse.pm # once (1µs+0s) by Role::Tiny::BEGIN@6 at line 6 of Role/Tiny.pm # once (1µs+0s) by Moose::Meta::Role::Application::ToRole::BEGIN@4 at line 4 of Moose/Meta/Role/Application/ToRole.pm # once (1µs+0s) by BenchmarkAnything::Storage::Backend::SQL::Query::mysql::BEGIN@5 at line 5 of BenchmarkAnything/Storage/Backend/SQL/Query/mysql.pm # once (1µs+0s) by IO::Uncompress::Base::BEGIN@4 at line 4 of IO/Uncompress/Base.pm # once (1µs+0s) by mro::BEGIN@10 at line 10 of mro.pm # once (1µs+0s) by Package::Stash::XS::BEGIN@8 at line 8 of Package/Stash/XS.pm # once (1µs+0s) by DBI::Const::GetInfoType::BEGIN@12 at line 12 of DBI/Const/GetInfoType.pm # once (1µs+0s) by Any::URI::Escape::BEGIN@3 at line 3 of Any/URI/Escape.pm # once (1µs+0s) by POSIX::BEGIN@2 at line 2 of POSIX.pm # once (1µs+0s) by IO::Compress::Gzip::Constants::BEGIN@3 at line 3 of IO/Compress/Gzip/Constants.pm # once (1µs+0s) by URI::BEGIN@3 at line 3 of URI.pm # once (1µs+0s) by Moose::BEGIN@1.25 at line 1 of Moose/Meta/Attribute/Native.pm # once (1µs+0s) by Moose::Object::BEGIN@4 at line 4 of Moose/Object.pm # once (1µs+0s) by Moose::Meta::TypeConstraint::DuckType::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint/DuckType.pm # once (1µs+0s) by IO::File::BEGIN@128 at line 128 of IO/File.pm # once (1µs+0s) by Moose::Meta::Role::Method::Conflicting::BEGIN@4 at line 4 of Moose/Meta/Role/Method/Conflicting.pm # once (1µs+0s) by Sub::Util::BEGIN@7 at line 7 of Sub/Util.pm # once (1µs+0s) by B::Deparse::BEGIN@50 at line 50 of B/Deparse.pm # once (1µs+0s) by Moose::Util::BEGIN@4 at line 4 of Moose/Util.pm # once (1µs+0s) by Moo::_strictures::BEGIN@2 at line 2 of Moo/_strictures.pm # once (1µs+0s) by Digest::base::BEGIN@3 at line 3 of Digest/base.pm # once (1µs+0s) by IO::Handle::BEGIN@264 at line 264 of IO/Handle.pm # once (1µs+0s) by YAML::Any::BEGIN@1 at line 1 of YAML/XS.pm # once (1µs+0s) by Moose::Meta::TypeConstraint::Registry::BEGIN@4 at line 4 of Moose/Meta/TypeConstraint/Registry.pm # once (1µs+0s) by IO::Compress::Zlib::Extra::BEGIN@5 at line 5 of IO/Compress/Zlib/Extra.pm # once (1µs+0s) by CHI::Stats::BEGIN@2 at line 2 of Log/Any.pm # once (1µs+0s) by IO::Compress::Gzip::BEGIN@5 at line 5 of IO/Compress/Gzip.pm # once (1µs+0s) by B::Hooks::EndOfScope::XS::BEGIN@4 at line 4 of B/Hooks/EndOfScope/XS.pm # once (1µs+0s) by DBD::mysql::st::BEGIN@854 at line 854 of DBD/mysql.pm # once (1µs+0s) by File::Spec::Unix::BEGIN@3 at line 3 of File/Spec/Unix.pm # once (1µs+0s) by YAML::XS::LibYAML::BEGIN@3 at line 3 of YAML/XS/LibYAML.pm # once (1µs+0s) by CHI::BEGIN@9 at line 9 of CHI.pm # once (1µs+0s) by Class::MOP::Object::BEGIN@4 at line 4 of Class/MOP/Object.pm # once (1µs+0s) by Class::MOP::Mixin::BEGIN@4 at line 4 of Class/MOP/Mixin.pm # once (1µs+0s) by CHI::Util::BEGIN@12 at line 12 of CHI/Util.pm # once (1µs+0s) by DBD::_::db::BEGIN@1533 at line 1533 of DBI.pm # once (1µs+0s) by File::Glob::BEGIN@3 at line 3 of File/Glob.pm # once (1µs+0s) by Search::Elasticsearch::Logger::LogAny::BEGIN@2 at line 2 of Log/Any/Adapter.pm # once (1µs+0s) by Scalar::Util::BEGIN@9 at line 9 of Scalar/Util.pm # once (1µs+0s) by Log::Any::Adapter::Util::BEGIN@2 at line 2 of Log/Any/Proxy.pm # once (1µs+0s) by HTTP::Tiny::BEGIN@3 at line 3 of HTTP/Tiny.pm # once (1µs+0s) by Moose::Meta::Method::Overridden::BEGIN@4 at line 4 of Moose/Meta/Method/Overridden.pm # once (1µs+0s) by Class::MOP::Method::Inlined::BEGIN@4 at line 4 of Class/MOP/Method/Inlined.pm # once (1µs+0s) by Log::Any::BEGIN@2 at line 2 of Log/Any/Manager.pm # once (1µs+0s) by Moose::Meta::Role::Method::Required::BEGIN@4 at line 4 of Moose/Meta/Role/Method/Required.pm # once (1µs+0s) by Class::MOP::BEGIN@4 at line 4 of Class/MOP.pm # once (1µs+0s) by IO::Uncompress::RawInflate::BEGIN@4 at line 4 of IO/Uncompress/RawInflate.pm # once (1µs+0s) by Exporter::Heavy::BEGIN@3 at line 3 of Exporter/Heavy.pm # once (1µs+0s) by Digest::MD5::BEGIN@3 at line 3 of Digest/MD5.pm # once (1µs+0s) by SQL::SplitStatement::BEGIN@8 at line 8 of SQL/SplitStatement.pm # once (1µs+0s) by Regexp::Common::delimited::BEGIN@5 at line 5 of Regexp/Common/delimited.pm # once (1µs+0s) by DBI::Const::GetInfoType::BEGIN@10.29 at line 10 of DBI/Const/GetInfo/ODBC.pm # once (1µs+0s) by App::Rad::Help::BEGIN@3 at line 3 of App/Rad/Help.pm # once (1µs+0s) by Exporter::Tiny::BEGIN@4 at line 4 of Exporter/Tiny.pm # once (1µs+0s) by parent::BEGIN@2 at line 2 of parent.pm # once (1µs+0s) by Sub::Identify::BEGIN@3 at line 3 of Sub/Identify.pm # once (1µs+0s) by IO::Seekable::BEGIN@99 at line 99 of IO/Seekable.pm # once (1µs+0s) by File::HomeDir::Driver::BEGIN@7 at line 7 of File/HomeDir/Driver.pm # once (1µs+0s) by Try::Tiny::BEGIN@7 at line 7 of Try/Tiny.pm # once (1µs+0s) by IO::BEGIN@7 at line 7 of IO.pm # once (1µs+0s) by File::HomeDir::Unix::BEGIN@6 at line 6 of File/HomeDir/Unix.pm # once (1µs+0s) by Variable::Magic::BEGIN@5 at line 5 of Variable/Magic.pm # once (1µs+0s) by Moose::Util::BEGIN@2 at line 2 of Sub/Exporter.pm # once (1µs+0s) by App::Rad::BEGIN@6 at line 6 of App/Rad.pm # once (1µs+0s) by Class::MOP::Overload::BEGIN@4 at line 4 of Class/MOP/Overload.pm # once (1µs+0s) by metaclass::BEGIN@4 at line 4 of metaclass.pm # once (1µs+0s) by BenchmarkAnything::Storage::Backend::SQL::Query::common::BEGIN@5 at line 5 of BenchmarkAnything/Storage/Backend/SQL/Query/common.pm # once (1µs+0s) by Class::MOP::Instance::BEGIN@4 at line 4 of Class/MOP/Instance.pm # once (1µs+0s) by base::BEGIN@2 at line 2 of Log/Any/Adapter/Base.pm # once (1µs+0s) by Class::MOP::Method::Meta::BEGIN@4 at line 4 of Class/MOP/Method/Meta.pm # once (1µs+0s) by CHI::Stats::BEGIN@7 at line 7 of CHI/Stats.pm # once (1µs+0s) by namespace::clean::BEGIN@4 at line 4 of namespace/clean.pm # once (1µs+0s) by Compress::Raw::Zlib::BEGIN@8 at line 8 of Compress/Raw/Zlib.pm # once (1µs+0s) by IO::Socket::BEGIN@15 at line 15 of IO/Socket.pm # once (1µs+0s) by Devel::GlobalDestruction::BEGIN@3 at line 3 of Devel/GlobalDestruction.pm # once (1µs+0s) by Moose::Meta::Class::BEGIN@4 at line 4 of Moose/Meta/Class.pm # once (1µs+0s) by File::HomeDir::BEGIN@6 at line 6 of File/HomeDir.pm # once (1µs+0s) by Moose::Meta::Method::BEGIN@4 at line 4 of Moose/Meta/Method.pm # once (1µs+0s) by Params::Util::BEGIN@59 at line 59 of Params/Util.pm # once (1µs+0s) by URI::_server::BEGIN@3 at line 3 of URI/_server.pm # once (1µs+0s) by IO::Compress::Base::Common::BEGIN@3 at line 3 of IO/Compress/Base/Common.pm # once (1µs+0s) by B::BEGIN@9 at line 9 of B.pm # once (1µs+0s) by Sub::Exporter::Progressive::BEGIN@3 at line 3 of Sub/Exporter/Progressive.pm # once (1µs+0s) by B::Hooks::EndOfScope::BEGIN@5 at line 5 of B/Hooks/EndOfScope.pm # once (1µs+0s) by Errno::BEGIN@9 at line 9 of Errno.pm # once (1µs+0s) by File::GlobMapper::BEGIN@3 at line 3 of File/GlobMapper.pm # once (1µs+0s) by Attribute::Handlers::BEGIN@21 at line 21 of Attribute/Handlers.pm # once (1µs+0s) by URI::Escape::BEGIN@3 at line 3 of URI/Escape.pm # once (1µs+0s) by MRO::Compat::BEGIN@2 at line 2 of MRO/Compat.pm # once (1µs+0s) by HTTP::Tiny::Handle::BEGIN@862 at line 862 of HTTP/Tiny.pm # once (1µs+0s) by File::Spec::BEGIN@3 at line 3 of File/Spec.pm # once (1µs+0s) by DBI::Const::GetInfoType::BEGIN@10 at line 10 of DBI/Const/GetInfo/ANSI.pm # once (1µs+0s) by Eval::Closure::BEGIN@6 at line 6 of Eval/Closure.pm # once (1µs+0s) by BenchmarkAnything::Storage::Backend::SQL::BEGIN@9 at line 9 of BenchmarkAnything/Storage/Backend/SQL.pm # once (1µs+0s) by Class::Accessor::BEGIN@3 at line 3 of Class/Accessor.pm # once (1µs+0s) by namespace::clean::_Util::BEGIN@13 at line 13 of namespace/clean/_Util.pm # once (1µs+0s) by Class::MOP::Package::BEGIN@4 at line 4 of Class/MOP/Package.pm # once (1µs+0s) by Attribute::Handlers::BEGIN@5 at line 5 of Attribute/Handlers.pm # once (1µs+0s) by SQL::Tokenizer::BEGIN@4 at line 4 of SQL/Tokenizer.pm # once (1µs+0s) by URI::_generic::BEGIN@3 at line 3 of URI/_generic.pm # once (1µs+0s) by URI::_query::BEGIN@3 at line 3 of URI/_query.pm # once (1µs+0s) by Class::XSAccessor::Heavy::BEGIN@5 at line 5 of Class/XSAccessor/Heavy.pm # once (1µs+0s) by IO::Compress::RawDeflate::BEGIN@5 at line 5 of IO/Compress/RawDeflate.pm # once (1µs+0s) by BenchmarkAnything::Storage::Backend::SQL::Query::BEGIN@5 at line 5 of BenchmarkAnything/Storage/Backend/SQL/Query.pm # once (900ns+0s) by Sub::Exporter::Progressive::BEGIN@23 at line 23 of Sub/Exporter/Progressive.pm # once (900ns+0s) by IO::Compress::Base::BEGIN@6 at line 6 of IO/Compress/Base.pm # once (900ns+0s) by Exporter::Lite::BEGIN@5 at line 5 of Exporter/Lite.pm
sub import {
6126238µs shift;
62262972µs210µs $^H |= @_ ? &bits : all_bits | all_explicit_bits;
# spent 10µs making 2 calls to strict::bits, avg 5µs/call
63}
64
65
# spent 868µs (433+436) within strict::unimport which was called 110 times, avg 8µs/call: # once (14µs+15µs) by Time::HiRes::BEGIN@43 at line 43 of Time/HiRes.pm # once (8µs+10µs) by Sub::Install::BEGIN@170 at line 170 of Sub/Install.pm # once (8µs+10µs) by B::BEGIN@261 at line 261 of B.pm # once (7µs+9µs) by Module::Implementation::BEGIN@128 at line 128 of Module/Implementation.pm # once (7µs+8µs) by constant::BEGIN@40 at line 40 of constant.pm # once (7µs+7µs) by List::Util::BEGIN@31 at line 31 of List/Util.pm # once (6µs+7µs) by Moose::Object::BEGIN@79 at line 79 of Moose/Object.pm # once (7µs+7µs) by DBD::mysql::db::BEGIN@841 at line 841 of DBD/mysql.pm # once (6µs+7µs) by MRO::Compat::BEGIN@118 at line 118 of MRO/Compat.pm # once (6µs+7µs) by Exporter::Tiny::BEGIN@48 at line 48 of Exporter/Tiny.pm # once (6µs+6µs) by Config::BEGIN@47 at line 47 of Config.pm # once (6µs+6µs) by B::Deparse::BEGIN@4513 at line 4513 of B/Deparse.pm # once (5µs+7µs) by Role::Tiny::BEGIN@290 at line 290 of Role/Tiny.pm # once (5µs+7µs) by Class::Method::Modifiers::BEGIN@58 at line 58 of Class/Method/Modifiers.pm # once (6µs+6µs) by Moose::Exporter::BEGIN@135 at line 135 of Moose/Exporter.pm # once (6µs+6µs) by URI::BEGIN@128 at line 128 of URI.pm # once (5µs+6µs) by YAML::Any::BEGIN@48 at line 48 of YAML/Any.pm # once (6µs+5µs) by File::Spec::Unix::BEGIN@182 at line 182 of File/Spec/Unix.pm # once (4µs+7µs) by Any::URI::Escape::BEGIN@33 at line 33 of Any/URI/Escape.pm # once (4µs+6µs) by Class::MOP::Class::Immutable::Trait::BEGIN@29 at line 29 of Class/MOP/Class/Immutable/Trait.pm # once (5µs+6µs) by Class::XSAccessor::Heavy::BEGIN@27 at line 27 of Class/XSAccessor/Heavy.pm # once (4µs+6µs) by Class::Accessor::BEGIN@27 at line 27 of Class/Accessor.pm # once (5µs+5µs) by Carp::BEGIN@131 at line 131 of Carp.pm # once (4µs+6µs) by Moose::Util::TypeConstraints::BEGIN@62 at line 62 of Moose/Util/TypeConstraints.pm # once (5µs+6µs) by B::Deparse::BEGIN@2371 at line 2371 of B/Deparse.pm # once (4µs+6µs) by Compress::Raw::Zlib::BEGIN@113 at line 113 of Compress/Raw/Zlib.pm # once (5µs+5µs) by Sub::Quote::BEGIN@150 at line 150 of Sub/Quote.pm # once (5µs+4µs) by B::Deparse::BEGIN@721 at line 721 of B/Deparse.pm # once (4µs+5µs) by Sub::Exporter::Progressive::BEGIN@18 at line 18 of Sub/Exporter/Progressive.pm # once (4µs+6µs) by HTTP::Tiny::BEGIN@75 at line 75 of HTTP/Tiny.pm # once (5µs+4µs) by Carp::BEGIN@589 at line 589 of Carp.pm # once (4µs+5µs) by Moose::Exporter::BEGIN@725 at line 725 of Moose/Exporter.pm # once (5µs+4µs) by IO::Handle::BEGIN@631 at line 631 of IO/Handle.pm # once (5µs+4µs) by DBI::BEGIN@552 at line 552 of DBI.pm # once (4µs+5µs) by Attribute::Handlers::BEGIN@128 at line 128 of Attribute/Handlers.pm # once (4µs+4µs) by Class::MOP::Package::BEGIN@171 at line 171 of Class/MOP/Package.pm # once (4µs+4µs) by Exporter::Tiny::BEGIN@143 at line 143 of Exporter/Tiny.pm # once (3µs+5µs) by Log::Any::Adapter::Null::BEGIN@17 at line 17 of Log/Any/Adapter/Null.pm # once (4µs+4µs) by DBI::BEGIN@1053 at line 1053 of DBI.pm # once (4µs+4µs) by Moose::Exporter::BEGIN@331 at line 331 of Moose/Exporter.pm # once (4µs+4µs) by App::Rad::BEGIN@93 at line 93 of App/Rad.pm # once (3µs+5µs) by List::MoreUtils::PP::BEGIN@334 at line 334 of List/MoreUtils/PP.pm # once (4µs+4µs) by Carp::BEGIN@609 at line 609 of Carp.pm # once (4µs+4µs) by File::Spec::Functions::BEGIN@54 at line 54 of File/Spec/Functions.pm # once (4µs+4µs) by DBI::BEGIN@709 at line 709 of DBI.pm # once (4µs+4µs) by DBI::BEGIN@822 at line 822 of DBI.pm # once (4µs+4µs) by MRO::Compat::BEGIN@227 at line 227 of MRO/Compat.pm # once (4µs+4µs) by Socket::BEGIN@919 at line 919 of Socket.pm # once (4µs+4µs) by Attribute::Handlers::BEGIN@203 at line 203 of Attribute/Handlers.pm # once (3µs+4µs) by List::MoreUtils::BEGIN@93 at line 93 of List/MoreUtils.pm # once (4µs+4µs) by Log::Any::BEGIN@63 at line 63 of Log/Any.pm # once (4µs+4µs) by Module::Load::BEGIN@88 at line 88 of Module/Load.pm # once (4µs+4µs) by Attribute::Handlers::BEGIN@152 at line 152 of Attribute/Handlers.pm # once (4µs+4µs) by B::Deparse::BEGIN@972 at line 972 of B/Deparse.pm # once (4µs+4µs) by DBI::BEGIN@984 at line 984 of DBI.pm # once (3µs+4µs) by parent::BEGIN@21 at line 21 of parent.pm # once (3µs+4µs) by Log::Any::Adapter::Util::BEGIN@156 at line 156 of Log/Any/Adapter/Util.pm # once (3µs+4µs) by Class::Method::Modifiers::BEGIN@200 at line 200 of Class/Method/Modifiers.pm # once (3µs+4µs) by Exporter::Lite::BEGIN@50 at line 50 of Exporter/Lite.pm # once (3µs+3µs) by HTTP::Tiny::BEGIN@195 at line 195 of HTTP/Tiny.pm # once (3µs+4µs) by CHI::BEGIN@34 at line 34 of CHI.pm # once (3µs+4µs) by Moo::BEGIN@76 at line 76 of Moo.pm # once (3µs+4µs) by Attribute::Handlers::BEGIN@15 at line 15 of Attribute/Handlers.pm # once (3µs+3µs) by MRO::Compat::BEGIN@258 at line 258 of MRO/Compat.pm # once (3µs+4µs) by B::Deparse::BEGIN@67 at line 67 of B/Deparse.pm # once (3µs+3µs) by constant::BEGIN@65 at line 65 of constant.pm # once (3µs+3µs) by DBI::BEGIN@856 at line 856 of DBI.pm # once (3µs+3µs) by Exporter::Tiny::BEGIN@170 at line 170 of Exporter/Tiny.pm # once (3µs+3µs) by Regexp::Common::BEGIN@60 at line 60 of Regexp/Common.pm # once (3µs+3µs) by Exporter::Tiny::BEGIN@253 at line 253 of Exporter/Tiny.pm # once (3µs+3µs) by Moo::_Utils::BEGIN@120 at line 120 of Moo/_Utils.pm # once (3µs+3µs) by DBI::BEGIN@887 at line 887 of DBI.pm # once (3µs+3µs) by Log::Any::Proxy::BEGIN@46 at line 46 of Log/Any/Proxy.pm # once (3µs+4µs) by Module::Load::BEGIN@13 at line 13 of Module/Load.pm # once (3µs+3µs) by App::Rad::BEGIN@121 at line 121 of App/Rad.pm # once (3µs+3µs) by constant::BEGIN@90 at line 90 of constant.pm # once (3µs+3µs) by constant::BEGIN@141 at line 141 of constant.pm # once (3µs+3µs) by Regexp::Common::BEGIN@117 at line 117 of Regexp/Common.pm # once (3µs+3µs) by Exporter::Tiny::BEGIN@297 at line 297 of Exporter/Tiny.pm # once (3µs+3µs) by Log::Any::Adapter::Base::BEGIN@24 at line 24 of Log/Any/Adapter/Base.pm # once (3µs+3µs) by Regexp::Common::BEGIN@13 at line 13 of Regexp/Common.pm # once (3µs+3µs) by Exporter::Tiny::BEGIN@206 at line 206 of Exporter/Tiny.pm # once (3µs+3µs) by Class::MOP::Class::Immutable::Trait::BEGIN@39 at line 39 of Class/MOP/Class/Immutable/Trait.pm # once (3µs+3µs) by Exporter::Lite::BEGIN@15 at line 15 of Exporter/Lite.pm # once (3µs+3µs) by DBD::mysql::st::BEGIN@861 at line 861 of DBD/mysql.pm # once (3µs+3µs) by Exporter::Tiny::BEGIN@189 at line 189 of Exporter/Tiny.pm # once (3µs+3µs) by Class::Method::Modifiers::BEGIN@149 at line 149 of Class/Method/Modifiers.pm # once (3µs+3µs) by YAML::Any::BEGIN@61 at line 61 of YAML/Any.pm # once (3µs+3µs) by YAML::Any::BEGIN@74 at line 74 of YAML/Any.pm # once (3µs+3µs) by Log::Any::Proxy::BEGIN@60 at line 60 of Log/Any/Proxy.pm # once (3µs+3µs) by DBD::mysql::st::BEGIN@874 at line 874 of DBD/mysql.pm # once (3µs+3µs) by YAML::Any::BEGIN@87 at line 87 of YAML/Any.pm # once (3µs+3µs) by Exporter::Heavy::BEGIN@4 at line 4 of Exporter/Heavy.pm # once (3µs+3µs) by Moose::Exporter::BEGIN@735 at line 735 of Moose/Exporter.pm # once (3µs+2µs) by Regexp::Common::BEGIN@69 at line 69 of Regexp/Common.pm # once (2µs+2µs) by Regexp::Common::BEGIN@128 at line 128 of Regexp/Common.pm # once (4µs+0s) by main::BEGIN@1.1 at line 1 of (eval 2)[Attribute/Handlers.pm:222] # once (3µs+0s) by main::BEGIN@1.17 at line 1 of (eval 10)[Attribute/Handlers.pm:222] # once (3µs+0s) by POSIX::BEGIN@206 at line 206 of POSIX.pm # once (3µs+0s) by DBI::BEGIN@290 at line 290 of DBI.pm # once (3µs+0s) by File::Glob::BEGIN@58 at line 58 of File/Glob.pm # once (3µs+0s) by main::BEGIN@1.15 at line 1 of (eval 9)[Attribute/Handlers.pm:222] # once (2µs+0s) by main::BEGIN@1.3 at line 1 of (eval 3)[Attribute/Handlers.pm:222] # once (2µs+0s) by main::BEGIN@1.13 at line 1 of (eval 8)[Attribute/Handlers.pm:222] # once (2µs+0s) by main::BEGIN@1.9 at line 1 of (eval 6)[Attribute/Handlers.pm:222] # once (2µs+0s) by main::BEGIN@1.21 at line 1 of (eval 12)[Attribute/Handlers.pm:222] # once (2µs+0s) by main::BEGIN@1.11 at line 1 of (eval 7)[Attribute/Handlers.pm:222] # once (2µs+0s) by main::BEGIN@1.7 at line 1 of (eval 5)[Attribute/Handlers.pm:222] # once (2µs+0s) by main::BEGIN@1.5 at line 1 of (eval 4)[Attribute/Handlers.pm:222] # once (2µs+0s) by main::BEGIN@1.19 at line 1 of (eval 11)[Attribute/Handlers.pm:222]
sub unimport {
6611020µs shift;
67
68110316µs if (@_) {
6996127µs96436µs $^H &= ~&bits;
# spent 436µs making 96 calls to strict::bits, avg 5µs/call
70 }
71 else {
721412µs $^H &= ~all_bits;
73147µs $^H |= all_explicit_bits;
74 }
75}
76
7716µs1;
78__END__
 
# spent 4µs within strict::CORE:match which was called: # once (4µs+0s) by main::BEGIN@6 at line 6
sub strict::CORE:match; # opcode
# spent 24µs within strict::CORE:regcomp which was called: # once (24µs+0s) by main::BEGIN@6 at line 6
sub strict::CORE:regcomp; # opcode