← 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:44 2011

Filename/usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/RcsWrap.pm
StatementsExecuted 704 statements in 4.74ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1114.91ms5.62msFoswiki::Store::RcsWrap::::BEGIN@23Foswiki::Store::RcsWrap::BEGIN@23
347514.31ms29.3msFoswiki::Store::RcsWrap::::getHandlerFoswiki::Store::RcsWrap::getHandler
1114.13ms20.5msFoswiki::Store::RcsWrap::::BEGIN@26Foswiki::Store::RcsWrap::BEGIN@26
11125µs33µsFoswiki::Store::RcsWrap::::BEGIN@20Foswiki::Store::RcsWrap::BEGIN@20
11117µs35µ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
20248µs241µs
# spent 33µs (25+8) within Foswiki::Store::RcsWrap::BEGIN@20 which was called: # once (25µs+8µs) by Foswiki::new at line 20
use strict;
# spent 33µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@20 # spent 8µs making 1 call to strict::import
21246µs253µs
# spent 35µs (17+18) within Foswiki::Store::RcsWrap::BEGIN@21 which was called: # once (17µs+18µs) by Foswiki::new at line 21
use warnings;
# spent 35µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@21 # spent 18µs making 1 call to warnings::import
22
232189µs15.62ms
# spent 5.62ms (4.91+713µs) within Foswiki::Store::RcsWrap::BEGIN@23 which was called: # once (4.91ms+713µs) by Foswiki::new at line 23
use Foswiki::Store::VC::Store ();
# spent 5.62ms making 1 call to Foswiki::Store::RcsWrap::BEGIN@23
24110µsour @ISA = ('Foswiki::Store::VC::Store');
25
262200µs120.5ms
# spent 20.5ms (4.13+16.3) within Foswiki::Store::RcsWrap::BEGIN@26 which was called: # once (4.13ms+16.3ms) by Foswiki::new at line 26
use Foswiki::Store::VC::RcsWrapHandler ();
# spent 20.5ms making 1 call to Foswiki::Store::RcsWrap::BEGIN@26
27
28
# spent 29.3ms (4.31+25.0) within Foswiki::Store::RcsWrap::getHandler which was called 347 times, avg 84µs/call: # 272 times (3.44ms+19.2ms) by Foswiki::Store::VC::Store::topicExists at line 462 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Store.pm, avg 83µs/call # 70 times (760µs+5.25ms) by Foswiki::Store::VC::Store::readTopic at line 89 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Store.pm, avg 86µs/call # 2 times (53µs+146µs) by Foswiki::Store::VC::Store::webExists at line 451 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Store.pm, avg 99µs/call # 2 times (32µs+166µs) by Foswiki::Store::VC::Store::getRevisionHistory at line 288 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Store.pm, avg 99µs/call # once (25µs+153µs) by Foswiki::Store::VC::Store::eachTopic at line 492 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/VC/Store.pm
sub getHandler {
296944.24ms my $this = shift;
3034725.0ms return new Foswiki::Store::VC::RcsWrapHandler( $this, @_ );
# spent 25.0ms making 347 calls to Foswiki::Store::VC::RcsWrapHandler::new, avg 72µs/call
31}
32
3316µs1;
34__END__