ProxiFyre 2.0.8 — Faster & Smarter Logging
🚀 Performance
- Reduced CPU and memory overhead by skipping expensive string formatting when logging is disabled.
- Optimized TCP/UDP table processing in
process_lookup
for large datasets. - Removed per-packet logging overhead in proxy sockets:
tcp_proxy_socket
socks5_udp_proxy_socket
socks5_tcp_proxy_socket
- Near-zero logging cost at
error
/warning
levels in production.
🛠 New Logging System
- Replaced legacy logger with modern C++20, thread-safe CRTP-based design (
netlib::log
). - Supports
std::format
,std::osyncstream
, optionalstd::source_location
. - Compact 24-bit thread IDs, local time with UTC fallback.
- Atomic log level checks with relaxed memory ordering.
Result: Lower CPU usage, faster hot paths, and full debug visibility when needed.
Full Changelog: v2.0.6...v2.0.8