The UNIX ping command lets you test network servers and latency. Here's how to use it in the macOS Terminal app.
When playing competitively online, ping or lag or latency (whatever ... else that’s network-intensive, like video chatting, ...