Filename | /var/www/foswiki11/lib/Foswiki/Store/RcsWrap.pm |
Statements | Executed 94714 statements in 361ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
47352 | 7 | 1 | 341ms | 1.54s | getHandler | Foswiki::Store::RcsWrap::
1 | 1 | 1 | 2.52ms | 2.77ms | BEGIN@23 | Foswiki::Store::RcsWrap::
1 | 1 | 1 | 2.23ms | 10.5ms | BEGIN@26 | Foswiki::Store::RcsWrap::
1 | 1 | 1 | 13µs | 26µs | BEGIN@20 | Foswiki::Store::RcsWrap::
1 | 1 | 1 | 10µs | 15µs | BEGIN@21 | Foswiki::Store::RcsWrap::
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 | |||||
7 | Implementation of =Foswiki::Store= for stores that use the RCS version | ||||
8 | control system to manage disk files. This class inherits most of its | ||||
9 | functionality from =Foswiki::Store::VC::Store=, which it shares with | ||||
10 | =Foswiki::Store::RcsLite=. | ||||
11 | |||||
12 | For readers who are familiar with Foswiki version 1.0, this class | ||||
13 | has 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 | |||||
18 | package Foswiki::Store::RcsWrap; | ||||
19 | |||||
20 | 2 | 35µs | 2 | 38µ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 # spent 26µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@20
# spent 13µs making 1 call to strict::import |
21 | 2 | 28µs | 2 | 20µ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 # spent 15µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@21
# spent 5µs making 1 call to warnings::import |
22 | |||||
23 | 2 | 117µs | 1 | 2.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 # spent 2.77ms making 1 call to Foswiki::Store::RcsWrap::BEGIN@23 |
24 | 1 | 6µs | our @ISA = ('Foswiki::Store::VC::Store'); | ||
25 | |||||
26 | 2 | 126µs | 1 | 10.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 # 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 | ||||
29 | 47352 | 15.4ms | my $this = shift; | ||
30 | 47352 | 345ms | 47352 | 1.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 | |||||
33 | 1 | 2µs | 1; | ||
34 | __END__ |