← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/local/src/github.com/foswiki/core/bin/view
  Run on Sun Dec 4 17:17:59 2011
Reported on Sun Dec 4 17:26:50 2011

Filename/usr/local/src/github.com/foswiki/core/lib/Foswiki/Infix/Error.pm
StatementsExecuted 8 statements in 333µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11125µs32µsFoswiki::Infix::Error::::BEGIN@13Foswiki::Infix::Error::BEGIN@13
11117µs35µsFoswiki::Infix::Error::::BEGIN@14Foswiki::Infix::Error::BEGIN@14
1119µs9µsFoswiki::Infix::Error::::BEGIN@16Foswiki::Infix::Error::BEGIN@16
0000s0sFoswiki::Infix::Error::::newFoswiki::Infix::Error::new
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1# See bottom of file for license and copyright information
2
3=begin TML
4
5---+ package Foswiki::Infix::Error
6
7Class of errors used with Foswiki::Infix::Parser
8
9=cut
10
11package Foswiki::Infix::Error;
12
13245µs240µs
# spent 32µs (25+7) within Foswiki::Infix::Error::BEGIN@13 which was called: # once (25µs+7µs) by Foswiki::Search::BEGIN@26 at line 13
use strict;
# spent 32µs making 1 call to Foswiki::Infix::Error::BEGIN@13 # spent 7µs making 1 call to strict::import
14244µs253µs
# spent 35µs (17+18) within Foswiki::Infix::Error::BEGIN@14 which was called: # once (17µs+18µs) by Foswiki::Search::BEGIN@26 at line 14
use warnings;
# spent 35µs making 1 call to Foswiki::Infix::Error::BEGIN@14 # spent 18µs making 1 call to warnings::import
15
162221µs19µs
# spent 9µs within Foswiki::Infix::Error::BEGIN@16 which was called: # once (9µs+0s) by Foswiki::Search::BEGIN@26 at line 16
use Error ();
# spent 9µs making 1 call to Foswiki::Infix::Error::BEGIN@16
17116µsour @ISA = ('Error');
18
19sub new {
20 my ( $class, $message, $expr, $at ) = @_;
21 if ( defined $expr && length($expr) ) {
22 $message .= " in '$expr'";
23 }
24 if ( defined $at && length($at) ) {
25 $message .= " at '$at'";
26 }
27 return $class->SUPER::new(
28 -text => $message,
29 -file => 'dummy',
30 -line => 'dummy'
31 );
32}
33
3416µs1;
35__END__