Proxies for Website Performance Testing by Region
Proxies for website performance testing by region let you measure load times from real user locations to audit CDN delivery and page speed. Using a rotating proxy network, you can simulate visits from residential, mobile, and datacenter IPs across 177 countries to get accurate performance data.
- Test from residential, mobile, datacenter, and ISP IPs in 177+ countries.
- Pay only for the traffic you use, with rates stepping down automatically.
- Target specific countries, US states, and cities for precise location testing.
- Keep the same IP for a session to test consistent user journeys.
What performance testing needs from a proxy
Accurate website performance testing by region requires IP addresses that appear as real users from specific geographic locations. You need to measure page load times, resource fetch latency, and Time to First Byte (TTFB) from places where your actual audience lives. A proxy acts as an exit point, routing your test requests through an IP in the target country, city, or network type, giving you the latency and performance metrics a user there would experience. This is essential for verifying Content Delivery Network (CDN) cache hits, identifying slow regional servers, and ensuring compliance with data localization laws. Unlike simple ping tests, proxy-based testing captures the full HTTP/S transaction, including DNS resolution, TCP handshake, TLS negotiation, and asset loading, which can vary dramatically by network. For tasks like localization testing or UX and A/B test checks, seeing the actual rendered content from another region is critical.
Choosing the right rotating proxy network
The best network for your performance test depends on whether you want to emulate a home broadband user, a mobile data user, or a server-to-server request. Each of our four rotating proxy networks serves a distinct purpose in performance auditing. Datacenter proxies provide the lowest latency and most consistent throughput, ideal for synthetic monitoring and baseline checks. Residential proxies offer IPs from actual household ISPs, reflecting the experience of a typical home user, including any ISP-specific routing or throttling. Mobile proxies use IPs from cellular carriers, crucial for testing mobile site performance and app API responses as they would be seen on 3G, 4G, or 5G networks. ISP proxies blend the speed of datacenter hosting with IPs registered to consumer internet providers, offering a good balance for high-volume testing that still needs a residential IP reputation. For a thorough comparison, see residential vs datacenter proxies.
| Network | When it fits for performance testing | Entry rate per GB |
|---|---|---|
| Rotating Residential | Testing real-world home user experience, CDN geo-routing, and ISP-specific performance. Available in 177 countries. | $1.79 |
| Rotating Mobile | Measuring mobile site speed and API latency from cellular networks. Available in 87 countries. | $3.00 |
| Rotating Datacenter | High-speed synthetic monitoring, baseline latency checks, and high-volume asset loading tests. Available in 16 countries. | $0.36 |
| Rotating ISP | High-throughput tests needing residential IP reputation, like load testing a landing page. Available in 12 countries. | $1.80 |
How to set the username for location targeting
You control the proxy network, country, state, and city by adding options to the proxy username, separated by underscores. For US states, add st.STATE, and for cities, add city.CITY-NAME. To keep the same IP for a sequence of tests (a sticky session), include a sid.sessionid and optionally a ttl.MINUTES. This is useful when you need to test a multi-step user flow from the same location. Build your proxy strings easily using our proxy URL builder tool.
Example usernames for performance testing:
USERNAME_net.res_cc.de_city.berlin
USERNAME_net.dc_cc.jp_sid.perftest1_ttl.30
USERNAME_net.mob_cc.us_st.ca_city.san-francisco
The first example routes requests through rotating residential IPs in Berlin, Germany. The second uses a datacenter IP in Japan and keeps it for 30 minutes using the session ID "perftest1". The third uses mobile IPs from California, specifically targeting San Francisco. Remember, the password is always the one set for that proxy user in your dashboard.
How much traffic does performance testing use?
Traffic consumption depends on the size of the pages you test and the frequency of tests. A single performance test might fetch an HTML page of 100KB, a CSS file of 50KB, a JavaScript bundle of 300KB, and several images totaling 1MB, resulting in roughly 1.45 MB per page load. If you test 100 page loads from different locations, that's about 145 MB of traffic. Our billing counts upload and download bytes through the gateway, so the traffic is the sum of your request sizes and the response sizes. You are charged per GB from your prepaid balance, with the rate automatically stepping down as your monthly usage increases. This pay-as-you-go model means you only pay for the data you actually transfer.
Worked example: You run a daily performance check of your homepage from 10 countries using residential proxies. Each test fetches 2 MB of data. In a 30-day month, that's 10 locations * 2 MB * 30 days = 600 MB (0.6 GB). At the entry rate of $1.79 per GB, your cost would be 0.6 * $1.79. If your account's total residential traffic that month crosses 50 GB, the rate for all subsequent residential traffic that month drops to the next tier. For large-scale testing, the rate can go as low as $1.20 per GB after 1,000 GB.
Python code example for performance testing
Here is a concrete Python example using the requests library and a rotating residential proxy to measure load time from London. We set a timeout and record the elapsed time. For asynchronous testing across many locations, consider using aiohttp as shown in our aiohttp proxy integration guide.
import requests
import time
proxy_host = "gw.rotatingproxy.cc"
proxy_port = 7070
username = "USERNAME_net.res_cc.gb_city.london"
password = "PASSWORD"
proxies = {
"http": f"http://{username}:{password}@{proxy_host}:{proxy_port}",
"https": f"http://{username}:{password}@{proxy_host}:{proxy_port}"
}
url = "https://www.example.com"
start = time.time()
try:
response = requests.get(url, proxies=proxies, timeout=30)
elapsed = time.time() - start
print(f"Load time from London: {elapsed:.2f}s, Status: {response.status_code}")
print(f"Content size: {len(response.content)} bytes")
except requests.exceptions.Timeout:
print("Request timed out")
except Exception as e:
print(f"Error: {e}")
This script gives you a basic latency measurement. For more advanced performance auditing, including resource timing, you can use a headless browser like Playwright. See our Playwright Python proxy setup for instructions on running browser-based tests through the proxy.
Good practices for performance testing schedules
Schedule tests during peak and off-peak hours in your target regions to understand diurnal performance variations. Avoid overwhelming your own site or the proxy network by spacing out tests; launching 100 concurrent tests from 100 locations will consume significant bandwidth and may trigger rate limits on your origin. Implement caching where possible: if you are testing a static asset or a page that changes infrequently, you can reduce traffic by checking the Last-Modified header or using a conditional request (If-Modified-Since). Always respect robots.txt if you are testing third-party sites, and read our guide on rate limiting your crawler. For long-term monitoring, consider using sticky sessions (sid) to maintain a consistent IP for a test sequence, reducing the variable of IP change during a multi-step transaction test.
Common problems and fixes in proxy performance tests
High latency or timeouts: This is often due to the geographic distance between your testing server, the proxy gateway, and the target site. Choose a proxy location closer to your testing server if network hops are the issue. Also, ensure you are using appropriate timeouts in your client library. Check our guide on proxy timeouts for recommended settings.
Inconsistent results between test runs: If you are not using a sticky session, each connection gets a new IP, which may route through a different ISP or network path. For consistent comparison, use a sid with a ttl long enough to complete your test batch. Understand the nuances in our guide on sticky vs rotating sessions.
Target site returns a 403 Forbidden: Some sites block datacenter IP ranges. If you encounter this while using net.dc, switch to residential (net.res) or ISP (net.isp) networks which have better IP reputation. Our residential vs datacenter rotating proxies comparison explains this further.
Traffic usage seems higher than expected: Ensure your test client isn't downloading unnecessary resources like videos or large fonts on every run. Use browser developer tools' Network tab to see what's being fetched. Also, verify traffic measurement by checking your dashboard's usage graphs. For help diagnosing, see my usage looks higher than expected.
Testing CDN performance with rotating proxies
To verify your CDN is correctly serving content from edge nodes, you need to request the same asset from multiple geographic points and inspect response headers like X-Cache or CF-Cache-Status. Using rotating residential proxies, you can simulate requests from cities where your CDN has points of presence. For example, test an image URL from Sydney, Frankfurt, and São Paulo to confirm cache hits. If you see a miss in a region, it may indicate a configuration issue. This type of testing is also crucial for checking geo-restricted content delivery. Remember to use a unique cache-buster query parameter (like ?t=12345) if you need to bypass the CDN cache for a fresh origin pull during your test.
Comparing datacenter vs residential performance results
Running the same test through datacenter and residential proxies from the same country can reveal important differences. Datacenter IPs often have optimized routing and lower latency to major hosting providers, which might give you an unrealistically optimistic view of performance. Residential IPs may traverse last-mile networks with higher latency and occasional packet loss, reflecting the real user experience. It's common to see a 20 to 50 % increase in load times when switching from datacenter to residential proxies in the same region. Documenting this gap helps set realistic performance budgets. For a detailed analysis, read our comparison of residential vs datacenter rotating proxies.
Integrating with monitoring tools and headless browsers
You can integrate our proxies into existing monitoring frameworks like custom scripts, cron jobs, or commercial monitoring services that support HTTP/S proxies with authentication. For headless browser testing with tools like Playwright or Puppeteer, you can pass the proxy server settings at browser launch. This allows you to measure rendering performance, not just network timing. Follow our Puppeteer proxy guide for Node.js or Selenium proxy with authentication for Python. When using headless browsers, traffic consumption will be higher due to rendering overhead, so factor that into your cost estimates using our bandwidth estimation guide.
Scaling performance tests across many locations
To test from dozens of countries concurrently, you need to manage connection pools and respect concurrency limits. Your account can have up to 1,000 concurrent connections across all proxy users. Distribute tests across multiple proxy users (you can create up to 25) to organize traffic by region or project. Use asynchronous I/O in your programming language (like asyncio in Python or async/await in Node.js) to run many tests in parallel without blocking. For large-scale operations similar to website uptime and change monitoring, plan your concurrency using our concurrency planning guide. Always start with a small batch to gauge traffic and performance before scaling up.
Questions
Can I use these proxies to test website speed from specific cities?
Yes, you can target over a hundred cities worldwide with our residential and mobile networks. Add the city option like city.london or city.new-york to your username. Check the city targeting help page for the list of available cities.
How do I keep the same IP for a multi-step performance test?
Use a sticky session by adding a session ID (sid.xxxxk3) to your username. The IP will remain the same for the duration of the TTL (default 10 minutes). You can set ttl. up to 120 minutes. Details are in the sticky session setup guide.
Why is my performance test through a proxy slower than a direct connection?
Proxy requests add network hops: from you to our gateway, then from the exit IP to the target. This increases latency, which is intentional to simulate a user in that location. For the most accurate test, run your test client from a server geographically close to our gateway.
Can I test mobile app API performance with these proxies?
Absolutely. Use the rotating mobile network (net.mob) and target the country of the cellular network. Configure your app or API testing tool to use the HTTP/S or SOCKS5 proxy with authentication. This simulates requests coming from a real mobile device IP.
What happens if my balance runs out during a test?
Traffic will stop immediately, and your requests will fail. You can top up your balance at any time, and service resumes. To avoid interruption, set up balance alerts or top up proactively. Learn more at what happens when the balance runs out.
How precise is the geolocation for the proxy IPs?
IP geolocation is provided by commercial databases and is generally accurate at the country and city level. However, for mobile and residential IPs, especially with Carrier-Grade NAT (CGNAT), the city might reflect the network core location. Read about IP geolocation accuracy for more context.
Start with one top-up, use any network
Create an account in a minute, add $40 or more, and the same balance pays for residential, mobile, datacenter and ISP traffic.