Large chat room performance again

Mark Doliner mark at
Sat Apr 14 13:27:08 EDT 2007

On Sat, 14 Apr 2007 18:31:44 +0200, Fredrik Tolf wrote
> I've gotten my previous issues to work now, but there seems to be a
> performance issue with the GTK user list when the user count is ~10000.
> In my attempts to profile it, I compiled beta6 with debug flags and
> interrupted it at some points with gdb. The majority of the 
> interrupts, it wasn't possible to get a good stack trace (since the 
> code was running deep in Gtk/Pango which weren't compiled with 
> debugging), but the times I did get a reliable trace, it seemed to 
> be running in gtkconv.c:sort_chat_users(), which seems called by a autosorting
> GtkListStore.
> Is this something Gaim/Pidgin should fix, or do you think I should
> report this to the Gtk folks instead?

I don't recommend reporting this to the GTK folks unless you're sure it's a
GTK problem.  Have you tried profiling the application using Valgrind's
'Callgrind' tool?


More information about the Devel mailing list