[Bug 21566] New: Programs start slower in Wine than in Windows

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 31 23:27:41 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21566

           Summary: Programs start slower in Wine than in Windows
           Product: Wine
           Version: 1.1.37
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


Build systems like make rely on cl.exe starting quickly.
To test this, I created a batch file containing

call "c:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
echo int x; > empty.c
cl.exe -c -Z7 empty.c

and ran it with time cmd /c foo.bat from cygwin.

On Vista, this takes 0.1 seconds.

On Wine, this takes 0.5 seconds with wineserver already running.
Unsetting DISPLAY, killing wineserver, removing the three registry keys
in system.reg and user.reg having to do with fonts, hiding
/usr/share/fonts/{truetype,type1}, and then starting wineserver
cuts the startup time down to 0.2 seconds.  

That extra 100ms per cl.exe doesn't sound like a lot, but might 
make some developers less likely to run big build jobs on wine. 

+timestamps shows that maybe 12ms are still due to wine's builtin fonts; 
this line
trace:file:find_drive_rootA "/home/dank/wine-git/fonts//symbol.ttf" -> drive
Z:, root="/", name="/home/dank/wine-git/fonts//symbol.ttf"
shows up twice, and seems to take 6ms each time.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list