Crates.io | yocalhost |
lib.rs | yocalhost |
version | 0.4.1 |
source | src |
created_at | 2023-09-04 22:36:19.40332 |
updated_at | 2023-12-01 12:57:45.140846 |
description | an http development server that simulates latency and bandwidth limitations |
homepage | |
repository | https://github.com/michaelkirk/yocalhost |
max_upload_size | |
id | 963703 |
size | 53,623 |
yocalhost is an http development server that simulates latency and bandwidth limitations.
Evaluating a network client against a remote host is subject to the whim of the rest of the internet. Especially if your client involves many requests, it can be hard to get consistent measurements.
Evaluating against a naive localhost server, where latency and bandwidth are unreasonably fast, can draw a false picture.
With yocalhost, you run a local http server, but specify artificial bandwidth and latency limitations. This allows you to measure realistic(ish) implications of latency and bandwidth on your code in a reproducible way.