← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 11:58:52 2013
Reported on Tue Oct 15 12:02:28 2013

Filename/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/modifier.pm
StatementsExecuted 10 statements in 177µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs173µsKoha::QueryParser::Driver::PQF::query_plan::modifier::::BEGIN@2Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@2
11112µs24µsKoha::QueryParser::Driver::PQF::query_plan::modifier::::BEGIN@5Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@5
11111µs14µsKoha::QueryParser::Driver::PQF::query_plan::modifier::::BEGIN@4Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@4
0000s0sKoha::QueryParser::Driver::PQF::query_plan::modifier::::target_syntaxKoha::QueryParser::Driver::PQF::query_plan::modifier::target_syntax
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Koha::QueryParser::Driver::PQF::query_plan::modifier;
2336µs2329µs
# spent 173µs (18+156) within Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@2 which was called: # once (18µs+156µs) by Koha::QueryParser::Driver::PQF::BEGIN@12 at line 2
use base 'OpenILS::QueryParser::query_plan::modifier';
# spent 173µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@2 # spent 156µs making 1 call to base::import
3
4329µs218µs
# spent 14µs (11+3) within Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@4 which was called: # once (11µs+3µs) by Koha::QueryParser::Driver::PQF::BEGIN@12 at line 4
use strict;
# spent 14µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@4 # spent 3µs making 1 call to strict::import
53110µs237µs
# spent 24µs (12+13) within Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@5 which was called: # once (12µs+13µs) by Koha::QueryParser::Driver::PQF::BEGIN@12 at line 5
use warnings;
# spent 24µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@5 # spent 13µs making 1 call to warnings::import
6
7=head1 NAME
8
- -
23sub target_syntax {
24 my ($self, $server, $query_plan) = @_;
25 my $pqf = '';
26 my @fields;
27
28 my $attributes = $query_plan->QueryParser->bib1_mapping_by_name('modifier', $self->name, $server);
29 $pqf = ($attributes->{'op'} ? $attributes->{'op'} . ' ' : '') . ($self->negate ? '@not @attr 1=_ALLRECORDS @attr 2=103 "" ' : '') . $attributes->{'attr_string'};
30 return $pqf;
31}
32
3312µs1;