LibreSpeed: Self-hosted internet speed testing
Measure bandwidth, latency, and packet loss via Cloudflare's edge network.
Learn more about LibreSpeed
This is a JavaScript library for measuring client internet connection quality through network performance testing. It works by executing test requests against Cloudflare's edge infrastructure and extracting timing data via the PerformanceResourceTiming browser API. The module characterizes connections across multiple dimensions: download and upload bandwidth, latency measurements including loaded latency during active transfers, and packet loss detection through TURN server connections. Results are collected by Cloudflare for aggregated network quality insights.
Distributed Edge Testing
Measures performance against Cloudflare's global edge network instead of centralized servers. Provides geographically accurate results that reflect actual user experience from the client's location.
Loaded Latency Measurement
Captures latency during active download and upload operations, not just idle connections. Reveals real-world performance degradation under network load with configurable measurement intervals.
Configurable Test Parameters
Customize test duration, server selection, parallel streams, and measurement protocols. Tailor tests to specific network conditions or compliance requirements beyond default speed checks.
const observer = new PerformanceObserver((list) => {
list.getEntries().forEach((entry) => {
const dnsTime = entry.domainLookupEnd - entry.domainLookupStart;
console.log(`DNS lookup: ${dnsTime}ms`);
});
});
observer.observe({ entryTypes: ['resource'] });Top in Networking
Related Repositories
Discover similar tools and frameworks used by developers
Tailscale
Zero-config mesh VPN with daemon and CLI tools.
Nginx Proxy Manager
Web UI for Nginx reverse proxy and SSL management.
Zapret
Windows zapret implementation for bypassing Discord and YouTube restrictions via DPI circumvention.
ByeByeDPI
Android app running ByeDPI locally to route traffic and bypass Deep Packet Inspection filtering.
croc
CLI tool for encrypted file transfers between computers via relay servers, no port forwarding needed.