Profiling an OPAC search with dprofpp -I gives this result: Total Elapsed Time = 4.046462 Seconds User+System Time = 3.676462 Seconds Inclusive Times %Time ExclSec CumulS #Calls sec/call Csec/c Name 38.6 0.008 1.420 1 0.0081 1.4195 C4::Search::searchResults 35.6 0.030 1.310 12 0.0025 0.1092 main::BEGIN 25.9 0.030 0.954 11 0.0027 0.0868 C4::Auth::BEGIN 24.1 0.889 0.889 240 0.0037 0.0037 utf8::SWASHNEW 23.8 0.010 0.875 11 0.0009 0.0796 C4::Members::BEGIN 23.0 - 0.847 1 - 0.8473 C4::Search::buildQuery 22.7 0.009 0.838 1 0.0094 0.8378 C4::Search::_remove_stopwords 22.5 0.258 0.830 40 0.0065 0.0207 C4::Biblio::get_biblio_authorised_ values 21.5 0.100 0.792 10 0.0100 0.0792 C4::Overdues::BEGIN 19.0 0.010 0.700 63 0.0002 0.0111 XML::LibXML::SAX::_parse 19.0 - 0.699 63 - 0.0111 XML::SAX::Base::parse 17.8 0.010 0.657 18 0.0006 0.0365 C4::Circulation::BEGIN 16.7 - 0.616 23 - 0.0268 XML::Simple::XMLin 16.7 - 0.616 23 - 0.0268 C4::Context::read_config_file 16.7 - 0.616 23 - 0.0268 C4::Context::new So obviously, there's room for improvement: * utf8::SWASHNEW ??? * _remove_stopword consume 22.7% of time * XML::LibXML::SAX::_parse take 19% of time just to parse conf file Otherwise, using XSLT for displaying biblio records won't help performances if XSL transformer is not pre-parsed and cached in memory. -- Frédéric _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel