Skip to content

v1.2.0: Performance, Accuracy & Usability Overhaul

Latest

Choose a tag to compare

@soizo soizo released this 05 Apr 07:10

What's Changed

Performance

  • Async diagnostics — replaced all blocking execSync with async exec; app no longer freezes during network scans
  • Windowed speed measurement — sliding-window download sampling with TCP slow-start discard and median of stable samples
  • Latency warm-up — pre-establishes TCP+TLS before timing begins for accurate results
  • Upload buffer — crypto.getRandomValues in 64 KB chunks instead of byte-by-byte loop; 100 MB cap
  • DNS latency — sequential measurement with different domains to defeat OS cache
  • React memoisation — useMemo for view metadata objects that were recreating every 200 ms

Accuracy & Correctness

  • Public IP + geolocation — fetches from Cloudflare trace + ip-api.com; displayed in Network panel
  • Censorship detection — now receives real country code instead of hardcoded null
  • Scoring — failed latency no longer scores 100; jitter uses exponential decay curve
  • NAT detection — groups candidates by interface to prevent false symmetric detection
  • Upload speed — uses actual transferred bytes, not intended size
  • Download fallback — measures real elapsed time instead of hardcoded 0.1 s
  • Wi-Fi — system_profiler fallback for macOS Sonoma+ where airport is removed
  • Channel-to-band — fixed 6 GHz overlap with 2.4/5 GHz ranges
  • VPN detection — word-boundary regex prevents false positives

Safety & Reliability

  • Concurrent test guard — prevents double-start state corruption
  • Diagnostics run ID — stale results discarded on re-run
  • Connection pre-check — 3 s preflight before speed test; instant "server unreachable" error
  • timeout_ms config — now actually applied to download and upload phases
  • Address bar — restricted to http:/https: schemes only
  • YAML schema — explicit JSON_SCHEMA for config parsing
  • Listener leaks — onMenuNavigate cleanup, timer cleanup, abort listener { once: true }
  • Stale closure — handleTestComplete uses configRef
  • Socket leak — tcpProbe destroys on error

Usability

  • Auto-scaling gauges — breakpoint-based max (10–10 000 Mbps) instead of hardcoded 1000/500
  • Copy Results — clipboard button after speed test with formatted summary
  • Export CSV — download history as CSV file
  • Public IP card — shows IP, ISP, location, ASN in Network panel
  • Dead code removed — deleted orphaned DiagnosticsPanel.jsx (470 lines)

Downloads (macOS only — unsigned)

File Arch
NetRadar-1.2.0.dmg Intel (x64)
NetRadar-1.2.0-arm64.dmg Apple Silicon
NetRadar-1.2.0-mac.zip Intel (x64)
NetRadar-1.2.0-arm64-mac.zip Apple Silicon

Full Changelog: v1.1.0...v1.2.0