Gossamer Forum
Home : Products : Links 2.0 : Customization :

How do I print search time on search results?

Quote Reply
How do I print search time on search results?
For testing, is there a way I can make search.cgi monitor and print the search time on the search results page?

Can this be done in fractions of a second or whole seconds only?

(I'm still on NT if that makes a difference)
Quote Reply
Re: How do I print search time on search results? In reply to
This will be quite complicated...since Benchmark.pm does not seem to work very well in NT even with the recent build or Perl installed.

But using the Benchmark.pm module is the way to go...want codes to see how this work? Download DBMAN...this function is included in the script.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: How do I print search time on search results? In reply to
Good suggestion...Bmxer. I prefer Benchmark, since it does break down results to milliseconds.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: How do I print search time on search results? In reply to
as does Time::HiRes, but they're both good.

------------------
LookHard Search
lookhard.hypermart.net
Lavon Russell
Quote Reply
Re: How do I print search time on search results? In reply to
Or see if you can successfully install the Time::HiRes Module, which prints just one second value unlike Benchmark, and it is alot cleaner looking. But hard because it requires other modules and i only got it to work once on a windows 32 system.

------------------
LookHard Search
lookhard.hypermart.net
Lavon Russell
Quote Reply
Re: How do I print search time on search results? In reply to
Thanks, Lavon...I was under the impression that Time:HiRes module only printed second values...good to know.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------