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

Filename/usr/local/src/github.com/foswiki/core/lib/Foswiki/Store/Interfaces/SearchAlgorithm.pm
StatementsExecuted 20 statements in 453µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11125µs32µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@4Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@4
11116µs54µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@6Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@6
11116µs34µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@5Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5
1119µs9µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@8Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@8
1119µs9µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@14Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@14
1119µs9µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@10Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@10
1119µs9µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@9Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@9
1119µs9µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@12Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@12
1119µs9µsFoswiki::Store::Interfaces::SearchAlgorithm::::BEGIN@11Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@11
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
4246µs239µs
# spent 32µs (25+7) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@4 which was called: # once (25µs+7µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 4
use strict;
# spent 32µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@4 # spent 7µs making 1 call to strict::import
5244µs251µs
# spent 34µs (16+17) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5 which was called: # once (16µs+17µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 5
use warnings;
# spent 34µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@5 # spent 17µs making 1 call to warnings::import
6245µs292µs
# spent 54µs (16+38) within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@6 which was called: # once (16µs+38µs) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 6
use Assert;
# spent 54µs making 1 call to Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@6 # spent 38µs making 1 call to Assert::import
7
8244µs19µs
# spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@8 which was called: # once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 8
use Foswiki ();
9240µs19µs
# spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@9 which was called: # once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 9
use Foswiki::Plugins ();
10238µs19µs
# spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@10 which was called: # once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 10
use Foswiki::Sandbox ();
11238µs19µs
# spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@11 which was called: # once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 11
use Foswiki::WebFilter ();
12246µs19µs
# spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@12 which was called: # once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 12
use Foswiki::Meta ();
13
14294µs19µs
# spent 9µs within Foswiki::Store::Interfaces::SearchAlgorithm::BEGIN@14 which was called: # once (9µs+0s) by Foswiki::Store::Interfaces::QueryAlgorithm::BEGIN@8 at line 14
use Foswiki::Store::Interfaces::QueryAlgorithm ();
15112µsour @ISA = ('Foswiki::Store::Interfaces::QueryAlgorithm');
16
17=begin TML
18
19---+ package Foswiki::Store::Interfaces::SearchAlgorithm
20
21DEPRECATED - all SearchAlgorithm and QueryAlgorithm use the same calling convention.
22
23Interface to search algorithms.
24Implementations of this interface are found in Foswiki/Store/SearchAlgorithms.
25
26---++ StaticMethod query( $query, $webs, $inputTopicSet, $session, $options ) -> $infoCache
27 * =$query= - A Foswiki::Search::Node object. The tokens() method of
28 this object returns the list of search tokens.
29 * =$web= - name of the web being searched, or may be an array reference
30 to a set of webs to search
31 * =$inputTopicSet= - iterator over names of topics in that web to search
32 * =$session= - reference to the store object
33 * =$options= - hash of requested options
34This is the top-level interface to a search algorithm.
35
36Return a Foswiki::Search::ResultSet.
37
38=cut
39
4016µs1;
41
42__END__