[Bug 11184] Performance regression in variable substitutions.

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 14 06:22:38 CST 2008


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





--- Comment #3 from Antonio <lorefice2 at libero.it>  2008-01-14 06:22:37 ---
(In reply to comment #2)
> As of Wine 0.9.53 wineboot is started at wine startup to launch services (and I
> think the drive detection will be a service soon too, so it is needed). Most
> likely this is what is adding some additional delay. If no trace of Wine is
> around when starting winepath, this likely happens. 

Thanks for answering, but please, pay more attention to what happens.
Additional 3 seconds delay happens only when the "winepath" executable is
invoked in a variable substitution.
`winepath` or $(winepath) takes 3 seconds more than winepath to complete.

> Try to see what happens if
> you have e.g. winemine running when you launch your script.

Zool ~ # winemine &
[1] 31797
Zool ~ # time winepath ; sleep 5 ; time echo $(winepath)

real    0m0.014s
user    0m0.007s
sys     0m0.007s

real    0m0.013s
user    0m0.003s
sys     0m0.007s

> Likely it defaults
> to the old behavior.

Exactly! but i'm still asking why $() and `` adds an additional 3 seconds
delay, and if there is a workaround apart from launching another wine app in
background.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list