Simple Speed Test CLI via speed.cloudflare.com.
- .NET Desktop Runtime 8.0 is required.
- Download the latest version from the releases page and extract the ZIP file.
.\CloudflareSpeedTester.exe [OPTIONS]
Option | Default | Description |
---|---|---|
-h, --help |
Prints help information | |
--display-metadata |
True | Displays speed test metadata |
--display-summary |
True | Displays speed test summary |
--display-json |
Displays speed test results in JSON format | |
--output-csv |
Specifies the file path to output speed test results in CSV format | |
--output-json |
Specifies the file path to output speed test results in JSON format | |
--force-new |
Flag to overwrite existing files or create new ones for the specified CsvFilePath or JsonFilePath | |
--timeout SECONDS |
90 | Specifies the timeout duration for the HTTP client in seconds |
Example of running CloudflareSpeedTester and outputting the results to a fixed CSV file name:
.\CloudflareSpeedTester.exe --output-csv sampling.csv
Example of running CloudflareSpeedTester and outputting the results to a CSV file named by the current year and month:
.\CloudflareSpeedTester.exe --output-csv ("sampling_" + (Get-Date -Format "yyyy-MM") + ".csv")
The MeasurementResult
record represents the results of a speed test. Below is a table describing each field and its calculation method:
Field Name | Description | Calculation Method |
---|---|---|
StartedAt |
The date and time when the test started (UTC). | Calculated as the timestamp when the test begins. |
DownloadedSpeed |
The download speed value. | Calculated as the 90th percentile of download speeds. |
UploadedSpeed |
The upload speed value. | Calculated as the 90th percentile of upload speeds. |
Latency |
The latency value. | Calculated as the median of latency values. |
Jitter |
The jitter value. | Calculated as the average jitter from latency values. |
DownloadedLatency |
The latency value during download. | Calculated as the median of latency values during download. |
DownloadedJitter |
The jitter value during download. | Calculated as the average jitter during download. |
UploadedLatency |
The latency value during upload. | Calculated as the median of latency values during upload. |
UploadedJitter |
The jitter value during upload. | Calculated as the average jitter during upload. |
- Cloudflare Speedtest: Reference for implementing internet speed tests.
- CsvHelper: Library for reading and writing CSV files.
- MinVer: Tool for semantic versioning based on Git tags.
- Spectre.Console: Library for creating beautiful console applications.
- Tech Icons: Source of project icons.