TPAC: Instrument the search results page
authorDan Scott <dscott@laurentian.ca>
Fri, 27 Apr 2012 01:56:23 +0000 (21:56 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Sat, 28 Apr 2012 17:51:08 +0000 (13:51 -0400)
commit111b65b05119afff2bc286ee3ba9f1f2ffb9a8ea
tree578413a49f2696e03bd8982fa917d49a03dbad34
parenta34bd33836bacb8e7b16f4a4af95a436a1eb75ef
TPAC: Instrument the search results page

Because we want to know why search results can be slowish, add timelog()
entries to pertinent locations in Search.pm.

Quick results on my laptop with the concerto set:
  * 10 results = 1.1 seconds for get_records_and_facets()
  * 50 results = 4.2 seconds for get_records_and_facets()

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm