[Bug 13606] msys is *incredibly* slow

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jan 10 04:53:00 CST 2009


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


Damjan Jovanovic <damjan.jov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |damjan.jov at gmail.com




--- Comment #5 from Damjan Jovanovic <damjan.jov at gmail.com>  2009-01-10 04:52:59 ---
Hello

I didn't find oprofile very helpful, but I did find something:

$ nohup notepad & (leave open)
$ cd msys
$ time for i in 1 2 3 4 5 6 7 8 9 10; do ls; done
real    0m0.206s
user    0m0.008s
sys     0m0.052s
$ time for i in 1 2 3 4 5 6 7 8 9 10; do wine bin/ls.exe; done
real    0m3.423s
user    0m1.436s
sys     0m0.672s

You'd think general process startup in wine is taking very long, but then you
compile and run this:

---snip---
#include <stdio.h>

int main(int argc, char **argv)
{
        printf("hello world\n");
}
---snip---

time for i in 1 2 3 4 5 6 7 8 9 10; do wine /tmp/helloworld.exe; done
real    0m0.579s
user    0m0.072s
sys     0m0.096s

Obviously not.

Let's take another example:
$ time for i in 1 2 3 4 5 6 7 8 9 10; do wine bin/true.exe; done
real    0m3.702s
user    0m1.412s
sys     0m0.692s

But bin/true.exe does almost nothing.

What does msys do that takes so long in wine?


-- 
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