← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 18:42:36 2015
Reported on Fri Jul 31 18:48:14 2015

Filename/var/www/foswikidev/core/lib/Foswiki/Store/RcsWrap.pm
StatementsExecuted 53396 statements in 191ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
2669371187ms738msFoswiki::Store::RcsWrap::::getHandlerFoswiki::Store::RcsWrap::getHandler
1113.26ms3.52msFoswiki::Store::RcsWrap::::BEGIN@23Foswiki::Store::RcsWrap::BEGIN@23
1112.46ms13.8msFoswiki::Store::RcsWrap::::BEGIN@26Foswiki::Store::RcsWrap::BEGIN@26
11114µs27µsFoswiki::Store::RcsWrap::::BEGIN@20Foswiki::Store::RcsWrap::BEGIN@20
11110µs14µ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::Rcs::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::Rcs::RcsWrapHandler=.
15
16=cut
17
18package Foswiki::Store::RcsWrap;
19
20230µs240µs
# spent 27µs (14+13) within Foswiki::Store::RcsWrap::BEGIN@20 which was called: # once (14µs+13µs) by Foswiki::load_package at line 20
use strict;
# spent 27µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@20 # spent 13µs making 1 call to strict::import
21226µs218µs
# spent 14µs (10+4) within Foswiki::Store::RcsWrap::BEGIN@21 which was called: # once (10µs+4µs) by Foswiki::load_package at line 21
use warnings;
# spent 14µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@21 # spent 4µs making 1 call to warnings::import
22
232135µs13.52ms
# spent 3.52ms (3.26+260µs) within Foswiki::Store::RcsWrap::BEGIN@23 which was called: # once (3.26ms+260µs) by Foswiki::load_package at line 23
use Foswiki::Store::Rcs::Store ();
# spent 3.52ms making 1 call to Foswiki::Store::RcsWrap::BEGIN@23
2416µsour @ISA = ('Foswiki::Store::Rcs::Store');
25
262137µs113.8ms
# spent 13.8ms (2.46+11.3) within Foswiki::Store::RcsWrap::BEGIN@26 which was called: # once (2.46ms+11.3ms) by Foswiki::load_package at line 26
use Foswiki::Store::Rcs::RcsWrapHandler ();
# spent 13.8ms making 1 call to Foswiki::Store::RcsWrap::BEGIN@26
27
28
# spent 738ms (187+552) within Foswiki::Store::RcsWrap::getHandler which was called 26693 times, avg 28µs/call: # 26327 times (185ms+545ms) by Foswiki::Store::Rcs::Store::readTopic at line 99 of /var/www/foswikidev/core/lib/Foswiki/Store/Rcs/Store.pm, avg 28µs/call # 197 times (960µs+3.97ms) by Foswiki::Store::Rcs::Store::topicExists at line 537 of /var/www/foswikidev/core/lib/Foswiki/Store/Rcs/Store.pm, avg 25µs/call # 100 times (514µs+1.86ms) by Foswiki::Store::Rcs::Store::webExists at line 526 of /var/www/foswikidev/core/lib/Foswiki/Store/Rcs/Store.pm, avg 24µs/call # 40 times (186µs+630µs) by Foswiki::Store::Rcs::Store::eachTopic at line 589 of /var/www/foswikidev/core/lib/Foswiki/Store/Rcs/Store.pm, avg 20µs/call # 26 times (113µs+531µs) by Foswiki::Store::Rcs::Store::eachWeb at line 603 of /var/www/foswikidev/core/lib/Foswiki/Store/Rcs/Store.pm, avg 25µs/call # 2 times (10µs+32µs) by Foswiki::Store::Rcs::Store::getRevisionHistory at line 274 of /var/www/foswikidev/core/lib/Foswiki/Store/Rcs/Store.pm, avg 21µs/call # once (4µs+29µs) by Foswiki::Store::Rcs::Store::attachmentExists at line 230 of /var/www/foswikidev/core/lib/Foswiki/Store/Rcs/Store.pm
sub getHandler {
29266937.35ms my $this = shift;
3026693183ms26693552ms return new Foswiki::Store::Rcs::RcsWrapHandler( $this, @_ );
# spent 552ms making 26693 calls to Foswiki::Store::Rcs::RcsWrapHandler::new, avg 21µs/call
31}
32
3313µs1;
34__END__