Login
You're viewing the techdon.dev public feed.
  • Oct 26, 2026, 10:15 AM

    Been giving some much needed attention to busd to get it across the finish line so it's a drop in replacement for the existing D-Bus brokers. I'm glad to report that it's performance is now either in par or better than existing brokers.

    dbus-broker is famous for being extremely efficient and busd beats it in certain areas and where it doesn't beat it, busd uses significantly less memory and is almost on level with dbus-broker.

    I used Claude extensively to achieve these results. Could I have done it without Claude? Impossible in the time I have. Could Claude have done this without me? Also doubtful.

    Results and benchmarks here: github.com/zeenix/dbus-bench

    D-Bus benchmark table. Values are time with 1 connection, time with 20 connections, CPU time with 20 connections, and peak memory, respectively.

dbus-broker 37: 0.060 s, 0.427 s, 0.28 s, 8.0 MiB.
dbus-daemon 1.16.2: 0.134 s, 1.143 s, 1.12 s, 6.1 MiB.
busd main: 0.071 s, 0.443 s, 0.35 s, 6.6 MiB.

dbus-broker has the lowest times, with busd close behind and using less memory.
    D-Bus benchmark table. Values are burst time to 1 recipient, broadcast time to 20 recipients, CPU time of the broadcast, and peak memory, respectively.

dbus-broker 37: 0.188 s, 0.219 s, 0.19 s, 14.6 MiB.
dbus-daemon 1.16.2: 0.847 s, 2.006 s, 1.98 s, 5.5 MiB.
busd main: 0.216 s, 0.138 s, 0.11 s, 6.2 MiB.

busd has the fastest broadcast and lowest broadcast CPU time. dbus-broker has the fastest burst; dbus-daemon uses the least memory.
    💬 0🔄 0⭐ 0