Skip to main content

Module task_runner

Module task_runner 

Source
Expand description

Test runner orchestration for download and upload bandwidth tests.

This module provides a reusable template for running bandwidth tests, eliminating the duplication between download and upload test orchestration in main.rs. Both tests follow the same pattern:

  1. Set up progress tracking
  2. Spawn latency-under-load monitoring in background
  3. Run the actual bandwidth test
  4. Stop latency monitoring
  5. Aggregate results

Structs§

TestRunResult
Result from a bandwidth test (download or upload).

Traits§

TestMetrics
Trait for bandwidth test results - enables dependency injection and mocking.

Functions§

run_bandwidth_test
Run a bandwidth test with latency-under-load monitoring.