[PATCH] KIO::SlaveBase and the event loop
faure at kde.org
Mon Jul 21 11:16:33 BST 2008
On Wednesday 16 July 2008, Roland Harnau wrote:
> 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.
The planned fix for this is HTTP pipelining support.
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel