I'm writing a GTK4 application, and it consumes very high CPU load. Digging in a bit, it turned out that I have enormously high amount of this system call (strace snippet):
recvmsg(14, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
Digging even deeper, fd=14 turned out to be a DBUS descriptor.
I've tried to disconnect from dBus, but something inside GTK4 connects it implicitly.
My CPU load is between 7-12% when I don't do anything with my app, and it gets higher over time.
I'm using Debian stable, so GTK4 is 4.8.3.