← 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 17:10:45 2013
Reported on Tue Oct 15 17:11:27 2013

Filename/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/modifier.pm
StatementsExecuted 10 statements in 238µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11119µs166µsKoha::QueryParser::Driver::PQF::query_plan::modifier::::BEGIN@2Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@2
11111µs23µ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;
2340µs2314µs
# spent 166µs (19+148) within Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@2 which was called: # once (19µs+148µs) by Koha::QueryParser::Driver::PQF::BEGIN@12 at line 2
use base 'OpenILS::QueryParser::query_plan::modifier';
# spent 166µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@2 # spent 148µs making 1 call to base::import
3
4327µs218µs
# spent 14µs (11+4) within Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@4 which was called: # once (11µs+4µ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 4µs making 1 call to strict::import
53168µs235µs
# spent 23µs (11+12) within Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@5 which was called: # once (11µs+12µs) by Koha::QueryParser::Driver::PQF::BEGIN@12 at line 5
use warnings;
# spent 23µs making 1 call to Koha::QueryParser::Driver::PQF::query_plan::modifier::BEGIN@5 # spent 12µ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
3313µs1;