Text Selection Speed

Koos Vriezen koos.vriezen at xs4all.nl
Thu Jun 13 23:41:17 BST 2002


On Thu, 13 Jun 2002, Matt Newell wrote:
> I have recently been looking at the khtml sources trying to get enough of an
> understanding to improve the horribly slow text selection algorithm.  I am
> starting to get a pretty decent understanding of how it works, but I still am
> not sure where all of the cpu cycles are going.  I just thought that you guys
> could give me a few pointers on what functions need optimizing, or how to
> profile khtml to find out for myself.

My first guess would be that khtml spend some time in repainting. I
would start with mouse events in khtmlview.cpp, then go to
xml/dom_docimpl.cpp and to the rendering stuff.

Koos





More information about the kfm-devel mailing list