rankmirrors

Rank a list of Pacman mirrors by connection and opening speed. Writes the new mirrorlist to stdout. More information: <https://wiki.archlinux.org/index.php/mirrors>.

Arch Arch Linux
RUN pacman -S --noconfirm pacman-contrib
click the source code to copy install rankmirrors on any operating system with command-not-found.com