MQTT Python client bench

Results / gmqtt

gmqtt 0.7.0 asyncio

version0.7.0
I/O modelasyncio
implementationpython
stabilitystable
completioncallback
drive shapenowait
Python3.12.13

Private API the adapter depends on

Refused

Declared unsupported by the adapter, never approximated.

Every point

pointheadlinevalueCPU / msgpeak RSSflags
pub_qos0_maxmsgs/s45,33122.1 µs22.2 MiBbroker bound
pub_qos1_maxmsgs/s24,38341.0 µs22.4 MiB
pub_qos1_fixedp50104 µs122 µs22.5 MiB
sub_qos0_maxmsgs/s70,34514.2 µs22.4 MiBoffer bound
sub_qos1_fixedp50168 µs100 µs22.4 MiB
rtt_qos1_fixedp50270 µs255 µs22.5 MiB
pub_16k_fixedp50125 µs194 µs22.5 MiB
idle_connectconnect0.9 ms22.2 MiB
pub_qos1_fixed_v5p50104 µs122 µs22.5 MiB
sub_qos1_fixed_v5p50168 µs101 µs22.5 MiB
rtt_qos1_fixed_v5p50270 µs258 µs22.6 MiB
sub_qos1_maxmsgs/s40,89324.5 µs22.7 MiBbroker boundbroker queue overflow
pub_qos1_max_v5msgs/s23,40642.7 µs22.5 MiB
sub_qos1_max_v5msgs/s37,74226.5 µs22.8 MiBbroker boundbroker queue overflow
pub_qos1_max_16kmsgs/s20,83548.0 µs24.2 MiB
pub_qos1_fixed_500p50143 µs268 µs22.4 MiB
pub_qos1_fixed_5kp5075.8 µs72.3 µs22.8 MiB
sub_qos1_fixed_500p50258 µs158 µs22.3 MiB
sub_qos1_fixed_5kp50135 µs63.9 µs22.9 MiB
rtt_qos0_fixedp50250 µs158 µs22.5 MiB
pub_qos2_maxmsgs/sunsupported
pub_qos2_fixedp50unsupported
sub_qos2_fixedp50unsupported
pub_fanout_fixedp50104 µs123 µs22.6 MiB
sub_fanin_fixedp50168 µs99.4 µs22.6 MiB
sub_filters_fixedp50unsupported
duplex_qos1_fixedp5075.8 µs125 µs22.6 MiB
pub_qos1_fixed_tlsp50135 µs139 µs27.6 MiB
sub_qos1_fixed_tlsp50168 µs101 µs27.5 MiB
idle_connect_tlsconnect5.2 ms27.2 MiB
pub_qos1_fixed_v5_propsp50100 µs137 µs22.5 MiB
sub_qos1_fixed_v5_propsp50176 µs113 µs22.5 MiB
pub_qos1_fixed_v5_aliasp50104 µs126 µs22.6 MiB
sub_qos1_max_v5_rm16msgs/s29,82033.5 µs22.4 MiBbroker boundbroker queue overflow
pub_64k_fixedp50287 µs275 µs22.7 MiB
pub_1m_fixedp502,818 µs2,875 µs25.2 MiB
pub_rl_boundariesp50250 µs2,333 µs30.2 MiB