[PATCH] KIO::SlaveBase and the event loop

Roland Harnau truthandprogress at googlemail.com
Wed Jul 16 21:55:03 BST 2008

2008/7/16, Ingo Klöcker <kloecker at kde.org>:

> The above "proof" is totally irrelevant as well. When I asked for actual
> numbers then I expected actual numbers measured by profiling actual
> applications (you mentioned Konqueror) e.g. via valgrind/callgrind.
> Unless you can proof that starting lots of IO slaves in Konqueror is a
> real problem your concerns are insubstantial.

Some  logic may help: If starting 20 http slaves is a "problem"
because it takes ~2.6 seconds, than it is especially a "problem" if
Konqueror starts 20 http slaves during webpage loading, since
KIO::Slave::createSlave is the way used by KIO (and hence by
Konqueror) to create new IO slaves. And Konqueror/KIO launches in fact
over 20 http slaves at some sites. The conclusion is simply an
application of modus ponens.

Btw: I have indeed proofed  what I have claimed:  Process creation
costs regarding IO slaves are high, irrespective of the exact meaning
of vague terms as "real problem".


More information about the kde-core-devel mailing list