Skip to content

v0.1.24

Choose a tag to compare

@github-actions github-actions released this 25 Oct 17:22
· 76 commits to main since this release

One change, on the 1K wireless dongle: Apply is about twice as fast. Found and measured by @f-o-o-g-s on a Pulsar X3.

A request after a write waits 30 ms

A request sent straight after a write's answer waits for the dongle's next slot, about 230 ms. Sent 30 ms after that answer instead, it is answered about 74 ms later. So the dongle now waits out the rest of 30 ms before sending anything that follows a write, and the GUI's Apply takes 1.72 s where it took 3.42 with the mouse still, and 1.81 where it took 3.01 with the mouse moving.

A page read is unchanged at 0.40 s, because it is all reads and a read after a read was never in the slow slot. Nothing else waits: it is a deadline rather than a pause, so a request that comes along on its own more than 30 ms later pays nothing, and a single --lod or --poll from the CLI pays nothing either, because nothing follows it.

20 rounds of each wait with the mouse still and 20 moving, shuffled so drift in the link hits every value the same: with no wait, 507 of 623 requests after a write waited for the slow slot; with 30 ms, none of 628 did. 20 ms still left about one in twenty in it, and 50 ms was no faster.

In the window it is worth more than those numbers say. Apply holds the USB lock from the first write to the last, so the battery poll, the tray and the Home page all queue behind it.

The 1K dongle only. The cable has no slot to miss — 60 same-value writes on a cabled X2A, with the wait shuffled the same way, had every read that followed answered in 10.9 to 12.0 ms whatever came before it (#32) — so the cabled drivers are unchanged.


Found and measured by @f-o-o-g-s on a Pulsar X3 behind the 1K dongle, with the X2A measurements here. Full attribution is in the README.