measure indexing latency