riched slowdown

James Hawkins truiken at gmail.com
Tue Jun 20 12:49:08 CDT 2006


Hi,

I just did a +relay log of the ie6setup.exe installation.  I had to
ctrl-c after the log grew to 3.5gb and the initial screen hadn't been
displayed yet.  tail -n 1000 relay.log showed call after call to
WideCharToMultibyte before I finally killed the install.  Here is a
sample of one of the calls:


WideCharToMultiByte(000004e4,00000000,40895ae4
L"S\5524",00000001,40895ae7,00000001,00000000,40895ae8)

So the length of the "string" we're converting is 1.  Not exactly
efficient.  grep'ing the log for WideCharToMultiByte reveals 39426680
calls, and it wasn't even done loading the EULA.  I'm pretty sure this
is a recent bug in riched, as overriding riched20 and riched32 gets
rid of the problem.

-- 
James Hawkins



More information about the wine-devel mailing list