Display query response time
At the time this issue is being opened, Zui is at commit 4518517.
Community user @SoftTools59654 made the following feature suggestion originally in #2924:
The time spent searching for a query should be written (next to the bar below next to Shapes)
At some point in the past the app had a feature like this, but it was removed for some reason. When it was there, indeed it was right where this user expected to see it.
The data still exists, e.g., when running that particular query, the Zed lake log included the elapsed time it took to execute on the backend.
{"level":"info","ts":1702413705.4402912,"logger":"http.access","msg":"Request completed","request_id":"2ZSRmjRvvkm8ff1NKKOzs9DvMws","host":"localhost:9988","method":"POST","proto":"HTTP/1.1","remote_addr":"127.0.0.1:52271","request_content_length":105,"url":"/query?ctrl=true","elapsed":50.848152278,"response_content_length":12003,"status_code":200}
Therefore this should hopefully be as simple as making sure the same info is available in the Zed Lake API and rendering it.
@mccanne thought of much the same requirement after having spent some time recently with Zui. In his own words:
I guess what I really want is for zui and
zed queryto print out how long the query took to execute (on the server). For zed query, could be an option. For zui, might want to always show it in the footer.