To see latency of all players in a match:
Players will be categorized as having, green, yellow, or red level latency levels, along with their actual ping time in milliseconds.
Ensure you are on a wired ethernet connection, this goes double for Nintendo Switch.
On Switch, you'll need a USB Ethernet adapter. Either the official licensed adapter or a confirmed 3rd party adapter
You should automatically be assigned the best server that has the lowest ping for you.
However, currently on PC you can also manually select your region. See Regions for more information.