Methodology document
Performance measurement
Throughput, latency under load, connection time and 24-hour stability — each measured against a same-path baseline without the VPN, repeated at least ten times and reported as median and interquartile range.
- Methodology v2.0 · effective 19 November 2026
- IDVPNL-M-03
- Last reviewed
- 6 min read
All documents · v2.0
On this page
In brief
VPN Labs measures VPN performance as the difference between a connection through the VPN and a baseline without it, over the same lab uplink to the same measurement servers. Every condition is repeated at least 10 times across several time windows, and results are reported as the median with the interquartile range (IQR) and the number of runs.
- Runs per condition
- ≥ 10Across ≥ 3 time windows
- Stability soak
- 24 hReconnects and downtime
- Spread reported
- IQRWith median and n
- Distance classes
- 3Near, regional, intercontinental
What we measure
Performance is measured as a set of separate metrics, each with a fixed tool, method and unit. No composite "speed index" is published; the scoring model uses the individual metrics.
| Metric | Tool (reference version) | Method | Unit |
|---|---|---|---|
| TCP throughput, single stream | iperf3 3.17.1 | -P 1, 30 s, first 5 s omitted (-O 5), download (-R) and upload | Mbit/s |
| TCP throughput, multi-stream | iperf3 3.17.1 | -P 8, 30 s, first 5 s omitted, both directions | Mbit/s |
| UDP loss and jitter | iperf3 3.17.1 | -u at fixed rates of 50 and 200 Mbit/s, 30 s | % loss, ms |
| Idle latency | fping 5.1 | 10 probes per second for 30 s, no other traffic ( -p 100 -C 300) | ms RTT |
| Latency under load | fping 5.1 + iperf3 | RTT probes during an 8-stream download | ms RTT |
| Jitter | From the RTT series | Mean absolute difference between consecutive RTT samples | ms |
| Connection time | Lab script, curl 8 | From connect trigger to first HTTP 204 through the tunnel | s |
| Stability | Lab soak script | 24 h connected, probes every 1 s and 10 s | Reconnects, downtime, % loss |
Jitter follows the idea of packet delay variation in RFC 3393: it describes how much consecutive delay samples differ, not how high the delay is. Where a VPN server filters ICMP, RTT is measured with TCP connection set-up time instead and the substitution is noted.
Baseline without VPN
Every VPN result is paired with a baseline from the same device, uplink and measurement server, without the VPN, measured in the same time window. VPN and baseline runs alternate — VPN, baseline, VPN, baseline — so that time-of-day effects affect both equally.
Headline figures are relative to the baseline, because absolute values mostly describe our uplink:
retention = median(VPN throughput) ÷ median(baseline throughput) × 100 %added latency = median(VPN RTT) − median(baseline RTT)Absolute values are published alongside, so readers with a similar connection can relate them to their own.
Server selection rules
Both the VPN server and our measurement server sit on the measured path, so both are chosen by fixed rules before testing starts.
Selection rules
- Three distance classes. Near (same metropolitan area as the lab uplink), regional (another country on the same continent, roughly 500–1,500 km) and intercontinental (another continent).
- Automatic and pinned. In each class we test the server chosen by the client’s automatic or "fastest" selection and one manually pinned server in a city the provider lists. Hostname and IP address are recorded for every run.
- Nearby measurement servers. Measurement endpoints (iperf3, RTT and HTTP) must be hosts under lab control, in a data centre in or near the city of the VPN exit, with port capacity well above the expected throughput. Their locations and port speeds are listed in each record.
- Changes are logged. If automatic selection changes server between runs, the change is logged and runs are grouped by server; the median across all runs is still reported.
- No special servers. We never use servers or accounts a vendor provides specifically for testing.
Public speed-test services are not used for scored results: their server selection, protocols and averaging are outside our control and undocumented in the record.
Procedure and repetitions
Measurement session
- Confirm the environment manifest — device, OS build, client version, protocol, settings profile, uplink ID — and that no other traffic runs on the device.
- Run a baseline set to the measurement server. If it deviates by more than 20 % from the uplink’s reference value for that week, abort the session and log the reason.
- Connect the VPN to the selected server and wait 10 s for the tunnel to settle.
- Run the battery in fixed order: idle latency, single-stream TCP (down, up), multi-stream TCP (down, up), latency under load, UDP at 50 and 200 Mbit/s.
- Disconnect and run the same battery as a baseline.
- Repeat steps 3 to 5 until every condition has at least 10 valid repetitions, spread across at least three time windows (morning, afternoon, evening, Central European time) on at least two different days.
- Keep the raw tool output for every run (iperf3
--json), hash it at capture time and generate summary tables from the raw files by script only.
iperf3 -c <measurement-server> -t 30 -O 5 -P 1 -R --json > tcp1-down-near-r03.json
# -C 300 -q: all 300 RTT samples ("-" for a lost probe) are written to stderr
fping -p 100 -C 300 -q <measurement-server> 2> rtt-idle-near-r03.txt
A run is invalid only for a documented technical reason: a tool error, a measurement-server fault confirmed by the baseline, or a lab uplink incident. Invalid runs are logged with the reason and repeated; they are never silently dropped. We do not remove statistical outliers.
Connection time
Connection time is measured 20 times per platform and settings profile from a defined cold state: client running, disconnected. The trigger is the client’s command-line interface where one exists, otherwise UI automation with a recorded timestamp. The measurement ends at the first HTTP 204 response from a lab endpoint received through the tunnel, polled every 50 ms.
An attempt that does not produce a working tunnel within 60 s is a failed connection. Failed attempts are not part of the connection-time median; they feed the connection success rate in the reliability category.
24-hour stability soak
- Set-up: 24 hours connected to the near-class server in the default profile; sleep disabled (mobile devices: screen on, charging).
- Probes: an RTT probe every second and an HTTP request every 10 seconds through the tunnel.
- Logged: tunnel interface up and down events, reconnect entries in the client log, every failed probe.
- Reported: number of unplanned reconnects, total downtime (sum of probe gaps longer than 3 s), longest single outage and packet loss in per cent.
Maintenance announced by the provider is recorded but not excluded: users experience it in the same way.
Statistics and reporting
For every condition we report the median, the interquartile range (25th to 75th percentile) and the number of runs n. Means are not used as headline figures because throughput distributions are skewed by occasional congestion. Percentiles are computed by linear interpolation between closest ranks — the method of R’s default (type 7) and of spreadsheet PERCENTILE.INC.
| Condition | n | Median | IQR | Baseline median | Relative |
|---|---|---|---|---|---|
| Throughput (e.g. TCP, 1 stream, download, near) | Valid runs | Median, Mbit/s | 25th–75th percentile, Mbit/s | Same measure without the VPN | Throughput retention, % |
| Latency (e.g. idle RTT, near) | Valid runs | Median, ms | 25th–75th percentile, ms | Same measure without the VPN | Added latency, ms |
Environment disclosure
Performance depends on the environment, so every record discloses: device model, CPU and memory, OS build, network adapter and driver, link type (Ethernet or Wi-Fi standard), lab uplink identifier and bandwidth, measurement server locations and port speed, VPN protocol and cipher, MTU, client version, test dates and time windows.
Limits of comparability
Performance results are comparable only within the same methodology major version and lab uplink. They describe our path on our dates and are not a promise of speed anywhere else.
Frequently asked questions
Why does VPN Labs report the median rather than the average speed?
Throughput results are skewed: a few congested runs pull the average down, a few lucky runs pull it up. The median with the interquartile range describes the typical result and its spread without being dominated by outliers, and we still publish every raw run.
Why is a published VPN speed lower than my own speed test?
Our figures describe a specific path: our lab uplink, a named VPN server and our measurement server, at recorded times. Public speed tests choose their own servers and methods. Compare the relative figure — throughput retained versus the baseline — rather than absolute Mbit/s.
How many times is each performance test repeated?
At least 10 valid repetitions per condition, spread across at least three time windows on at least two days, each paired with a baseline run without the VPN. Connection time is measured 20 times per platform and profile.
Records using this document
Published records that cite this document in their methodology.
Further reading
Key terms in the glossary
Background research
Document control & citation
Cite this document
VPN Network Research Labs (2026). Performance measurement (VPNL-M-03), methodology v2.0, effective 19 November 2026. VPN Labs. https://vpn.com.de/methodology/performance
Changes to this document are listed in the methodology changelog. Corrections to records follow the corrections policy.