Make GTK debug window usable again
tomkiewicz.groups at gmail.com
Thu Nov 15 13:13:53 EST 2012
debug window became incredibly slow since migration to webkit. It's
even not usable for some activities. I've digged around a bit, and
I've managed to speedup it really well: delay is unnoticeable.
Patch is divided to two parts:
- speeding up gtkwebview : now, it gets only one element at once.
When it deals with thousands of debug log lines (typical startup for
few) it takes forever until g_idle_add hits them all. After applying
the patch, it get elements until 100ms timeout is hit.
- speeding up debug log itself : adding new lines by appending html
is so slow, that timeout mentioned before is hit a lot of times. After
The first one seems (for me) to be ready to push into 3.0.0. The
second one needs some more work (fixing of filter feature), but it
shows the idea.
Waiting for comments,
More information about the Devel