Subroutine Index - NYTProf

← Index
Performance Profile Subroutine Index
For scripts/bench.pl
Run on Mon Oct 22 16:48:56 2018
Reported on Mon Oct 22 16:49:10 2018

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
20000 | 1 | 1 | 1.54s | 2.12s | Game::Collisions::::get_collisions_for_aabb Game::Collisions::get_collisions_for_aabb
26436 | 3 | 1 | 566ms | 659ms | Game::Collisions::AABB::::_calculate_bounding_box_for_nodesGame::Collisions::AABB::_calculate_bounding_box_for_nodes
239960 | 1 | 1 | 354ms | 354ms | Game::Collisions::AABB::::does_collideGame::Collisions::AABB::does_collide
194280 | 1 | 1 | 105ms | 105ms | Game::Collisions::AABB::::is_branch_nodeGame::Collisions::AABB::is_branch_node
20 | 1 | 1 | 60.7ms | 2.18s | Game::Collisions::::get_collisions Game::Collisions::get_collisions
183200 | 1 | 1 | 59.4ms | 59.4ms | Game::Collisions::AABB::::right_nodeGame::Collisions::AABB::right_node
184198 | 2 | 1 | 58.7ms | 58.7ms | Game::Collisions::AABB::::left_nodeGame::Collisions::AABB::left_node
999 | 1 | 1 | 49.9ms | 315ms | Game::Collisions::AABB::::resize_all_parentsGame::Collisions::AABB::resize_all_parents
999 | 1 | 1 | 43.8ms | 469ms | Game::Collisions::AABB::::find_best_sibling_nodeGame::Collisions::AABB::find_best_sibling_node
9478 | 1 | 1 | 27.1ms | 260ms | Game::Collisions::AABB::::_resize_to_fit_childrenGame::Collisions::AABB::_resize_to_fit_children
107742 | 3 | 2 | 26.6ms | 26.6ms | Game::Collisions::AABB::::xGame::Collisions::AABB::x
107742 | 3 | 2 | 24.8ms | 24.8ms | Game::Collisions::AABB::::yGame::Collisions::AABB::y
1000 | 1 | 1 | 18.8ms | 829ms | Game::Collisions::::_add_aabb Game::Collisions::_add_aabb
52872 | 1 | 1 | 12.1ms | 12.1ms | Game::Collisions::AABB::::lengthGame::Collisions::AABB::length
52872 | 1 | 1 | 11.6ms | 11.6ms | Game::Collisions::AABB::::heightGame::Collisions::AABB::height
1 | 1 | 1 | 11.1ms | 11.2ms | main::::BEGIN@26 main::BEGIN@26
52872 | 2 | 1 | 10.9ms | 10.9ms | List::Util::::max List::Util::max (xsub)
2996 | 2 | 1 | 9.76ms | 12.9ms | Game::Collisions::AABB::::_set_nodeGame::Collisions::AABB::_set_node
54870 | 4 | 2 | 7.49ms | 7.49ms | List::Util::::min List::Util::min (xsub)
1 | 1 | 1 | 6.76ms | 15.3ms | main::::BEGIN@27 main::BEGIN@27
18956 | 2 | 2 | 5.35ms | 5.35ms | Game::Collisions::AABB::::parentGame::Collisions::AABB::parent
1000 | 1 | 1 | 4.56ms | 835ms | Game::Collisions::::make_aabb Game::Collisions::make_aabb
1541 | 2 | 1 | 3.76ms | 11.6ms | Game::Collisions::AABB::::set_left_nodeGame::Collisions::AABB::set_left_node
1455 | 2 | 1 | 3.72ms | 8.76ms | Game::Collisions::AABB::::set_right_nodeGame::Collisions::AABB::set_right_node
1999 | 2 | 1 | 3.32ms | 3.32ms | Game::Collisions::AABB::::newGame::Collisions::AABB::new
2 | 2 | 1 | 2.26ms | 2.34ms | Exporter::::as_heavy Exporter::as_heavy
2996 | 1 | 1 | 2.07ms | 2.07ms | Game::Collisions::AABB::::set_parentGame::Collisions::AABB::set_parent
1 | 1 | 1 | 1.89ms | 2.05ms | Time::HiRes::::BEGIN@4 Time::HiRes::BEGIN@4
999 | 1 | 1 | 1.59ms | 3.31ms | Game::Collisions::::_new_meta_aabb Game::Collisions::_new_meta_aabb
1 | 1 | 1 | 1.57ms | 1.84ms | Game::Collisions::AABB::::BEGIN@32Game::Collisions::AABB::BEGIN@32
1 | 1 | 1 | 1.49ms | 3.45ms | DynaLoader::::BEGIN@21 DynaLoader::BEGIN@21
1 | 1 | 1 | 1.28ms | 4.16ms | Game::Collisions::::BEGIN@30 Game::Collisions::BEGIN@30
1 | 1 | 1 | 1.08ms | 1.84ms | Config::::BEGIN@11 Config::BEGIN@11
2996 | 1 | 1 | 847µs | 847µs | Scalar::Util::::weaken Scalar::Util::weaken (xsub)
1 | 1 | 1 | 823µs | 1.13ms | Game::Collisions::::BEGIN@28 Game::Collisions::BEGIN@28
1 | 1 | 1 | 621µs | 5.96ms | main::::BEGIN@28 main::BEGIN@28
1 | 1 | 1 | 494µs | 533µs | Game::Collisions::AABB::::BEGIN@30Game::Collisions::AABB::BEGIN@30
1 | 1 | 1 | 442µs | 620µs | vars::::BEGIN@7 vars::BEGIN@7
1 | 1 | 1 | 266µs | 266µs | XSLoader::::load XSLoader::load
1 | 1 | 1 | 250µs | 253µs | Game::Collisions::AABB::::BEGIN@26Game::Collisions::AABB::BEGIN@26
998 | 1 | 1 | 246µs | 246µs | Scalar::Util::::unweaken Scalar::Util::unweaken (xsub)
11 | 11 | 2 | 232µs | 288µs | constant::::import constant::import
2 | 1 | 1 | 217µs | 239µs | warnings::::register_categories warnings::register_categories
1 | 1 | 1 | 147µs | 147µs | main::::BEGIN@25 main::BEGIN@25
1 | 1 | 1 | 130µs | 144µs | strict::::BEGIN@7 strict::BEGIN@7
1 | 1 | 1 | 104µs | 342µs | DynaLoader::::bootstrap DynaLoader::bootstrap
1 | 1 | 1 | 100µs | 100µs | DynaLoader::::dl_load_file DynaLoader::dl_load_file (xsub)
9 | 2 | 1 | 89µs | 89µs | strict::::bits strict::bits
1 | 1 | 1 | 86µs | 91µs | Exporter::Heavy::::_rebuild_cache Exporter::Heavy::_rebuild_cache
8 | 8 | 5 | 73µs | 149µs | strict::::unimport strict::unimport
1 | 1 | 1 | 65µs | 65µs | Time::HiRes::::BEGIN@3 Time::HiRes::BEGIN@3
1 | 1 | 1 | 62µs | 78µs | vars::::import vars::import
6 | 6 | 6 | 62µs | 62µs | warnings::::import warnings::import
1 | 1 | 1 | 60µs | 154µs | Exporter::Heavy::::heavy_export Exporter::Heavy::heavy_export
1 | 1 | 1 | 57µs | 57µs | Time::HiRes::::bootstrap Time::HiRes::bootstrap (xsub)
7 | 7 | 7 | 43µs | 57µs | strict::::import strict::import
2 | 2 | 1 | 32µs | 32µs | DynaLoader::::CORE:subst DynaLoader::CORE:subst (opcode)
3 | 3 | 1 | 32µs | 32µs | main::::CORE:say main::CORE:say (opcode)
7 | 1 | 1 | 31µs | 31µs | DynaLoader::::CORE:ftdir DynaLoader::CORE:ftdir (opcode)
7 | 5 | 1 | 30µs | 30µs | Config::::FETCH Config::FETCH
1 | 1 | 1 | 30µs | 30µs | vars::::BEGIN@3 vars::BEGIN@3
1 | 1 | 1 | 29µs | 80µs | Time::HiRes::::BEGIN@48 Time::HiRes::BEGIN@48
1 | 1 | 1 | 29µs | 31µs | constant::::BEGIN@24 constant::BEGIN@24
1 | 1 | 1 | 26µs | 32µs | Config::::BEGIN@9 Config::BEGIN@9
1 | 1 | 1 | 26µs | 26µs | warnings::::CORE:match warnings::CORE:match (opcode)
2 | 2 | 2 | 24µs | 263µs | warnings::register::::import warnings::register::import
4 | 2 | 1 | 22µs | 22µs | warnings::::_mkMask warnings::_mkMask
1 | 1 | 1 | 20µs | 20µs | Game::Collisions::::BEGIN@26 Game::Collisions::BEGIN@26
1 | 1 | 1 | 20µs | 20µs | DynaLoader::::BEGIN@17 DynaLoader::BEGIN@17
1 | 1 | 1 | 20µs | 24µs | Exporter::Heavy::::BEGIN@3 Exporter::Heavy::BEGIN@3
1 | 1 | 1 | 17µs | 17µs | Config::::import Config::import
1 | 1 | 1 | 17µs | 2.54ms | Time::HiRes::::import Time::HiRes::import
1 | 1 | 1 | 17µs | 17µs | warnings::::unimport warnings::unimport
1 | 1 | 1 | 17µs | 34µs | Exporter::Heavy::::BEGIN@188 Exporter::Heavy::BEGIN@188
11 | 1 | 1 | 16µs | 16µs | constant::::CORE:subst constant::CORE:subst (opcode)
1 | 1 | 1 | 16µs | 16µs | constant::::BEGIN@2 constant::BEGIN@2
1 | 1 | 1 | 16µs | 38µs | Config::::BEGIN@47 Config::BEGIN@47
6 | 3 | 1 | 15µs | 15µs | vars::::CORE:match vars::CORE:match (opcode)
11 | 1 | 1 | 14µs | 14µs | constant::::CORE:match constant::CORE:match (opcode)
1 | 1 | 1 | 14µs | 14µs | strict::::CORE:match strict::CORE:match (opcode)
1 | 1 | 1 | 14µs | 25µs | Config::::BEGIN@10 Config::BEGIN@10
1 | 1 | 1 | 13µs | 16µs | List::Util::::BEGIN@9 List::Util::BEGIN@9
1 | 1 | 1 | 13µs | 179µs | Exporter::Heavy::::heavy_export_to_level Exporter::Heavy::heavy_export_to_level
1 | 1 | 1 | 13µs | 15µs | Scalar::Util::::BEGIN@9 Scalar::Util::BEGIN@9
1 | 1 | 1 | 13µs | 36µs | vars::::BEGIN@8 vars::BEGIN@8
11 | 1 | 1 | 12µs | 12µs | constant::::CORE:regcomp constant::CORE:regcomp (opcode)
1 | 1 | 1 | 11µs | 11µs | UNIVERSAL::::VERSION UNIVERSAL::VERSION (xsub)
2 | 2 | 2 | 11µs | 11µs | Time::HiRes::::gettimeofday Time::HiRes::gettimeofday (xsub)
1 | 1 | 1 | 10µs | 12µs | Time::HiRes::::tv_interval Time::HiRes::tv_interval
1 | 1 | 1 | 10µs | 10µs | Game::Collisions::AABB::::BEGIN@27Game::Collisions::AABB::BEGIN@27
1 | 1 | 1 | 9µs | 15µs | Game::Collisions::::BEGIN@27 Game::Collisions::BEGIN@27
1 | 1 | 1 | 9µs | 19µs | constant::::BEGIN@141 constant::BEGIN@141
1 | 1 | 1 | 8µs | 23µs | Exporter::Heavy::::BEGIN@4 Exporter::Heavy::BEGIN@4
11 | 1 | 1 | 8µs | 8µs | mro::::method_changed_in mro::method_changed_in (xsub)
1 | 1 | 1 | 8µs | 14µs | Game::Collisions::AABB::::BEGIN@28Game::Collisions::AABB::BEGIN@28
1 | 1 | 1 | 8µs | 21µs | constant::::BEGIN@40 constant::BEGIN@40
1 | 1 | 1 | 8µs | 35µs | Game::Collisions::AABB::::BEGIN@33Game::Collisions::AABB::BEGIN@33
1 | 1 | 1 | 8µs | 11µs | constant::::BEGIN@3 constant::BEGIN@3
1 | 1 | 1 | 8µs | 43µs | main::::BEGIN@30 main::BEGIN@30
1 | 1 | 1 | 8µs | 19µs | List::Util::::BEGIN@31 List::Util::BEGIN@31
13 | 3 | 1 | 7µs | 7µs | Internals::::SvREADONLY Internals::SvREADONLY (xsub)
1 | 1 | 1 | 7µs | 12µs | Scalar::Util::::BEGIN@10 Scalar::Util::BEGIN@10
1 | 1 | 1 | 7µs | 18µs | constant::::BEGIN@65 constant::BEGIN@65
1 | 1 | 1 | 7µs | 22µs | constant::::BEGIN@90 constant::BEGIN@90
1 | 1 | 1 | 7µs | 7µs | version::::(bool version::(bool (xsub)
51 | 2 | 1 | 7µs | 7µs | Exporter::Heavy::::CORE:subst Exporter::Heavy::CORE:subst (opcode)
2 | 1 | 1 | 7µs | 7µs | Exporter::::CORE:subst Exporter::CORE:subst (opcode)
1 | 1 | 1 | 7µs | 7µs | Game::Collisions::::new Game::Collisions::new
1 | 1 | 1 | 6µs | 11µs | List::Util::::BEGIN@10 List::Util::BEGIN@10
1 | 1 | 1 | 6µs | 91µs | constant::::BEGIN@4 constant::BEGIN@4
1 | 1 | 1 | 6µs | 32µs | main::::BEGIN@31 main::BEGIN@31
1 | 1 | 1 | 6µs | 2.34ms | Exporter::::export_to_level Exporter::export_to_level
1 | 1 | 1 | 5µs | 38µs | Game::Collisions::AABB::::BEGIN@34Game::Collisions::AABB::BEGIN@34
1 | 1 | 1 | 5µs | 27µs | Game::Collisions::AABB::::BEGIN@35Game::Collisions::AABB::BEGIN@35
1 | 1 | 1 | 5µs | 26µs | Game::Collisions::AABB::::BEGIN@39Game::Collisions::AABB::BEGIN@39
1 | 1 | 1 | 5µs | 5µs | version::::(cmp version::(cmp (xsub)
1 | 1 | 1 | 5µs | 28µs | Game::Collisions::AABB::::BEGIN@36Game::Collisions::AABB::BEGIN@36
1 | 1 | 1 | 5µs | 24µs | Game::Collisions::AABB::::BEGIN@40Game::Collisions::AABB::BEGIN@40
1 | 1 | 1 | 5µs | 5µs | DynaLoader::::CORE:ftfile DynaLoader::CORE:ftfile (opcode)
1 | 1 | 1 | 4µs | 25µs | Game::Collisions::AABB::::BEGIN@38Game::Collisions::AABB::BEGIN@38
1 | 1 | 1 | 4µs | 4µs | DynaLoader::::CORE:ftsize DynaLoader::CORE:ftsize (opcode)
1 | 1 | 1 | 4µs | 4µs | DynaLoader::::dl_install_xsub DynaLoader::dl_install_xsub (xsub)
1 | 1 | 1 | 4µs | 24µs | Game::Collisions::AABB::::BEGIN@37Game::Collisions::AABB::BEGIN@37
1 | 1 | 1 | 4µs | 12µs | Exporter::::export Exporter::export
3 | 3 | 1 | 3µs | 3µs | constant::::CORE:qr constant::CORE:qr (opcode)
1 | 1 | 1 | 3µs | 3µs | Game::Collisions::AABB::::BEGIN@29Game::Collisions::AABB::BEGIN@29
1 | 1 | 1 | 3µs | 3µs | DynaLoader::::dl_find_symbol DynaLoader::dl_find_symbol (xsub)
1 | 1 | 1 | 3µs | 3µs | utf8::::import utf8::import
1 | 1 | 1 | 2µs | 2µs | Config::::TIEHASH Config::TIEHASH
1 | 1 | 1 | 2µs | 2µs | DynaLoader::::dl_load_flags DynaLoader::dl_load_flags
2 | 1 | 1 | 1µs | 1µs | Exporter::Heavy::::CORE:match Exporter::Heavy::CORE:match (opcode)