Results / aiomqtt
aiomqtt 2.5.1 asyncio
| version | 2.5.1 |
|---|---|
| I/O model | asyncio |
| implementation | python |
| stability | stable |
| completion | awaited |
| drive shape | awaited |
| Python | 3.12.13 |
Private API the adapter depends on
Client._client.socket(): aiomqtt claims on_socket_open for its loop glue, so TCP_NODELAY has to be set on the live socket (RTT scenarios are meaningless without it)Client.pending_calls_threshold: documented attribute, raised to skip a per-publish WARNING branch that floods stderr at bench outstanding windows
Refused
Declared unsupported by the adapter, never approximated.
- sub_filters_fixed: not_implemented:native_message_callback_add
Every point
| point | headline | value | CPU / msg | peak RSS | flags |
|---|---|---|---|---|---|
| pub_qos0_max | msgs/s | 12,461 | 80.3 µs | 27.0 MiB | |
| pub_qos1_max | msgs/s | 10,812 | 92.4 µs | 27.0 MiB | |
| pub_qos1_fixed | p50 | 500 µs | 274 µs | 27.2 MiB | |
| sub_qos0_max | msgs/s | 7,042 | 142 µs | 106.3 MiB | |
| sub_qos1_fixed | p50 | 242 µs | 179 µs | 26.9 MiB | |
| rtt_qos1_fixed | p50 | 803 µs | 645 µs | 27.3 MiB | |
| pub_16k_fixed | p50 | 500 µs | 479 µs | 27.2 MiB | |
| idle_connect | connect | 3.0 ms | 26.4 MiB | ||
| pub_qos1_fixed_v5 | p50 | 500 µs | 271 µs | 27.2 MiB | |
| sub_qos1_fixed_v5 | p50 | 258 µs | 206 µs | 27.0 MiB | |
| rtt_qos1_fixed_v5 | p50 | 967 µs | 719 µs | 27.4 MiB | |
| sub_qos1_max | msgs/s | 4,154 | 241 µs | 76.1 MiB | broker boundbroker queue overflow |
| pub_qos1_max_v5 | msgs/s | 10,772 | 92.9 µs | 27.0 MiB | |
| sub_qos1_max_v5 | msgs/s | 2,046 | 492 µs | 306.8 MiB | broker boundbroker queue overflow |
| pub_qos1_max_16k | msgs/s | 9,885 | 101 µs | 28.1 MiB | |
| pub_qos1_fixed_500 | p50 | 451 µs | 745 µs | 27.0 MiB | |
| pub_qos1_fixed_5k | p50 | 967 µs | 200 µs | 27.6 MiB | |
| sub_qos1_fixed_500 | p50 | 336 µs | 258 µs | 26.8 MiB | |
| sub_qos1_fixed_5k | p50 | 209 µs | 148 µs | 27.3 MiB | |
| rtt_qos0_fixed | p50 | 672 µs | 525 µs | 27.3 MiB | |
| pub_qos2_max | msgs/s | 8,451 | 118 µs | 27.0 MiB | |
| pub_qos2_fixed | p50 | 606 µs | 388 µs | 27.2 MiB | |
| sub_qos2_fixed | p50 | 336 µs | 269 µs | 26.9 MiB | |
| pub_fanout_fixed | p50 | 500 µs | 271 µs | 27.3 MiB | |
| sub_fanin_fixed | p50 | 233 µs | 178 µs | 27.0 MiB | |
| sub_filters_fixed | p50 | unsupported | |||
| duplex_qos1_fixed | p50 | 385 µs | 368 µs | 27.3 MiB | |
| pub_qos1_fixed_tls | p50 | 541 µs | 321 µs | 30.3 MiB | |
| sub_qos1_fixed_tls | p50 | 258 µs | 196 µs | 30.0 MiB | |
| idle_connect_tls | connect | 8.2 ms | 29.4 MiB | ||
| pub_qos1_fixed_v5_props | p50 | 573 µs | 375 µs | 27.2 MiB | |
| sub_qos1_fixed_v5_props | p50 | 336 µs | 279 µs | 27.0 MiB | |
| pub_qos1_fixed_v5_alias | p50 | 541 µs | 326 µs | 27.3 MiB | |
| sub_qos1_max_v5_rm16 | msgs/s | 2,016 | 502 µs | 302.6 MiB | broker boundbroker queue overflow |
| pub_64k_fixed | p50 | 606 µs | 758 µs | 27.4 MiB | |
| pub_1m_fixed | p50 | 2,687 µs | 3,000 µs | 30.9 MiB | |
| pub_rl_boundaries | p50 | 672 µs | 3,104 µs | 36.8 MiB |