| Filename | /mnt/stuff/src/my-cpan/hailo/bin/hailo |
| Statements | Executed 23 statements in 4.86ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1052184 | 13 | 3 | 14.9s | 14.9s | DBI::st::execute (xsub) |
| 535784 | 4 | 2 | 2.31s | 2.31s | DBI::st::fetchrow_array (xsub) |
| 98598 | 2 | 1 | 236ms | 236ms | DBI::db::last_insert_id (xsub) |
| 1 | 1 | 1 | 4.00ms | 4.00ms | DBI::db::commit (xsub) |
| 1 | 1 | 1 | 3.26ms | 27.6ms | hailo::BEGIN@6 |
| 1 | 1 | 1 | 3.03ms | 123ms | hailo::BEGIN@8 |
| 1 | 1 | 1 | 2.62ms | 21.4ms | hailo::BEGIN@4 |
| 1 | 1 | 1 | 2.09ms | 2.29ms | hailo::BEGIN@3.1 |
| 38 | 1 | 1 | 1.78ms | 2.43ms | Mouse::Meta::Method::Accessor::XS::_generate_accessor (xsub) |
| 30 | 1 | 1 | 1.36ms | 2.15ms | Mouse::Meta::Method::Accessor::XS::_generate_reader (xsub) |
| 44 | 1 | 1 | 1.10ms | 1.10ms | DBD::SQLite::st::_prepare (xsub) |
| 1 | 1 | 1 | 616µs | 3.27ms | hailo::BEGIN@5 |
| 90 | 3 | 2 | 564µs | 564µs | DBI::common::DESTROY (xsub) |
| 1 | 1 | 1 | 292µs | 292µs | Getopt::Long::BEGIN@931 |
| 44 | 2 | 2 | 250µs | 3.20ms | DBI::db::prepare (xsub) |
| 14 | 13 | 10 | 249µs | 249µs | UNIVERSAL::VERSION (xsub) |
| 1 | 1 | 1 | 207µs | 2.50ms | hailo::BEGIN@3 |
| 45 | 7 | 5 | 138µs | 138µs | UNIVERSAL::can (xsub) |
| 18 | 7 | 3 | 138µs | 3.58ms | DBI::db::do (xsub) |
| 39 | 4 | 2 | 117µs | 117µs | DBI::common::FETCH (xsub) |
| 42 | 7 | 5 | 98µs | 98µs | UNIVERSAL::isa (xsub) |
| 13 | 1 | 1 | 79µs | 98µs | Mouse::Meta::Method::Accessor::XS::_generate_predicate (xsub) |
| 45 | 3 | 2 | 74µs | 74µs | DBD::_mem::common::DESTROY (xsub) |
| 35 | 1 | 1 | 63µs | 63µs | Internals::SvREADONLY (xsub) |
| 1 | 1 | 1 | 58µs | 12.3ms | PerlIO::Layer::find (xsub) |
| 9 | 1 | 1 | 55µs | 68µs | Mouse::Meta::Method::Accessor::XS::_generate_clearer (xsub) |
| 1 | 1 | 1 | 55µs | 55µs | DBI::db::sqlite_register_fts3_perl_tokenizer (xsub) |
| 10 | 5 | 1 | 45µs | 45µs | DBI::common::STORE (xsub) |
| 17 | 1 | 1 | 44µs | 44µs | DBI::st::rows (xsub) |
| 1 | 1 | 1 | 18µs | 257µs | hailo::BEGIN@7 |
| 1 | 1 | 1 | 16µs | 420µs | DBI::dr::connect (xsub) |
| 1 | 1 | 1 | 13µs | 1.39ms | hailo::BEGIN@9 |
| 7 | 1 | 1 | 11µs | 11µs | Mouse::Meta::Method::Constructor::XS::_generate_constructor (xsub) |
| 7 | 1 | 1 | 10µs | 10µs | Mouse::Meta::Method::Destructor::XS::_generate_destructor (xsub) |
| 1 | 1 | 1 | 10µs | 45µs | DBI::db::begin_work (xsub) |
| 1 | 1 | 1 | 8µs | 8µs | DBI::db::sqlite_collation_needed (xsub) |
| 1 | 1 | 1 | 6µs | 6µs | DBI::dr::disconnect_all (xsub) |
| 1 | 1 | 1 | 5µs | 5µs | DBI::db::connected (xsub) |
| 1 | 1 | 1 | 4µs | 4µs | DBI::db::sqlite_create_function (xsub) |
| 0 | 0 | 0 | 0s | 0s | main::BEGIN (xsub) |
| 0 | 0 | 0 | 0s | 0s | main::RUNTIME |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 0 | 89 | 1.12ms | Profile data that couldn't be associated with a specific line: # spent 476µs making 54 calls to DBI::common::DESTROY, avg 9µs/call
# spent 292µs making 1 call to Getopt::Long::BEGIN@931
# spent 127µs making 4 calls to Mouse::Object::DESTROY, avg 32µs/call
# spent 103µs making 1 call to Hailo::DEMOLISH
# spent 72µs making 1 call to DBI::END
# spent 44µs making 27 calls to DBD::_mem::common::DESTROY, avg 2µs/call
# spent 4µs making 1 call to Mouse::Util::END | ||
| 1 | 1 | 1.01ms | #!/usr/bin/env perl | ||
| 2 | package hailo; | ||||
| 3 | 4 | 2.24ms | 3 | 4.99ms | use 5.010; # spent 2.50ms making 1 call to hailo::BEGIN@3
# spent 2.29ms making 1 call to hailo::BEGIN@3.1
# spent 202µs making 1 call to feature::import |
| 4 | 2 | 460µs | 2 | 34.2ms | # spent 21.4ms (2.62+18.8) within hailo::BEGIN@4 which was called:
# once (2.62ms+18.8ms) by main::RUNTIME at line 4 # spent 21.4ms making 1 call to hailo::BEGIN@4
# spent 12.8ms making 1 call to open::import |
| 5 | 2 | 178µs | 5 | 3.32ms | # spent 3.27ms (616µs+2.65) within hailo::BEGIN@5 which was called:
# once (616µs+2.65ms) by main::RUNTIME at line 5 # spent 3.27ms making 1 call to hailo::BEGIN@5
# spent 20µs making 1 call to Dir::Self::import
# spent 16µs making 1 call to Encode::find_encoding
# spent 15µs making 1 call to Encode::Encoding::renew
# spent 3µs making 1 call to Encode::Encoding::needs_lines |
| 6 | 2 | 176µs | 5 | 28.4ms | # spent 27.6ms (3.26+24.3) within hailo::BEGIN@6 which was called:
# once (3.26ms+24.3ms) by main::RUNTIME at line 6 # spent 27.6ms making 1 call to hailo::BEGIN@6
# spent 721µs making 1 call to Any::Moose::import
# spent 22µs making 1 call to Encode::find_encoding
# spent 20µs making 1 call to Encode::Encoding::renew
# spent 3µs making 1 call to Encode::Encoding::needs_lines |
| 7 | 2 | 30µs | 2 | 495µs | # spent 257µs (18+239) within hailo::BEGIN@7 which was called:
# once (18µs+239µs) by main::RUNTIME at line 7 # spent 257µs making 1 call to hailo::BEGIN@7
# spent 238µs making 1 call to Exporter::import |
| 8 | 2 | 127µs | 4 | 123ms | # spent 123ms (3.03+120) within hailo::BEGIN@8 which was called:
# once (3.03ms+120ms) by main::RUNTIME at line 8 # spent 123ms making 1 call to hailo::BEGIN@8
# spent 23µs making 1 call to Encode::Encoding::renew
# spent 20µs making 1 call to Encode::find_encoding
# spent 3µs making 1 call to Encode::Encoding::needs_lines |
| 9 | 2 | 183µs | 2 | 2.77ms | # spent 1.39ms (13µs+1.38) within hailo::BEGIN@9 which was called:
# once (13µs+1.38ms) by main::RUNTIME at line 9 # spent 1.39ms making 1 call to hailo::BEGIN@9
# spent 1.38ms making 1 call to namespace::clean::import |
| 10 | |||||
| 11 | # Nothing to see here | ||||
| 12 | 1 | 18µs | 2 | 128µs | __PACKAGE__->meta->make_immutable; # spent 110µs making 1 call to Mouse::Meta::Class::make_immutable
# spent 18µs making 1 call to hailo::meta |
| 13 | |||||
| 14 | # use utf8 everywhere | ||||
| 15 | 1 | 20µs | 4 | 165µs | $_ = decode('utf8', $_) for @ARGV; # spent 165µs making 4 calls to Encode::decode, avg 41µs/call |
| 16 | |||||
| 17 | # Set programname | ||||
| 18 | 1 | 13µs | $0 = 'hailo'; | ||
| 19 | |||||
| 20 | 1 | 2µs | if ($] < 5.013000 and $^O eq 'linux') { | ||
| 21 | local $@; | ||||
| 22 | eval { | ||||
| 23 | require Sys::Prctl; | ||||
| 24 | Sys::Prctl::prctl_name('hailo'); | ||||
| 25 | }; | ||||
| 26 | } | ||||
| 27 | |||||
| 28 | # I want my mommy! | ||||
| 29 | 1 | 5µs | 1 | 3.78ms | $Hailo::Command::HERE_MOMMY = __DIR__; # spent 3.78ms making 1 call to Dir::Self::__DIR__ |
| 30 | |||||
| 31 | # Show help if run without arguments | ||||
| 32 | 1 | 1µs | @ARGV = qw(--help) unless @ARGV; | ||
| 33 | |||||
| 34 | # Hailing frequencies open | ||||
| 35 | 1 | 13µs | 2 | 52.0s | Hailo::Command->new_with_options->run; # spent 51.9s making 1 call to Hailo::Command::run
# spent 67.6ms making 1 call to MouseX::Getopt::Basic::new_with_options |
| 36 | |||||
| 37 | =encoding utf8 | ||||
| 38 | |||||
| 39 | =head1 NAME | ||||
| 40 | |||||
| 41 | hailo - Command-line interface to the L<Hailo|Hailo> Markov bot | ||||
| 42 | |||||
| 43 | =head1 USAGE | ||||
| 44 | |||||
| 45 | usage: hailo [-abEhLlopRrSsTtuv] [long options...] | ||||
| 46 | -v --version Print version and exit | ||||
| 47 | -u --ui Use UI CLASS | ||||
| 48 | -t --train Learn from all the lines in FILE, use - for STDIN | ||||
| 49 | -s --stats Print statistics about the brain | ||||
| 50 | -r --reply Reply to STRING | ||||
| 51 | -p --progress Display progress during the import | ||||
| 52 | -o --order Markov order; How deep the rabbit hole goes | ||||
| 53 | -l --learn Learn from STRING | ||||
| 54 | -h --help You're soaking it in | ||||
| 55 | -b --brain Load/save brain to/from FILE | ||||
| 56 | -a --autosave Save the brain on exit (on by default) | ||||
| 57 | -T --tokenizer Use tokenizer CLASS | ||||
| 58 | -S --storage Use storage CLASS | ||||
| 59 | -R --random-reply Like --reply but takes no STRING; Babble at random | ||||
| 60 | -L --learn-reply Learn from STRING and reply to it | ||||
| 61 | -E --engine Use engine CLASS | ||||
| 62 | --ui-args Arguments for the UI class | ||||
| 63 | --tokenizer-args Arguments for the Tokenizer class | ||||
| 64 | --storage-args Arguments for the Storage class | ||||
| 65 | --examples Print examples along with the help message | ||||
| 66 | --engine-args Arguments for the Engine class | ||||
| 67 | --brain-resource Alias for `brain' for backwards compatibility | ||||
| 68 | |||||
| 69 | Note: All input/output and files are assumed to be UTF-8 encoded. | ||||
| 70 | |||||
| 71 | =head1 SYNOPSIS | ||||
| 72 | |||||
| 73 | Train in-memory using L<bot-training|Bot::Training>'s F<megahal.trn> | ||||
| 74 | and reply: | ||||
| 75 | |||||
| 76 | bot-training -f megahal | hailo --brain :memory: --train - --random-reply | ||||
| 77 | # ==> Time flies like a banana. | ||||
| 78 | |||||
| 79 | Create an on-disk brain for later use: | ||||
| 80 | |||||
| 81 | bot-training -f megahal > megahal.trn | ||||
| 82 | hailo --brain hailo.sqlite --train megahal.trn | ||||
| 83 | hailo --brain hailo.sqlite --reply 'Reply to this, silly robot!' | ||||
| 84 | # ==> No way! I don't want to think. | ||||
| 85 | |||||
| 86 | Interact with the brain using readline: | ||||
| 87 | |||||
| 88 | hailo --brain hailo.sqlite | ||||
| 89 | Welcome to the Hailo interactive shell! | ||||
| 90 | Enter ".help" to show the built-in commands. | ||||
| 91 | Input that's not a command will be passed to Hailo to learn, and it'll | ||||
| 92 | reply back. | ||||
| 93 | Hailo> Hello there | ||||
| 94 | # ==> Wife asked "what have you got there?" replied he, "just my cup of fur". | ||||
| 95 | |||||
| 96 | =head1 DESCRIPTION | ||||
| 97 | |||||
| 98 | See the documentation for L<Hailo|Hailo> for more information. | ||||
| 99 | |||||
| 100 | =head1 AUTHOR | ||||
| 101 | |||||
| 102 | E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason <avar@cpan.org> | ||||
| 103 | |||||
| 104 | =head1 LICENSE AND COPYRIGHT | ||||
| 105 | |||||
| 106 | Copyright 2010 E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason <avar@cpan.org> | ||||
| 107 | |||||
| 108 | This program is free software, you can redistribute it and/or modify | ||||
| 109 | it under the same terms as Perl itself. | ||||
| 110 | |||||
| 111 | 1 | 387µs | 1 | 4.30ms | =cut # spent 4.30ms making 1 call to B::Hooks::EndOfScope::__ANON__[B/Hooks/EndOfScope.pm:26] |
| 112 | |||||
| - - | |||||
# spent 1.10ms within DBD::SQLite::st::_prepare which was called 44 times, avg 25µs/call:
# 44 times (1.10ms+0s) by DBD::SQLite::db::prepare at line 180 of DBD/SQLite.pm, avg 25µs/call | |||||
# spent 74µs within DBD::_mem::common::DESTROY which was called 45 times, avg 2µs/call:
# 27 times (44µs+0s) by main::NULL at line 0, avg 2µs/call
# 17 times (28µs+0s) by DBD::SQLite::db::do at line 191 of DBD/SQLite.pm, avg 2µs/call
# once (2µs+0s) by DBD::SQLite::db::prepare at line 192 of DBD/SQLite.pm | |||||
# spent 564µs within DBI::common::DESTROY which was called 90 times, avg 6µs/call:
# 54 times (476µs+0s) by main::NULL at line 0, avg 9µs/call
# 34 times (84µs+0s) by DBD::SQLite::db::do at line 191 of DBD/SQLite.pm, avg 2µs/call
# 2 times (4µs+0s) by DBD::SQLite::db::prepare at line 192 of DBD/SQLite.pm, avg 2µs/call | |||||
# spent 117µs within DBI::common::FETCH which was called 39 times, avg 3µs/call:
# 17 times (51µs+0s) by DBD::SQLite::db::do at line 196 of DBD/SQLite.pm, avg 3µs/call
# 17 times (50µs+0s) by DBD::SQLite::db::do at line 193 of DBD/SQLite.pm, avg 3µs/call
# 4 times (13µs+0s) by DBI::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/x86_64-linux/DBI.pm:731] at line 720 of DBI.pm, avg 3µs/call
# once (3µs+0s) by DBD::_::db::begin_work at line 1717 of DBI.pm | |||||
# spent 45µs within DBI::common::STORE which was called 10 times, avg 5µs/call:
# 4 times (12µs+0s) by DBI::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/x86_64-linux/DBI.pm:731] at line 720 of DBI.pm, avg 3µs/call
# 3 times (15µs+0s) by DBI::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/x86_64-linux/DBI.pm:731] at line 717 of DBI.pm, avg 5µs/call
# once (11µs+0s) by DBD::_::db::begin_work at line 1720 of DBI.pm
# once (5µs+0s) by DBI::connect at line 735 of DBI.pm
# once (2µs+0s) by DBD::_::db::begin_work at line 1719 of DBI.pm | |||||
# spent 45µs (10+36) within DBI::db::begin_work which was called:
# once (10µs+36µs) by Hailo::Storage::start_learning at line 218 of lib/Hailo/Storage.pm | |||||
# spent 4.00ms within DBI::db::commit which was called:
# once (4.00ms+0s) by Hailo::Storage::stop_learning at line 225 of lib/Hailo/Storage.pm | |||||
# spent 5µs within DBI::db::connected which was called:
# once (5µs+0s) by DBI::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/x86_64-linux/DBI.pm:731] at line 726 of DBI.pm | |||||
# spent 3.58ms (138µs+3.44) within DBI::db::do which was called 18 times, avg 199µs/call:
# 11 times (65µs+2.43ms) by Hailo::Storage::Schema::deploy at line 78 of lib/Hailo/Storage/Schema.pm, avg 227µs/call
# 2 times (12µs+213µs) by Hailo::Storage::SQLite::_set_pragmas at line 109 of lib/Hailo/Storage/SQLite.pm, avg 113µs/call
# once (8µs+273µs) by Hailo::Storage::SQLite::__ANON__[lib/Hailo/Storage/SQLite.pm:66] at line 63 of lib/Hailo/Storage/SQLite.pm
# once (14µs+201µs) by Hailo::Storage::SQLite::__ANON__[lib/Hailo/Storage/SQLite.pm:73] at line 70 of lib/Hailo/Storage/SQLite.pm
# once (26µs+113µs) by Hailo::Storage::initialized at line 242 of lib/Hailo/Storage.pm
# once (6µs+110µs) by Hailo::Storage::SQLite::__ANON__[lib/Hailo/Storage/SQLite.pm:66] at line 64 of lib/Hailo/Storage/SQLite.pm
# once (7µs+109µs) by Hailo::Storage::SQLite::__ANON__[lib/Hailo/Storage/SQLite.pm:73] at line 71 of lib/Hailo/Storage/SQLite.pm | |||||
# spent 236ms within DBI::db::last_insert_id which was called 98598 times, avg 2µs/call:
# 77849 times (185ms+0s) by Hailo::Engine::Default::_add_expr at line 184 of lib/Hailo/Engine/Default.pm, avg 2µs/call
# 20749 times (50.1ms+0s) by Hailo::Engine::Default::_add_token at line 225 of lib/Hailo/Engine/Default.pm, avg 2µs/call | |||||
# spent 3.20ms (250µs+2.95) within DBI::db::prepare which was called 44 times, avg 73µs/call:
# 26 times (151µs+1.56ms) by Hailo::Storage::Schema::sth at line 152 of lib/Hailo/Storage/Schema.pm, avg 66µs/call
# 18 times (99µs+1.39ms) by DBD::SQLite::db::do at line 192 of DBD/SQLite.pm, avg 83µs/call | |||||
# spent 8µs within DBI::db::sqlite_collation_needed which was called:
# once (8µs+0s) by DBD::SQLite::dr::connect at line 128 of DBD/SQLite.pm | |||||
# spent 4µs within DBI::db::sqlite_create_function which was called:
# once (4µs+0s) by DBD::SQLite::dr::connect at line 129 of DBD/SQLite.pm | |||||
# spent 55µs within DBI::db::sqlite_register_fts3_perl_tokenizer which was called:
# once (55µs+0s) by DBD::SQLite::dr::connect at line 130 of DBD/SQLite.pm | |||||
# spent 420µs (16+404) within DBI::dr::connect which was called:
# once (16µs+404µs) by DBI::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/x86_64-linux/DBI.pm:731] at line 665 of DBI.pm | |||||
# spent 6µs within DBI::dr::disconnect_all which was called:
# once (6µs+0s) by DBI::disconnect_all at line 743 of DBI.pm | |||||
# spent 14.9s within DBI::st::execute which was called 1052184 times, avg 14µs/call:
# 262148 times (3.93s+0s) by Hailo::Engine::Default::_inc_link at line 165 of lib/Hailo/Engine/Default.pm, avg 15µs/call
# 217363 times (3.10s+0s) by Hailo::Engine::Default::_inc_link at line 172 of lib/Hailo/Engine/Default.pm, avg 14µs/call
# 155634 times (1.54s+0s) by Hailo::Engine::Default::learn at line 117 of lib/Hailo/Engine/Default.pm, avg 10µs/call
# 142561 times (1.62s+0s) by Hailo::Engine::Default::_token_id at line 198 of lib/Hailo/Engine/Default.pm, avg 11µs/call
# 131074 times (1.37s+0s) by Hailo::Engine::Default::_expr_id at line 190 of lib/Hailo/Engine/Default.pm, avg 10µs/call
# 77849 times (2.03s+0s) by Hailo::Engine::Default::_add_expr at line 183 of lib/Hailo/Engine/Default.pm, avg 26µs/call
# 44785 times (988ms+0s) by Hailo::Engine::Default::_inc_link at line 168 of lib/Hailo/Engine/Default.pm, avg 22µs/call
# 20749 times (332ms+0s) by Hailo::Engine::Default::_add_token at line 224 of lib/Hailo/Engine/Default.pm, avg 16µs/call
# 17 times (959µs+0s) by DBD::SQLite::db::do at line 193 of DBD/SQLite.pm, avg 56µs/call
# once (53µs+0s) by Hailo::Storage::_engage at line 116 of lib/Hailo/Storage.pm
# once (34µs+0s) by Hailo::Storage::_engage at line 123 of lib/Hailo/Storage.pm
# once (31µs+0s) by Hailo::Storage::_engage at line 120 of lib/Hailo/Storage.pm
# once (15µs+0s) by Hailo::Storage::_engage at line 124 of lib/Hailo/Storage.pm | |||||
# spent 2.31s within DBI::st::fetchrow_array which was called 535784 times, avg 4µs/call:
# 262148 times (1.22s+0s) by Hailo::Engine::Default::_inc_link at line 166 of lib/Hailo/Engine/Default.pm, avg 5µs/call
# 142561 times (646ms+0s) by Hailo::Engine::Default::_token_id at line 199 of lib/Hailo/Engine/Default.pm, avg 5µs/call
# 131074 times (443ms+0s) by Hailo::Engine::Default::_expr_id at line 191 of lib/Hailo/Engine/Default.pm, avg 3µs/call
# once (10µs+0s) by Hailo::Storage::_engage at line 125 of lib/Hailo/Storage.pm | |||||
# spent 44µs within DBI::st::rows which was called 17 times, avg 3µs/call:
# 17 times (44µs+0s) by DBD::SQLite::db::do at line 194 of DBD/SQLite.pm, avg 3µs/call | |||||
# spent 63µs within Internals::SvREADONLY which was called 35 times, avg 2µs/call:
# 35 times (63µs+0s) by constant::import at line 126 of constant.pm, avg 2µs/call | |||||
# spent 2.43ms (1.78+642µs) within Mouse::Meta::Method::Accessor::XS::_generate_accessor which was called 38 times, avg 64µs/call:
# 38 times (1.78ms+642µs) by Mouse::Meta::Attribute::install_accessors at line 257 of Mouse/Meta/Attribute.pm, avg 64µs/call | |||||
# spent 68µs (55+13) within Mouse::Meta::Method::Accessor::XS::_generate_clearer which was called 9 times, avg 8µs/call:
# 9 times (55µs+13µs) by Mouse::Meta::Attribute::install_accessors at line 257 of Mouse/Meta/Attribute.pm, avg 8µs/call | |||||
# spent 98µs (79+19) within Mouse::Meta::Method::Accessor::XS::_generate_predicate which was called 13 times, avg 8µs/call:
# 13 times (79µs+19µs) by Mouse::Meta::Attribute::install_accessors at line 257 of Mouse/Meta/Attribute.pm, avg 8µs/call | |||||
# spent 2.15ms (1.36+795µs) within Mouse::Meta::Method::Accessor::XS::_generate_reader which was called 30 times, avg 72µs/call:
# 30 times (1.36ms+795µs) by Mouse::Meta::Attribute::install_accessors at line 257 of Mouse/Meta/Attribute.pm, avg 72µs/call | |||||
# spent 11µs within Mouse::Meta::Method::Constructor::XS::_generate_constructor which was called 7 times, avg 2µs/call:
# 7 times (11µs+0s) by Mouse::Meta::Class::make_immutable at line 290 of Mouse/Meta/Class.pm, avg 2µs/call | |||||
# spent 10µs within Mouse::Meta::Method::Destructor::XS::_generate_destructor which was called 7 times, avg 1µs/call:
# 7 times (10µs+0s) by Mouse::Meta::Class::make_immutable at line 296 of Mouse/Meta/Class.pm, avg 1µs/call | |||||
# spent 12.3ms (58µs+12.2) within PerlIO::Layer::find which was called:
# once (58µs+12.2ms) by open::import at line 88 of open.pm | |||||
# spent 249µs within UNIVERSAL::VERSION which was called 14 times, avg 18µs/call:
# 2 times (61µs+0s) by Getopt::Long::VERSION at line 1472 of Getopt/Long.pm, avg 31µs/call
# once (46µs+0s) by File::CountLines::BEGIN@8 at line 8 of File/CountLines.pm
# once (17µs+0s) by Data::OptList::BEGIN@8 at line 8 of Data/OptList.pm
# once (16µs+0s) by namespace::clean::BEGIN@15 at line 15 of namespace/clean.pm
# once (14µs+0s) by namespace::clean::BEGIN@17 at line 17 of namespace/clean.pm
# once (14µs+0s) by Getopt::Long::Descriptive::BEGIN@260 at line 270 of Getopt/Long/Descriptive.pm
# once (13µs+0s) by MouseX::Getopt::GLD::BEGIN@12 at line 12 of MouseX/Getopt/GLD.pm
# once (13µs+0s) by namespace::clean::BEGIN@16 at line 16 of namespace/clean.pm
# once (12µs+0s) by B::Hooks::EndOfScope::BEGIN@14 at line 14 of B/Hooks/EndOfScope.pm
# once (12µs+0s) by namespace::clean::BEGIN@14 at line 14 of namespace/clean.pm
# once (11µs+0s) by Sub::Exporter::BEGIN@9 at line 9 of Sub/Exporter.pm
# once (11µs+0s) by DBD::SQLite::BEGIN@5 at line 5 of DBD/SQLite.pm
# once (10µs+0s) by Getopt::Long::Descriptive::Opts::___class_for_opt at line 111 of Getopt/Long/Descriptive/Opts.pm | |||||
# spent 138µs within UNIVERSAL::can which was called 45 times, avg 3µs/call:
# 14 times (37µs+0s) by Mouse::Meta::Class::verify_superclass at line 82 of Mouse/Meta/Class.pm, avg 3µs/call
# 10 times (35µs+0s) by Mouse::Meta::Role::Application::check_required_methods at line 99 of Mouse/Meta/Role/Application.pm, avg 4µs/call
# 9 times (28µs+0s) by Mouse::Meta::Class::_install_modifier at line 320 of Mouse/Meta/Class.pm, avg 3µs/call
# 5 times (16µs+0s) by Mouse::Exporter::build_import_methods at line 108 of Mouse/Exporter.pm, avg 3µs/call
# 3 times (10µs+0s) by Mouse::Meta::Class::add_override_method_modifier at line 409 of Mouse/Meta/Class.pm, avg 3µs/call
# 3 times (9µs+0s) by Mouse::Util::resolve_metaclass_alias at line 202 of Mouse/Util.pm, avg 3µs/call
# once (3µs+0s) by Sub::Exporter::default_generator at line 848 of Sub/Exporter.pm | |||||
# spent 98µs within UNIVERSAL::isa which was called 42 times, avg 2µs/call:
# 9 times (25µs+0s) by DBI::setup_driver at line 838 of DBI.pm, avg 3µs/call
# 9 times (18µs+0s) by DBI::setup_driver at line 841 of DBI.pm, avg 2µs/call
# 8 times (25µs+0s) by Any::Moose::_backer_of at line 105 of Any/Moose.pm, avg 3µs/call
# 8 times (11µs+0s) by Any::Moose::_backer_of at line 106 of Any/Moose.pm, avg 1µs/call
# 5 times (13µs+0s) by base::import at line 81 of base.pm, avg 3µs/call
# 2 times (5µs+0s) by Mouse::Meta::Class::verify_superclass at line 91 of Mouse/Meta/Class.pm, avg 2µs/call
# once (2µs+0s) by Getopt::Long::GetOptionsFromArray at line 313 of Getopt/Long.pm |