Scrolling performance issue with ConversationTextview
- Gajim git 1ac852f0
- python-nbxmpp 1a844d5042f
- Debian Bullseye (testing) GNU/Linux
- python 3.7.4-4
- python-gobject 3.34.0-1
- gobject-introspection 1.62.0-2
- gtk 3.24.12-1
- glib 2.62.2-2
- libgdk-pixbuf 2.40.0+dfsg-1
- libpixman 0.36.0-1
Once Gajim MUC is opened since approx 18 hours and there are 1400 lines, fast scrolling movements in the message view with touchpad on a notebook lead to big lag up to full GUI lock for several seconds. Very slow scrolling is still possible as well as fast scrolling moving a caret with left mouse button. Gajim MUC is just an example with concrete numbers, the issue applies generally once there is a particular number of lines in the message view.
With perf I see:
Overhead Shared Object Symbol
47.03% libpixman-1.so.0.36.0 [.] pixman_region_intersect_o
25.16% libpixman-1.so.0.36.0 [.] pixman_op
7.57% libpixman-1.so.0.36.0 [.] pixman_set_extents
5.62% libc-2.29.so [.] __memmove_sse2_unaligned_erms
1.23% libgtk-3.so.0.2404.8 [.] count_expand_children
0.81% libgtk-3.so.0.2404.8 [.] gtk_widget_is_drawable
...
This might be a regression since 06700c96. Or this is a side effect of some gtk/... issue.