Skip to main content

Module history

Module history 

Source

Structs§

HistoryEntry

Functions§

format_comparison
Format historical comparison as a string for display. Returns None if insufficient history data.
get_averages
Compute average download and upload speeds from history (last 20 entries). Returns (avg_dl_mbps, avg_ul_mbps) or None if insufficient data.
load_history
Load all test history from the history file.
print_history
Print formatted test history to stdout.
save_result
Save a test result to the history file.