Skip to content

Instantly share code, notes, and snippets.

@IGTHORN
IGTHORN / cygwin-mirror-speed.py
Last active Feb 16, 2019 — forked from ushkinaz/cygwin-mirror-speed.py
Tests speed of http mirrors of cygwin
View cygwin-mirror-speed.py
#!/usr/bin/env python3
"""
Tests http mirrors of cygwin
"""
import random
import time
from urllib.request import urlopen
import sys
from multiprocessing import Pool, TimeoutError