[PATCH v2] api-ms-win-crt-private-l1-1-0: Implement _o__fileno, _o__setmode, _o__wfopen

Martin Storsjö martin at martin.st
Fri May 15 13:20:30 CDT 2020


On Sat, 16 May 2020, Qian Hong wrote:

> I was working on using Wine as a cross-compile platform a few years
> ago, and I encountered exactly the same problem.
> Sabastian wrote a patch to improve Wine performance for short-lived
> processes, I recommend you to give it a try, it brought significant
> improvement for me:
> https://github.com/wine-staging/wine-staging/tree/master/patches/gdi32-Lazy_Font_Initialization
>
> Hopefully, someone would review the Wine-Staging patch and bring it to
> Wine master branch someday :)
> (Our Wine-Staging maintainers are doing an amazing job on upstreaming
> patches, thank you!)

For me, for running lots of short-lived wine processes, the single biggest 
speedup comes from running a persistent wine server. Without any wine 
processes running, run "wineserver -p". That wineserver instance will then 
stay around (until terminated with "wineserver -k"), greatly reducing the 
startup time for each command.

// Martin




More information about the wine-devel mailing list