Filename | /usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/RcsWrap.pm |
Statements | Executed 704 statements in 4.74ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 4.91ms | 5.62ms | BEGIN@23 | Foswiki::Store::RcsWrap::
347 | 5 | 1 | 4.31ms | 29.3ms | getHandler | Foswiki::Store::RcsWrap::
1 | 1 | 1 | 4.13ms | 20.5ms | BEGIN@26 | Foswiki::Store::RcsWrap::
1 | 1 | 1 | 25µs | 33µs | BEGIN@20 | Foswiki::Store::RcsWrap::
1 | 1 | 1 | 17µs | 35µ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 | 48µs | 2 | 41µ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 # spent 33µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@20
# spent 8µs making 1 call to strict::import |
21 | 2 | 46µs | 2 | 53µ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 # spent 35µs making 1 call to Foswiki::Store::RcsWrap::BEGIN@21
# spent 18µs making 1 call to warnings::import |
22 | |||||
23 | 2 | 189µs | 1 | 5.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 # spent 5.62ms making 1 call to Foswiki::Store::RcsWrap::BEGIN@23 |
24 | 1 | 10µs | our @ISA = ('Foswiki::Store::VC::Store'); | ||
25 | |||||
26 | 2 | 200µs | 1 | 20.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 # 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 | ||||
29 | 347 | 597µs | my $this = shift; | ||
30 | 347 | 3.64ms | 347 | 25.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 | |||||
33 | 1 | 6µs | 1; | ||
34 | __END__ |