← 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:46:19 2015

Filename/Users/ap13/pathogens/Roary/lib/Bio/Roary/CommandLine/Common.pm
StatementsExecuted 8 statements in 408µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111787µs1.24msBio::Roary::CommandLine::Common::::BEGIN@13Bio::Roary::CommandLine::Common::BEGIN@13
11133µs4.74msBio::Roary::CommandLine::Common::::BEGIN@12Bio::Roary::CommandLine::Common::BEGIN@12
11110µs113µsBio::Roary::CommandLine::Common::::BEGIN@38Bio::Roary::CommandLine::Common::BEGIN@38
0000s0sBio::Roary::CommandLine::Common::::__ANON__[lib/Bio/Roary/CommandLine/Common.pm:36]Bio::Roary::CommandLine::Common::__ANON__[lib/Bio/Roary/CommandLine/Common.pm:36]
0000s0sBio::Roary::CommandLine::Common::::usage_textBio::Roary::CommandLine::Common::usage_text
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Bio::Roary::CommandLine::Common;
2# ABSTRACT: Common command line settings
3
4=head1 SYNOPSIS
5
6Common command line settings
7
8 extends 'Bio::Roary::CommandLine::Common';
9
10=cut
11
12248µs29.44ms
# spent 4.74ms (33µs+4.70) within Bio::Roary::CommandLine::Common::BEGIN@12 which was called: # once (33µs+4.70ms) by Module::Runtime::require_module at line 12
use Moose;
# spent 4.74ms making 1 call to Bio::Roary::CommandLine::Common::BEGIN@12 # spent 4.70ms making 1 call to Moose::import
132314µs21.25ms
# spent 1.24ms (787µs+449µs) within Bio::Roary::CommandLine::Common::BEGIN@13 which was called: # once (787µs+449µs) by Module::Runtime::require_module at line 13
use FindBin;
# spent 1.24ms making 1 call to Bio::Roary::CommandLine::Common::BEGIN@13 # spent 16µs making 1 call to Exporter::import
14
15
16sub run {
17 my ($self) = @_;
18}
19
20sub usage_text {
21 my ($self) = @_;
22 return "Usage text";
23}
24
25# add our included binaries to the END of the PATH
26before 'run' => sub {
27 my ($self) = @_;
28 my $OPSYS = $^O;
29 my $BINDIR = "$FindBin::RealBin/../binaries/$OPSYS";
30
31 for my $dir ($BINDIR, "$BINDIR/../common", $FindBin::RealBin) {
32 if (-d $dir) {
33 $ENV{PATH} .= ":$dir";
34 }
35 }
3614µs1543µs};
# spent 543µs making 1 call to Moose::before
37
38235µs2215µs
# spent 113µs (10+103) within Bio::Roary::CommandLine::Common::BEGIN@38 which was called: # once (10µs+103µs) by Module::Runtime::require_module at line 38
no Moose;
# spent 113µs making 1 call to Bio::Roary::CommandLine::Common::BEGIN@38 # spent 103µs making 1 call to Moose::unimport
3917µs1;