Repository navigation
Fastrace v1.0.0 - Major Performance Release
This is the first stable major release of fastrace, featuring significant performance improvements and new capabilities.
Performance Improvements
- 20x faster than standard traceroute in typical scenarios
- Batch I/O with
recvmmsgon Linux (up to 60% less syscall overhead) - Adaptive concurrency window based on network latency
- Optimized timeouts (500ms hop, 1ms poll) for faster trace completion
- Lock-free DNS queue with atomic operations
CLOCK_MONOTONIC_RAWfor precise RTT measurements
New Features
| Feature | Flag | Description |
|---|---|---|
| IPv6 | -6 |
Full dual-stack support |
| ICMP Echo | -I |
Ping-style traceroute |
| TCP SYN | -T |
For firewalled networks |
| JSON output | --json |
Machine-readable output |
| CSV output | --csv |
Spreadsheet-compatible |
| Metrics | --metrics |
RTT p50/p95/p99, jitter |
| Quiet mode | --quiet |
Minimal output for benchmarking |
Quick Start
# Build
make
# Standard trace
sudo ./fastrace google.com
# IPv6 with ICMP
sudo ./fastrace -6 -I ipv6.google.com
# JSON output with metrics
sudo ./fastrace --json --metrics cloudflare.comTest Suite
make test # Basic tests (no root)
sudo make test-full # Full test suite
sudo make benchmark # Performance benchmarkSee CHANGELOG.md for full details.