Network

throttle

Simulate network conditions: 3G, offline, or custom bandwidth/latency.

Usage

$ cdpilot throttle <preset>

Arguments

NameRequiredDescription
presetrequiredslow3g, fast3g, offline, off, or custom <down_kbps> <up_kbps> <latency_ms>

Examples

Simulate slow 3G network

$ npx cdpilot throttle slow3g

Simulate fast 3G network

$ npx cdpilot throttle fast3g

Simulate offline mode

$ npx cdpilot throttle offline

Disable throttling

$ npx cdpilot throttle off

Custom: 500 kbps down, 100 kbps up, 200ms latency

$ npx cdpilot throttle custom 500 100 200