This Python program creates a PyQt6 GUI that measures latency for a given URL.
It runs a background thread that repeatedly sends HTTP requests and calculates two values:
The results are sent back to the GUI using Qt signals and displayed live without freezing the interface.
- HTTP latency (time for the request to complete)
- Thread latency (total duration of one worker cycle)
See the result in this screenshot:
