mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
The NIP-09 conformance suite paused 200-300 ms after every send before querying the relay. The relay applies a deletion inside its write policy before replying `OK`, and a served Layer-2 event is queryable as soon as its `OK` arrives, so the pauses proved nothing and cost 3.5 s per run. Drop the pauses that followed an awaited send, and replace the pauses that preceded an absence assertion with `wait_until_not_served`, a bounded poll on the served state itself. The assertions are unchanged. Validation: measured against master with the same binaries, 20 unloaded runs and 30 samples as three concurrent instances under CPU spinners; see the pull request description. Assisted-by: Claude Fable 5.1 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>