Using htmx, is there a convenient way to measure the time it took to get a response from the server, starting from the time the request was sent?
My usage is that I have a user typing in a search bar, each new modification of the input text field (throttled at 50ms) triggers a new request to the server to fetch search results. The resulting HTML is then displayed on the page each time the server responds with some results. I would like to write some text with “387 results in 17ms”.