Repository navigation
v0.3.0
·
11 commits
to master
since this release
Performance
- Asynchronous DNS Resolution: Moved reverse DNS lookups to a dedicated background thread. This eliminates the "stop-and-wait" behavior during printing, ensuring the packet probing loop never stalls while waiting for a hostname to resolve.
- Kernel Timestamps: Implemented
SO_TIMESTAMPsupport to retrieve packet arrival times directly from the kernel. This bypasses user-space scheduling jitter, providing significantly more accurate RTT measurements.
Changed
- Thread-Safe Architecture: Refactored internal data structures (host cache, print queue) to be thread-safe using mutexes.
- Build System: Added
-pthreadflag to compiler options and introduced amake testtarget.
Added
- Test Suite: Added a basic regression test script (
tests/test_basic.sh) to verify core functionality and argument parsing.