TPAC: Instrument the search results page user/dbs/tpac_instrument_searches
authorDan Scott <dscott@laurentian.ca>
Fri, 27 Apr 2012 01:56:23 +0000 (21:56 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 27 Apr 2012 02:06:46 +0000 (22:06 -0400)
commit9ac147a883fe7a1685e2301441d1969d8d0d7a40
tree6e2681f1a0f2988b9f1a337debed9f9046ff70be
parentee18ec89dda3c34c7570b4296cfa644e9abfbf93
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm