Performance Profile Index
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:32 2013

Profile of /usr/share/koha/opac/cgi-bin/opac/opac-search.pl for 10.4s, executing 1170022 statements and 297042 subroutine calls in 336 source files and 155 string evals.
Top 15 Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
171839122.01s2.01sDBI::st::::execute DBI::st::execute (xsub)
1484221.40s1.40sDBI::db::::ping DBI::db::ping (xsub)
811314ms442msTemplate::Parser::::_parse Template::Parser::_parse
2511283ms501msC4::Biblio::::GetMarcStructure C4::Biblio::GetMarcStructure
161911189ms529msXML::LibXML::SAX::Parser::::process_elementXML::LibXML::SAX::Parser::process_element (recurses: max depth 7, inclusive time 818ms)
16111155ms170msDBI::db::::selectrow_array DBI::db::selectrow_array (xsub)
118339583.3ms83.3msDBI::st::::fetchrow DBI::st::fetchrow (xsub)
14978470.8ms75.0msMARC::Field::::subfield MARC::Field::subfield
48333162.0ms531msXML::LibXML::SAX::Parser::::process_nodeXML::LibXML::SAX::Parser::process_node (recurses: max depth 8, inclusive time 1.48s)
16507558.6ms85.6msMARC::Field::::new MARC::Field::new
47112558.1ms96.5msMARC::Record::::field MARC::Record::field
121157.9ms57.9msNet::Z3950::ZOOM::::event Net::Z3950::ZOOM::event (xsub)
200523753.9ms91.0msDBI::st::::fetchrow_hashref DBI::st::fetchrow_hashref (xsub)
16553151.1ms51.1msDBI::::_new_handle DBI::_new_handle (xsub)
11150.3ms95.8msConvert::ASN1::parser::::yyparse Convert::ASN1::parser::yyparse

You can view a treemap of subroutine exclusive time, grouped by package.
NYTProf also generates call-graph files in Graphviz format: inter-package calls, all inter-subroutine calls (probably too complex to render easily).

You can hover over some table cells and headings to view extra information.
Some table column headings can be clicked on to sort the table by that column.
Source Code Files — ordered by exclusive time then name
StmtsExclusive
Time
ReportsSource File
105561.63sline • block • sub/usr/share/koha/lib/C4/Context.pm
1695531.04sline • block • sub/usr/share/koha/lib/C4/Biblio.pm
6286541msline • block • sub/usr/share/koha/lib/C4/Koha.pm
328231450msline • block • subTemplate/Parser.pm
1746404msline • block • sub/usr/share/koha/lib/C4/Branch.pm
73176335msline • block • subXML/LibXML/SAX/Parser.pm
1578285msline • block • sub/usr/share/koha/lib/C4/Items.pm
129389284msline • block • subMARC/Field.pm
1492228msline • block • sub/usr/share/koha/lib/C4/Languages.pm
788126msline • block • sub/usr/share/koha/lib/C4/Reserves.pm
10857110msline • block • subDBI.pm (including 1 string eval)
28081108msline • block • subMARC/Record.pm
76189107msline • block • subConvert/ASN1/parser.pm
6822105msline • block • subZOOM.pm
59799.0msline • block • sub/usr/share/koha/lib/C4/Circulation.pm
2371195.2msline • block • subXML/SAX/Base.pm
1550989.2msline • block • subXML/LibXML.pm
2469082.9msline • block • subMARC/File/XML.pm (including 1 string eval)
1204181.9msline • block • sub/usr/share/koha/lib/C4/Search.pm
1589084.0msline • block • subDateTime/Locale.pm (including 4 string evals)
131369.8msline • block • subXML/LibXSLT.pm
1598968.4msline • block • subTemplate/Directive.pm
1236163.5msline • block • sub/usr/share/koha/lib/C4/Charset.pm
670461.6msline • block • subDBD/mysql.pm
1003858.5msline • block • subParser.yp
6650.2msline • block • subB/Deparse.pm
1945449.9msline • block • subXML/Simple.pm
1311148.6msline • block • subutf8_heavy.pl
178848.3msline • block • sub/usr/share/koha/lib/C4/Tags.pm
1566747.1msline • block • subMARC/File/USMARC.pm
2127546.5msline • block • subMARC/File/SAX.pm
736744.4msline • block • subExporter.pm
587137.6msline • block • sub/usr/share/koha/lib/C4/XSLT.pm
706035.3msline • block • subExporter/Heavy.pm
31931.3msline • block • subTemplate/Document.pm (including 8 string evals)
798129.9msline • block • subDate/Manip/Base.pm (including 1 string eval)
4427.6msline • block • sub/usr/share/koha/lib/C4/Output.pm
991826.2msline • block • subEncode.pm
303225.1msline • block • sub/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/modules/opac-results.tt
5924.6msline • block • subDate/Manip/Date.pm
3623.9msline • block • subTemplate/Grammar.pm
1055322.0msline • block • sub/usr/share/koha/lib/C4/Templates.pm
73021.9msline • block • sub/usr/share/koha/opac/cgi-bin/opac/opac-search.pl
175023.0msline • block • subCGI.pm (including 24 string evals)
22118.8msline • block • subMath/BigInt.pm (including 1 string eval)
359116.5msline • block • subvars.pm
29416.0msline • block • subDateTime.pm
142714.8msline • block • subNet/Z3950/ZOOM.pm
7414.1msline • block • sub/usr/share/koha/lib/C4/Members.pm
603314.1msline • block • subconstant.pm
2913.7msline • block • sub/usr/share/koha/lib/OpenILS/QueryParser.pm
16113.5msline • block • sub/usr/share/koha/lib/C4/Auth.pm
4813.0msline • block • subCGI/Session/Driver/mysql.pm
32311.8msline • block • subMath/BigInt/Calc.pm
43712.0msline • block • subJSON/PP.pm (including 21 string evals)
276011.6msline • block • subTemplate/Context.pm
405011.4msline • block • subTemplate/Filters.pm
2911.3msline • block • subDate/Manip/Zones.pm
83811.2msline • block • subYAML/Loader.pm
62310.8msline • block • subDynaLoader.pm
1710.8msline • block • subDateTime/Locale/Catalog.pm
4210.7msline • block • subDate/Manip/Recur.pm
39610.8msline • block • subDate/Manip/TZ.pm (including 1 string eval)
128910.1msline • block • subTemplate/Provider.pm
939.79msline • block • subMIME/Lite.pm (including 6 string evals)
419.21msline • block • subSet/Infinite.pm
11868.64msline • block • subTemplate/Stash.pm
20488.39msline • block • subNet/LDAP/Constant.pm
15589.08msline • block • subbase.pm (including 18 string evals)
487.72msline • block • subDate/Manip.pm
5007.65msline • block • subCGI/Session.pm (including 3 string evals)
436.85msline • block • subNet/LDAP.pm
36686.71msline • block • subEncode/Alias.pm (including 1 string eval)
1946.70msline • block • subLWP/UserAgent.pm
1856.12msline • block • subData/Dumper.pm
525.99msline • block • sub/usr/share/koha/lib/C4/Letters.pm (variables that impact regex performance for whole application seen here)
14905.93msline • block • substrict.pm
125.87msline • block • subDateTime/TimeZone/Catalog.pm
325.67msline • block • subModern/Perl.pm
5986.20msline • block • subDateTime/Format/Builder/Parser.pm (including 7 string evals)
305412.2msline • block • subYAML/Base.pm (including 21 string evals)
385.43msline • block • sub/usr/share/koha/lib/Koha/QueryParser/Driver/PQF.pm
365.34msline • block • subDate/Manip/Delta.pm
445.28msline • block • subSet/Infinite/Basic.pm
4185.69msline • block • subYAML.pm (including 1 string eval)
11455.21msline • block • subbytes_heavy.pl
195.03msline • block • subHTTP/Message.pm (including 1 string eval)
484.91msline • block • subCGI/Session/Driver/DBI.pm
4834.81msline • block • subConvert/ASN1.pm
11344.76msline • block • sub/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-facets.inc
19484.63msline • block • subwarnings.pm
364.62msline • block • subDateTime/Set.pm
444.50msline • block • subIO/Socket.pm
694.52msline • block • subDateTime/TimeZone.pm (including 1 string eval)
2164.40msline • block • subDateTime/Locale/Base.pm
1504.32msline • block • subURI/Split.pm
374.25msline • block • sub/usr/share/koha/lib/C4/Overdues.pm
10944.24msline • block • subTemplate/Iterator.pm
394.24msline • block • subMail/Sendmail.pm (including 1 string eval)
6884.11msline • block • subCGI/Util.pm
1224.11msline • block • subAutoLoader.pm
5434.14msline • block • subXML/SAX/ParserFactory.pm (including 1 string eval)
253.99msline • block • sub/usr/share/koha/lib/C4/Budgets.pm
603.94msline • block • subCwd.pm (including 2 string evals)
203.87msline • block • subDBI/Const/GetInfoType.pm
243.85msline • block • subAuthen/CAS/Client.pm
273.81msline • block • subDateTime/SpanSet.pm
1043.73msline • block • subXML/LibXML/Error.pm
133.65msline • block • subBusiness/ISBN/Data.pm
563.58msline • block • subB.pm
413.54msline • block • subTemplate/VMethods.pm
573.49msline • block • sub/usr/share/koha/lib/C4/Auth_with_ldap.pm
313.48msline • block • sub/usr/share/koha/lib/C4/Accounts.pm
5973.39msline • block • sub/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/page-numbers.inc
2793.38msline • block • subDate/Manip/Obj.pm
703.37msline • block • sub/usr/share/koha/lib/C4/VirtualShelves.pm
2243.36msline • block • subHTTP/Headers.pm
943.34msline • block • subPOSIX.pm
153.30msline • block • subLingua/Stem.pm
303.21msline • block • subIO/Socket/INET.pm
12873.21msline • block • subLibrary/CallNumber/LC.pm
5583.21msline • block • subMARC/File/Encode.pm
343.16msline • block • subBusiness/ISBN.pm
2173.16msline • block • subTemplate/Config.pm
123.12msline • block • subConvert/ASN1/_decode.pm
533.09msline • block • subIO/Handle.pm (including 1 string eval)
5583.04msline • block • subEncode/Encoding.pm
233.02msline • block • subText/CSV_XS.pm
212.85msline • block • subErrno.pm (including 1 string eval)
352.82msline • block • subFile/Path.pm
4382.94msline • block • subHTTP/Status.pm (including 1 string eval)
372.89msline • block • subReadonly.pm (including 1 string eval)
5142.70msline • block • subClass/Accessor.pm
322.68msline • block • subYAML/Syck.pm
442.64msline • block • subModule/Load/Conditional.pm
3222.60msline • block • subFile/Spec/Unix.pm (including 1 string eval)
422.56msline • block • sub/usr/share/koha/lib/C4/Auth_with_cas.pm
442.68msline • block • subDate/Parse.pm (including 1 string eval)
1472.51msline • block • subFile/Basename.pm
662.51msline • block • subConfig_heavy.pl
362.49msline • block • subSet/Infinite/Arithmetic.pm
342.44msline • block • sub/usr/share/koha/lib/C4/SQLHelper.pm
142.42msline • block • sub/usr/share/koha/lib/C4/OAI/Sets.pm
1152.55msline • block • subJSON.pm (including 4 string evals)
312.30msline • block • sub/usr/share/koha/lib/Koha/Calendar.pm
1322.32msline • block • subMemoize.pm (including 1 string eval)
1432.29msline • block • subXML/LibXML/Common.pm
342.29msline • block • subMARC/Charset.pm
52.27msline • block • subConvert/ASN1/_encode.pm
322.25msline • block • subYAML/Types.pm
1412.23msline • block • subDateTime/Locale/root.pm
292.22msline • block • subString/Random.pm
2762.21msline • block • subCGI/Cookie.pm
272.14msline • block • subNet/LDAP/Message.pm
1532.10msline • block • subXML/SAX.pm
172.09msline • block • subDate/Calc.pm
802.07msline • block • subTemplate/Service.pm
6312.07msline • block • suboverload.pm
282.05msline • block • subDateTime/Duration.pm
331.99msline • block • subURI.pm
121.98msline • block • sub/usr/share/koha/lib/C4/Members/AttributeTypes.pm
1251.98msline • block • subTemplate/Constants.pm
641.95msline • block • subConfig.pm
261.95msline • block • subDateTime/Span.pm
361.95msline • block • subParams/Check.pm
431.94msline • block • sub/usr/share/koha/lib/C4/Dates.pm
131.94msline • block • subIO/Select.pm
2001.94msline • block • subXML/SAX/DocumentLocator.pm
621.86msline • block • subIO/File.pm
101.83msline • block • subHTTP/Response.pm
651.81msline • block • subTemplate.pm
921.81msline • block • subDateTime/Format/Builder.pm (including 1 string eval)
1051.76msline • block • subDateTime/Locale/en.pm
251.75msline • block • sub/usr/share/koha/lib/C4/Members/Attributes.pm
401.74msline • block • subcharnames.pm
301.70msline • block • subAuthen/CAS/Client/Response.pm
181.69msline • block • subHTTP/Config.pm
461.65msline • block • subLocale/Maketext/Simple.pm
211.65msline • block • sub/usr/share/koha/lib/C4/ItemCirculationAlertPreference.pm
211.65msline • block • subSet/Infinite/_recurrence.pm
771.63msline • block • subCarp/Heavy.pm
811.58msline • block • subTime/Local.pm
191.52msline • block • subDateTime/TimeZone/Local.pm
201.51msline • block • subYAML/Node.pm
181.48msline • block • subHTTP/Date.pm
901.64msline • block • subText/CSV.pm (including 1 string eval)
151.44msline • block • subNet/LDAP/Filter.pm
301.43msline • block • subTemplate/Plugins.pm
3131.40msline • block • subURI/Escape.pm
1011.45msline • block • subDateTime/Format/Builder/Parser/generic.pm (including 1 string eval)
131.35msline • block • subEncode/Config.pm
301.34msline • block • sub/usr/share/koha/lib/Koha/DateUtils.pm
411.31msline • block • subre.pm
281.29msline • block • subTime/Zone.pm
201.29msline • block • sub/usr/share/koha/lib/C4/ClassSource.pm
201.28msline • block • sub/usr/share/koha/lib/C4/Message.pm
4321.26msline • block • subfeature.pm
121.25msline • block • subCarp.pm
111.25msline • block • subConvert/ASN1/IO.pm
1461.23msline • block • subSymbol.pm
881.23msline • block • subClass/Factory/Util.pm
91.23msline • block • subTie/Hash.pm
261.21msline • block • subMIME/Types.pm
411.20msline • block • subFindBin.pm
201.18msline • block • subLWP/Protocol.pm
241.16msline • block • subDateTime/TimeZone/OffsetOnly.pm
211.14msline • block • sub/usr/share/koha/lib/C4/Log.pm
181.13msline • block • subParams/ValidateXS.pm
231.12msline • block • subAlgorithm/CheckDigits.pm
61.12msline • block • subunicore/PVA.pl
781.11msline • block • subMARC/Charset/Constants.pm
201.09msline • block • subFcntl.pm
41.08msline • block • subURI/QueryParam.pm
321.06msline • block • subMARC/Charset/Table.pm
711.04msline • block • subTemplate/Base.pm
231.04msline • block • subSocket.pm
471.03msline • block • subDateTime/Infinite.pm
2261.02msline • block • sub/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/masthead.inc
1311.02msline • block • subDBI/Const/GetInfo/ODBC.pm
151.01msline • block • sub/usr/share/koha/lib/C4/Members/Messaging.pm
201.01msline • block • sub/usr/share/koha/lib/C4/NewsChannels.pm
33982µsline • block • subLWP/Simple.pm
18965µsline • block • subSys/Hostname/Long.pm
22943µsline • block • sub/usr/share/koha/lib/C4/Stats.pm
76935µsline • block • subDateTime/Format/Builder/Parser/Regex.pm
19930µsline • block • sub/usr/share/koha/lib/C4/Boolean.pm
20897µsline • block • subDateTime/Format/DateParse.pm
21881µsline • block • subSys/Hostname.pm
23877µsline • block • subIO/Seekable.pm (including 1 string eval)
13868µsline • block • subMARC/File.pm
17868µsline • block • subXML/LibXML/Literal.pm
8866µsline • block • subHTTP/Request.pm
14864µsline • block • subDateTime/Format/MySQL.pm
21860µsline • block • subParams/Validate.pm
21853µsline • block • subXML/LibXML/NodeList.pm
21844µsline • block • subXML/LibXML/XPathContext.pm
402843µsline • block • subwarnings/register.pm
36828µsline • block • subCGI/Session/Driver.pm
93825µsline • block • subYAML/Loader/Base.pm
451.12msline • block • sub/usr/share/koha/lib/C4/ClassSortRoutine.pm (including 7 string evals)
20791µsline • block • subMARC/Charset/Code.pm
17790µsline • block • subXML/LibXML/Number.pm
29779µsline • block • subUnicode/Normalize.pm
16776µsline • block • sub/usr/share/koha/lib/C4/Search/PazPar2.pm
15771µsline • block • subIO.pm
13761µsline • block • sub/usr/share/koha/lib/C4/SocialData.pm
28756µsline • block • subGDBM_File.pm
15751µsline • block • subMIME/Type.pm
29738µsline • block • sub/usr/share/koha/lib/C4/Ratings.pm
34727µsline • block • subversion.pm
59715µsline • block • subMath/BigInt/FastCalc.pm
10710µsline • block • submro.pm
29692µsline • block • subReadonly/XS.pm
84692µsline • block • subFileHandle.pm
18686µsline • block • subXML/SAX/Exception.pm
24676µsline • block • subDate/Manip/Lang/english.pm
24669µsline • block • subBusiness/ISBN13.pm
17646µsline • block • subNet/LDAP/ASN.pm
23645µsline • block • sub/usr/share/koha/lib/C4/Debug.pm
20635µsline • block • subDigest/MD5.pm
17632µsline • block • subXML/LibXML/Boolean.pm
22629µsline • block • subautouse.pm
15607µsline • block • subScalar/Util.pm (including 1 string eval)
29656µsline • block • subCGI/Session/Serialize/yaml.pm (including 2 string evals)
21599µsline • block • subBusiness/ISBN10.pm
10585µsline • block • sub/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/node.pm
30564µsline • block • subTemplate/Stash/XS.pm
27553µsline • block • subList/MoreUtils.pm
22552µsline • block • subCGI/Session/ID/md5.pm
20550µsline • block • subTemplate/Exception.pm
752.38msline • block • subLingua/Stem/AutoLoader.pm (including 1 string eval)
16550µsline • block • subIO/Socket/UNIX.pm (including 1 string eval)
22519µsline • block • subDateTime/TimeZone/Floating.pm
97517µsline • block • sub/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-close.inc
29644µsline • block • subStorable.pm (including 1 string eval)
17509µsline • block • sub/usr/share/koha/lib/C4/Linker.pm
17504µsline • block • sub/usr/share/koha/lib/C4/Utils.pm
21501µsline • block • subList/Util.pm (including 1 string eval)
18486µsline • block • subModule/Load.pm
29468µsline • block • sub/usr/share/koha/lib/C4/ClassSortRoutine/Dewey.pm
14455µsline • block • subDateTime/TimeZone/UTC.pm
26447µsline • block • subDateTime/Locale/en_US.pm
21439µsline • block • subDateTime/Format/Builder/Parser/Dispatch.pm
8430µsline • block • subDigest/base.pm
195415µsline • block • subText/Abbrev.pm
16413µsline • block • subJSON/PP58.pm
19402µsline • block • subbytes.pm
2400µsline • block • subunicore/Canonical.pl
15395µsline • block • subMIME/Base64.pm
15393µsline • block • sub/usr/share/koha/lib/C4/SMS.pm
11374µsline • block • sub/usr/share/koha/lib/C4/ItemType.pm
15368µsline • block • subDateTime/Format/Builder/Parser/Quick.pm
16363µsline • block • subDateTime/Format/Builder/Parser/Strptime.pm
22357µsline • block • sub/usr/share/koha/lib/C4/ClassSortRoutine/LCC.pm
36357µsline • block • subCGI/Session/ErrorHandler.pm
14354µsline • block • subFile/Spec.pm (including 1 string eval)
11347µsline • block • sub/usr/share/koha/lib/C4/Category.pm
10344µsline • block • sub/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan.pm
21331µsline • block • subDate/Manip/TZ/etgmt00.pm
20297µsline • block • subDate/Manip/Lang/index.pm
30286µsline • block • subinteger.pm
10285µsline • block • sub/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/Util.pm
20265µsline • block • sub/usr/share/koha/lib/C4/ClassSortRoutine/Generic.pm
26263µsline • block • sub/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/opac-bottom.inc
13263µsline • block • subText/Unaccent.pm
9234µsline • block • subSelectSaver.pm
20214µsline • block • subSub/Name.pm
11211µsline • block • subYAML/Tag.pm
10208µsline • block • sub/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/filter.pm
12203µsline • block • subDateTime/Helpers.pm
17198µsline • block • subutf8.pm
10177µsline • block • sub/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/modifier.pm
14175µsline • block • subText/Iconv.pm
33171µsline • block • subsubs.pm
10158µsline • block • sub/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/node/atom.pm
41156µsline • block • sub/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/resort_form.inc
16152µsline • block • subMIME/QuotedPrint.pm
6145µsline • block • sub/usr/share/koha/intranet/cgi-bin/kohaversion.pl
15133µsline • block • subDBI/Const/GetInfo/ANSI.pm
10130µsline • block • sub/usr/share/koha/lib/Koha/QueryParser/Driver/PQF/query_plan/facet.pm
295µsline • block • subunicore/Exact.pl
290µsline • block • subunicore/To/Fold.pl
1168µsline • block • subTie/Hash/NamedCapture.pm
1059µsline • block • sub/usr/share/koha/opac/htdocs/opac-tmpl/prog/en-NZ/includes/doc-head-open.inc
136µsline • block • subXSLoader.pm
430µsline • block • subLWP.pm
413µsline • block • sublocale.pm
16µsline • block • subunicore/lib/gc_sc/Word.pl
15µsline • block • subauto/POSIX/autosplit.ix
15µsline • block • subunicore/lib/gc_sc/Alpha.pl
15µsline • block • subunicore/lib/gc_sc/Digit.pl
14µsline • block • subunicore/lib/gc_sc/Alnum.pl
14µsline • block • subConfig_git.pl
13µsline • block • subauto/Storable/autosplit.ix
13µsline • block • subunicore/lib/gc_sc/SpacePer.pl
13µsline • block • subLWP/MemberMixin.pm
11701438.07sTotal (-121 statements are unaccounted for)
348224.0msAverage
1.94msMedian
0.00149Deviation