oa_gateway_bench

Module scenarios

Source
Expand description

Isolated cost layers. Each scenario calls public APIs only.

Modulesยง

  • engine ๐Ÿ”’
    Engine::publish โ†’ N subscriber channels.
  • loopback ๐Ÿ”’
    Loopback A publish โ†’ Loopback B recv.
  • owp ๐Ÿ”’
    WebSocket PUB โ†’ MSG, embedded or attached.
  • ping ๐Ÿ”’
    One message across OWP: INIT, SUB Ping on demo, PUB, wait for MSG.
  • uci ๐Ÿ”’
    JSON โ†” XML convert cost on the PositionReport fixture.

Functionsยง

  • drain_until_quiet ๐Ÿ”’
    Waits until received stops increasing, or two seconds elapse.