Filename | /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugins/SlideShowPlugin.pm |
Statements | Executed 1165 statements in 13.2ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1151 | 1 | 1 | 11.8ms | 14.1ms | commonTagsHandler | Foswiki::Plugins::SlideShowPlugin::
1151 | 1 | 1 | 2.32ms | 2.32ms | CORE:match (opcode) | Foswiki::Plugins::SlideShowPlugin::
1 | 1 | 1 | 28µs | 36µs | BEGIN@5 | Foswiki::Plugins::SlideShowPlugin::
1 | 1 | 1 | 21µs | 21µs | initPlugin | Foswiki::Plugins::SlideShowPlugin::
1 | 1 | 1 | 16µs | 35µs | BEGIN@6 | Foswiki::Plugins::SlideShowPlugin::
1 | 1 | 1 | 16µs | 187µs | BEGIN@8 | Foswiki::Plugins::SlideShowPlugin::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # See bottom of file for license and copyright information | ||||
2 | |||||
3 | package Foswiki::Plugins::SlideShowPlugin; | ||||
4 | |||||
5 | 2 | 85µs | 2 | 43µs | # spent 36µs (28+8) within Foswiki::Plugins::SlideShowPlugin::BEGIN@5 which was called:
# once (28µs+8µs) by Foswiki::Plugin::BEGIN@2.14 at line 5 # spent 36µs making 1 call to Foswiki::Plugins::SlideShowPlugin::BEGIN@5
# spent 7µs making 1 call to strict::import |
6 | 2 | 53µs | 2 | 54µs | # spent 35µs (16+19) within Foswiki::Plugins::SlideShowPlugin::BEGIN@6 which was called:
# once (16µs+19µs) by Foswiki::Plugin::BEGIN@2.14 at line 6 # spent 35µs making 1 call to Foswiki::Plugins::SlideShowPlugin::BEGIN@6
# spent 19µs making 1 call to warnings::import |
7 | |||||
8 | 1 | 11µs | 1 | 171µs | # spent 187µs (16+171) within Foswiki::Plugins::SlideShowPlugin::BEGIN@8 which was called:
# once (16µs+171µs) by Foswiki::Plugin::BEGIN@2.14 at line 10 # spent 171µs making 1 call to vars::import |
9 | $web $topic $user $installWeb $debug | ||||
10 | 1 | 279µs | 1 | 187µs | ); # spent 187µs making 1 call to Foswiki::Plugins::SlideShowPlugin::BEGIN@8 |
11 | |||||
12 | 1 | 2µs | our $VERSION = '$Rev$'; | ||
13 | 1 | 1µs | our $RELEASE = '3.0.0'; | ||
14 | 1 | 1µs | our $SHORTDESCRIPTION = | ||
15 | 'Create web based presentations based on topics with headings'; | ||||
16 | 1 | 1µs | our $NO_PREFS_IN_TOPIC = 1; | ||
17 | |||||
18 | # spent 21µs within Foswiki::Plugins::SlideShowPlugin::initPlugin which was called:
# once (21µs+0s) by Foswiki::Plugin::__ANON__[/usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugin.pm:235] at line 228 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugin.pm | ||||
19 | 1 | 4µs | ( $topic, $web, $user, $installWeb ) = @_; | ||
20 | |||||
21 | # check for Plugins.pm versions | ||||
22 | 1 | 2µs | if ( $Foswiki::Plugins::VERSION < 1 ) { | ||
23 | Foswiki::Func::writeWarning( | ||||
24 | "Version mismatch between SlideShowPlugin and Plugins.pm"); | ||||
25 | return 0; | ||||
26 | } | ||||
27 | |||||
28 | 1 | 11µs | return 1; | ||
29 | } | ||||
30 | |||||
31 | # spent 14.1ms (11.8+2.32) within Foswiki::Plugins::SlideShowPlugin::commonTagsHandler which was called 1151 times, avg 12µs/call:
# 1151 times (11.8ms+2.32ms) by Foswiki::Plugin::invoke at line 287 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Plugin.pm, avg 12µs/call | ||||
32 | ### my ( $text, $topic, $web ) = @_; # do not uncomment, use $_[0], $_[1]... instead | ||||
33 | 1151 | 12.7ms | 1151 | 2.32ms | if ( $_[0] =~ /%SLIDESHOWSTART/ ) { # spent 2.32ms making 1151 calls to Foswiki::Plugins::SlideShowPlugin::CORE:match, avg 2µs/call |
34 | require Foswiki::Plugins::SlideShowPlugin::SlideShow; | ||||
35 | Foswiki::Plugins::SlideShowPlugin::SlideShow::init($installWeb); | ||||
36 | $_[0] = Foswiki::Plugins::SlideShowPlugin::SlideShow::handler(@_); | ||||
37 | } | ||||
38 | } | ||||
39 | |||||
40 | 1 | 6µs | 1; | ||
41 | __END__ | ||||
# spent 2.32ms within Foswiki::Plugins::SlideShowPlugin::CORE:match which was called 1151 times, avg 2µs/call:
# 1151 times (2.32ms+0s) by Foswiki::Plugins::SlideShowPlugin::commonTagsHandler at line 33, avg 2µs/call |