Comment 13 for bug 1055448

Revision history for this message
marmuta (marmuta) wrote :

@mrDoctorWho, I have no explanation for 73% CPU while moving the pointer over Onboard. There are no screen updates then, and the active theme doesn't matter. Turning off tooltips in preferences may help a little bit, though.

What's the output of
$ python3 -m test/pystone
My laptop gets roughly 90000 pystones/second

Switching layouts in preferences is expensive, enough to make it a bit slowish here too, but I don't feel that really needs to be improved. I'm trying to optimize for the most common cases during regular usage, i.e. typing.

Python is only partly to blame. A lot of time is spent in cairo amd GTK (and python-gi). Antialiased labels, rounded rectangles and gradients would slow down rendering in C too.