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

Filename/var/www/foswikidev/core/lib/Foswiki/Store/Interfaces/SearchAlgorithm.pm
StatementsExecuted 21 statements in 281µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11116µs28µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@4Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@4
1119µs34µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@6Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@6
1119µs13µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@5Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5
1114µs4µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@10Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@10
1114µs4µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@8Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@8
1114µs4µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@17Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@17
1113µs3µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@11Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@11
1113µs3µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@14Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@14
1113µs3µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@12Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@12
1113µs3µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@9Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@9
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
2package Foswiki::Store::Interfaces::SearchAlgorithm;
3
4227µs240µs
# spent 28µs (16+12) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@4 which was called: # once (16µs+12µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 4
use strict;
# spent 28µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@4 # spent 12µs making 1 call to strict::import
5223µs216µs
# spent 13µs (9+4) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5 which was called: # once (9µs+4µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 5
use warnings;
# spent 13µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5 # spent 4µs making 1 call to warnings::import
6228µs258µs
# spent 34µs (9+24) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@6 which was called: # once (9µs+24µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 6
use Assert;
# spent 34µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@6 # spent 24µs making 1 call to Exporter::import
7
8219µs14µs
# spent 4µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@8 which was called: # once (4µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 8
use Foswiki ();
9218µs13µs
# spent 3µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@9 which was called: # once (3µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 9
use Foswiki::Plugins ();
10219µs14µs
# spent 4µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@10 which was called: # once (4µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 10
use Foswiki::Sandbox ();
11218µs13µs
# spent 3µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@11 which was called: # once (3µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 11
use Foswiki::WebFilter ();
12219µs13µs
# spent 3µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@12 which was called: # once (3µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 12
use Foswiki::Meta ();
13
14259µs13µs
# spent 3µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@14 which was called: # once (3µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 14
use Foswiki::Store::Interfaces::QueryAlgorithm ();
15111µsour @ISA = ('Foswiki::Store::Interfaces::QueryAlgorithm');
16
17
# spent 4µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@17 which was called: # once (4µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 22
BEGIN {
1815µs if ( $Foswiki::cfg{UseLocale} ) {
19 require locale;
20 import locale();
21 }
22131µs14µs}
23
24=begin TML
25
26---+ package Foswiki::Store::Interfaces::SearchAlgorithm
27
28DEPRECATED - all SearchAlgorithm and QueryAlgorithm use the same calling convention.
29
30Interface to search algorithms.
31Implementations of this interface are found in Foswiki/Store/SearchAlgorithms.
32
33---++ StaticMethod query( $query, $webs, $inputTopicSet, $session, $options ) -> $infoCache
34 * =$query= - A Foswiki::Search::Node object. The tokens() method of
35 this object returns the list of search tokens.
36 * =$web= - name of the web being searched, or may be an array reference
37 to a set of webs to search
38 * =$inputTopicSet= - iterator over names of topics in that web to search
39 * =$session= - reference to the store object
40 * =$options= - hash of requested options
41This is the top-level interface to a search algorithm.
42
43Return a Foswiki::Search::ResultSet.
44
45=cut
46
4713µs1;
48
49__END__