I'm benchmarking performance of search queries.
I noticed that although the entire search pipeline takes long to complete, initial results are returned quickly.
how can I measure the query run time until the first result is returned?
currently i'm measuring the entire query run time with
history.total_run_time
but that gives me the total time and I want the time for first result.
thans @gcusello it works, just need to change
head=1
to
head 1
please modify your answer and i'll accept it