← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 19:05:14 2015
Reported on Fri Jul 31 19:08:09 2015

Filename/var/www/foswiki11/lib/Foswiki/Store/RcsWrap.pm
StatementsExecuted 94714 statements in 361ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
4735271341ms1.54sFoswiki::Store::RcsWrap::::getHandlerFoswiki::Store::RcsWrap::getHandler
1112.52ms2.77msFoswiki::Store::RcsWrap::::BEGIN@23Foswiki::Store::RcsWrap::BEGIN@23
1112.23ms10.5msFoswiki::Store::RcsWrap::::BEGIN@26Foswiki::Store::RcsWrap::BEGIN@26
11113µs26µsFoswiki::Store::RcsWrap::::BEGIN@20Foswiki::Store::RcsWrap::BEGIN@20
11110µs15µsFoswiki::Store::RcsWrap::::BEGIN@21Foswiki::Store::RcsWrap::BEGIN@21
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::Store::RcsWrap
6
7Implementation of =Foswiki::Store= for stores that use the RCS version
8control system to manage disk files. This class inherits most of its
9functionality from =Foswiki::Store::VC::Store=, which it shares with
10=Foswiki::Store::RcsLite=.
11
12For readers who are familiar with Foswiki version 1.0, this class
13has no equivalent in Foswiki 1.0. The equivalent of the old
14=Foswiki::Store::RcsWrap= is the new =Foswiki::Store::VC::RcsWrapHandler=.
15
16=cut
17
18package Foswiki::Store::RcsWrap;
19
20235µs238µs
# spent 26µs (13+13) within Foswiki::Store::RcsWrap::BEGIN@20 which was called: # once (13µs+13µs) by Foswiki::new at line 20
use strict;
# spent 26µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@20 # spent 13µs making 1 call to strict::import
21228µs220µs
# spent 15µs (10+5) within Foswiki::Store::RcsWrap::BEGIN@21 which was called: # once (10µs+5µs) by Foswiki::new at line 21
use warnings;
# spent 15µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@21 # spent 5µs making 1 call to warnings::import
22
232117µs12.77ms
# spent 2.77ms (2.52+246µs) within Foswiki::Store::RcsWrap::BEGIN@23 which was called: # once (2.52ms+246µs) by Foswiki::new at line 23
use Foswiki::Store::VC::Store ();
# spent 2.77ms making 1 call to Foswiki::Store::RcsWrap::BEGIN@23
2416µsour @ISA = ('Foswiki::Store::VC::Store');
25
262126µs110.5ms
# spent 10.5ms (2.23+8.31) within Foswiki::Store::RcsWrap::BEGIN@26 which was called: # once (2.23ms+8.31ms) by Foswiki::new at line 26
use Foswiki::Store::VC::RcsWrapHandler ();
# spent 10.5ms making 1 call to Foswiki::Store::RcsWrap::BEGIN@26
27
28
# spent 1.54s (341ms+1.20) within Foswiki::Store::RcsWrap::getHandler which was called 47352 times, avg 33µs/call: # 46604 times (337ms+1.18s) by Foswiki::Store::VC::Store::topicExists at line 384 of /var/www/foswiki11/lib/Foswiki/Store/VC/Store.pm, avg 32µs/call # 426 times (2.28ms+13.5ms) by Foswiki::Store::VC::Store::readTopic at line 76 of /var/www/foswiki11/lib/Foswiki/Store/VC/Store.pm, avg 37µs/call # 176 times (1.31ms+7.07ms) by Foswiki::Store::VC::Store::webExists at line 373 of /var/www/foswiki11/lib/Foswiki/Store/VC/Store.pm, avg 48µs/call # 102 times (553µs+3.12ms) by Foswiki::Store::VC::Store::eachWeb at line 428 of /var/www/foswiki11/lib/Foswiki/Store/VC/Store.pm, avg 36µs/call # 41 times (184µs+1.18ms) by Foswiki::Store::VC::Store::eachTopic at line 414 of /var/www/foswiki11/lib/Foswiki/Store/VC/Store.pm, avg 33µs/call # 2 times (10µs+61µs) by Foswiki::Store::VC::Store::getRevisionHistory at line 236 of /var/www/foswiki11/lib/Foswiki/Store/VC/Store.pm, avg 35µs/call # once (8µs+89µs) by Foswiki::Store::VC::Store::attachmentExists at line 184 of /var/www/foswiki11/lib/Foswiki/Store/VC/Store.pm
sub getHandler {
294735215.4ms my $this = shift;
3047352345ms473521.20s return new Foswiki::Store::VC::RcsWrapHandler( $this, @_ );
# spent 1.20s making 47352 calls to Foswiki::Store::VC::RcsWrapHandler::new, avg 25µs/call
31}
32
3312µs1;
34__END__