Skip to content

v2.3.2 - Dispatch Latency Optimization

Choose a tag to compare

@pumni pumni released this 12 Jul 22:55

Improvements & Optimizations

  • Optimized the dispatch hot path by eliminating the GetForegroundWindow focus-checking syscall.
  • Implemented dynamic scaling for the SendLatencyEstimator bucket size (dynamic max polyphony) adapted per song.
  • Prewarmed INPUT arrays (ctypes structs) for individual keys and chords prior to playback, eliminating runtime latency spikes.
  • Updated and fixed the telemetry logger, specifically addressing the deferred_by_us and send_while_unfocused metrics.