Commit Graph

5 Commits

Author SHA1 Message Date
df3c6c6a0e Optimize latency checks for significantly faster performance
- Reduced ping interval from 1s to 200ms (5x faster per relay)
- Reduced ping count from 5 to 3 (still reliable, but faster)
- Increased latency workers from 30 to 100 (3.3x more parallelism)
- Increased liveness workers from 20 to 50 (2.5x more parallelism)
- Reduced timeouts: liveness from 3s to 1s, latency from 10s to 3s
- Expected speedup: ~10x faster overall execution time
2025-07-14 05:30:27 -07:00
0fe71520c5 Fix zero latency bug by validating ping statistics
- Added validation to detect and handle invalid zero latency measurements
- When MinRtt is 0 but packets were received, fall back to AvgRtt
- Added -debug flag to help diagnose ping statistics issues
- Added debug logging to show raw ping statistics for zero latency cases
- Prevents impossible 0s latency readings for remote servers
2025-07-14 05:22:05 -07:00
93e478755e Fix compile issue and add -force flag to bypass VPN check
- Updated golang.org/x/net dependency to fix linking error with syscall.recvmsg
- Added -force flag to allow running the tool while connected to VPN
- Fixed linter errors: replaced deprecated ioutil with io/os, added error handling
- Added test, fmt, and lint targets to Makefile
2025-07-14 05:16:24 -07:00
001f54c5e0 latest 2024-06-09 07:40:44 -07:00
d312f07fa8 initial 2024-06-05 00:24:36 -07:00