input latency