How to Test Proxy Speed: Measuring Latency and Throughput

Updated:

Testing proxy speed properly means measuring three separate things: connection latency to the proxy, time to first byte from the target site, and download throughput, each several times, then taking the median. A single run on a speed test page tells you little, because real speed depends on the distance from you to the proxy, from the proxy to the site, and on the site itself. This guide covers measuring with the proxy speed test, with curl and with Python, how to read the numbers, and why proxy location shapes what you see.

Pick IPs close to where you work

The numbers to measure

For scraping and social accounts, latency and TTFB usually matter more than throughput, since each request moves only tens to hundreds of kilobytes. For files and video, throughput is the number to watch.

MetricWhat it meansMatters when
Connect latencyTime to open a TCP connection from you to the proxyAlways; high values mean the proxy is far away or your network is slow
Time to first byte (TTFB)From sending the request to the first byte from the targetScraping, API calls, many small requests
Total timeFrom start until the page finishes downloadingBrowsing, antidetect browsers
ThroughputDownload rate in megabits or megabytes per secondLarge files, video, game updates
JitterVariation between measurementsGaming, calls, tools that need stability

Quick checks with a web tool

The fastest check is to paste the proxy into the proxy speed test or the proxy checker to see whether it works and responds quickly. These measure from the tool's server to the proxy, not from your machine, so they are good for comparing proxies and spotting a faulty IP, but they do not replace a measurement from the machine that runs your tools.

Detailed timing with curl

curl has a -w option that prints the timing of each phase. Run it from the machine or server that will use the proxy, against the site you will actually work with:

  • curl -x http://user:pass@ip:port -o /dev/null -s -w 'connect=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total} speed=%{speed_download}' https://target-site/
  • time_connect: time to connect to the proxy, which depends on the distance between you and the proxy.
  • time_appconnect: when the TLS handshake with the target completes through the proxy tunnel.
  • time_starttransfer: time to first byte, including the site's own processing time.
  • speed_download: average download rate in bytes per second. To measure throughput, fetch a reasonably large file from a source you are allowed to use rather than a small HTML page.
  • Run it 10 to 20 times, record the results and take the median. Run once without the proxy as a baseline.

Bulk measurement with Python

To compare many IPs, write a small script: for each proxy, send a few requests to the same URL, time them with time.perf_counter() or read r.elapsed.total_seconds() in requests, then compute statistics.median(). Use a separate requests.Session() per proxy to see both cases: the first request opens a new connection, later ones reuse it and run faster.

Set a timeout on every request and record failures separately; a fast IP that fails one time in five is not better than a slightly slower, stable one. Proxy configuration in code is covered in the Python requests proxy setup.

How location affects speed

Every proxied request travels two legs: from you to the proxy, then from the proxy to the site. Total latency is the sum of both plus the site's processing time. The same proxy can be very fast for someone nearby and slow for someone far away, and fast for a site hosted near it but slow for one on another continent.

  • You are in Vietnam, using a Vietnam proxy for a Vietnamese site: both legs are short and latency is lowest.
  • You are in Vietnam, using a US proxy for a US site: the first leg crosses an ocean so latency is noticeably higher, but the second leg is short. That is the unavoidable cost of a US IP.
  • You are in Vietnam, using a US proxy for a Vietnamese site: the traffic crosses the ocean twice, the slowest case. Only do this if you truly need a US IP.
  • Tools on a server: placing the server near the proxy shortens the first leg.
  • For users in Vietnam, proxies in Japan, South Korea, Singapore or Hong Kong usually show lower latency than US or UK proxies, simply because they are closer.

Reading the results

  • High but steady connect time: usually distance, not a fault. Pick a closer proxy if the task allows.
  • Low connect time but high TTFB: the target is slow or throttling you; compare with a different site.
  • Large swings between runs: check your own network (Wi-Fi, an active VPN, other traffic) before blaming the proxy.
  • Throughput far below your connection: check concurrent connections and try a different download source.
  • If you have ruled these out and the proxy is still unusually slow, read why is my proxy slow and open a ticket with your measurements.

Frequently asked questions

Does a proxy slow down my connection?

It adds a hop, so latency is always a bit higher than a direct connection. How much depends mostly on the distance between you and the proxy.

Is proxy bandwidth limited?

VinaProxy IPv4 and ISP proxies have unlimited bandwidth. Real speed depends on your network, distance and the target site.

Why does a web speed test say fast while my tool is slow?

The web tool measures from its own server, your tool from your machine. Different distance and target, different result. Measure with curl from the machine that runs the tool.

Which country proxy is fastest?

Choose the country your task requires first. If you are free to choose, a proxy close to both you and the target is fastest; someone in Vietnam working with Vietnamese sites should use a Vietnam IP.

How many measurements are enough?

At least 10 per proxy, at a few different times of day, then look at the median. A single run is easily skewed.

Pick IPs close to where you work

Private IPv4 in Vietnam, the US, Japan, South Korea, Singapore, the UK and Hong Kong, plus static ISP in Vietnam and the US. Unlimited bandwidth.

See pricing

Related articles

Free tools
Proxy Speed & Target Latency Benchmark Tool
Test real-world HTTP(S) proxy speed and round-trip latency (ms) to Google, Facebook, Shopee, and Amazon endpoints without logging your credentials.
Knowledge base
Why your proxy is slow and how to fix it
A slow proxy usually comes from distance, your own network, too many threads or the target site throttling you. Learn how to measure and fix each cause.
Proxy errors
Proxy timeout errors: the connection hangs, then gives up
A proxy timeout means no answer arrived before the wait limit. Tell curl (28) and ERR_TIMED_OUT apart, tune Python timeouts and find where traffic is blocked.
Proxy setup
How to use a proxy with cURL (command-line syntax & debugging)
How to use curl with authenticated HTTP(S) proxies (-x http://user:pass@ip:port and -U) on Linux, macOS and Windows, then check headers and latency.
Products
Static residential ISP proxies
Static residential ISP proxies in the United States and Vietnam. IPs registered to consumer internet providers, dedicated to one customer, unlimited bandwidth.
Products
Private IPv4 datacenter proxies
Buy private IPv4 datacenter proxies in the US, Vietnam, Japan, South Korea, Singapore, the UK and Hong Kong. HTTP(S), unlimited bandwidth, auto activation.
ISP · vietnam
Vietnam Static ISP Proxies: Home-Network Vietnamese IPs for Your Most Valuable Accounts
Vietnam static ISP proxies on consumer internet provider IPs. A fixed Vietnamese IP for main Shopee shops, TikTok Shop, Facebook ad accounts and Zalo OA.
IPV4 · united states
US Private IPv4 Proxies: Fast, Dedicated American Datacenter IPs
Dedicated US private IPv4 proxies for scraping, rank tracking, ad checks and Amazon research. Static IP, one user per IP, unlimited bandwidth, fast activation.