← Index
NYTProf Performance Profile   « block view • line view • sub view »
For bin/pan_genome_post_analysis
  Run on Fri Mar 27 11:43:32 2015
Reported on Fri Mar 27 11:45:51 2015

Filename/Users/ap13/perl5/lib/perl5/Graph/MSTHeapElem.pm
StatementsExecuted 26846 statements in 58.6ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
50071117.0ms17.0msGraph::MSTHeapElem::::newGraph::MSTHeapElem::new
118153116.8ms16.8msGraph::MSTHeapElem::::cmpGraph::MSTHeapElem::cmp
5007119.05ms9.05msGraph::MSTHeapElem::::valGraph::MSTHeapElem::val
111418µs603µsGraph::MSTHeapElem::::BEGIN@5Graph::MSTHeapElem::BEGIN@5
11124µs54µsGraph::MSTHeapElem::::BEGIN@3Graph::MSTHeapElem::BEGIN@3
11115µs123µsGraph::MSTHeapElem::::BEGIN@7Graph::MSTHeapElem::BEGIN@7
11115µs85µsGraph::MSTHeapElem::::BEGIN@4Graph::MSTHeapElem::BEGIN@4
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Graph::MSTHeapElem;
2
3250µs284µs
# spent 54µs (24+30) within Graph::MSTHeapElem::BEGIN@3 which was called: # once (24µs+30µs) by Graph::BEGIN@34 at line 3
use strict;
# spent 54µs making 1 call to Graph::MSTHeapElem::BEGIN@3 # spent 30µs making 1 call to strict::import
4250µs2155µs
# spent 85µs (15+70) within Graph::MSTHeapElem::BEGIN@4 which was called: # once (15µs+70µs) by Graph::BEGIN@34 at line 4
use vars qw($VERSION @ISA);
# spent 85µs making 1 call to Graph::MSTHeapElem::BEGIN@4 # spent 70µs making 1 call to vars::import
52180µs2641µs
# spent 603µs (418+184) within Graph::MSTHeapElem::BEGIN@5 which was called: # once (418µs+184µs) by Graph::BEGIN@34 at line 5
use Heap071::Elem;
# spent 603µs making 1 call to Graph::MSTHeapElem::BEGIN@5 # spent 38µs making 1 call to Exporter::import
6
72166µs2231µs
# spent 123µs (15+108) within Graph::MSTHeapElem::BEGIN@7 which was called: # once (15µs+108µs) by Graph::BEGIN@34 at line 7
use base 'Heap071::Elem';
# spent 123µs making 1 call to Graph::MSTHeapElem::BEGIN@7 # spent 108µs making 1 call to base::import
8
91600ns$VERSION = 0.01;
10
11
# spent 17.0ms within Graph::MSTHeapElem::new which was called 5007 times, avg 3µs/call: # 5007 times (17.0ms+0s) by Graph::_MST_add at line 2317 of Graph.pm, avg 3µs/call
sub new {
121001420.1ms my $class = shift;
13 bless { u => $_[0], v => $_[1], w => $_[2] }, $class;
14}
15
16
# spent 16.8ms within Graph::MSTHeapElem::cmp which was called 11815 times, avg 1µs/call: # 7211 times (10.0ms+0s) by Heap071::Fibonacci::consolidate at line 409 of Heap071/Fibonacci.pm, avg 1µs/call # 4438 times (6.53ms+0s) by Heap071::Fibonacci::add at line 174 of Heap071/Fibonacci.pm, avg 1µs/call # 166 times (257µs+0s) by Heap071::Fibonacci::consolidate at line 390 of Heap071/Fibonacci.pm, avg 2µs/call
sub cmp {
171181526.1ms ($_[0]->{ w } || 0) <=> ($_[1]->{ w } || 0);
18}
19
20
# spent 9.05ms within Graph::MSTHeapElem::val which was called 5007 times, avg 2µs/call: # 5007 times (9.05ms+0s) by Graph::_heap_walk at line 2375 of Graph.pm, avg 2µs/call
sub val {
21500712.0ms @{ $_[0] }{ qw(u v w) };
22}
23
2415µs1;