Somewhat disappointing experiences with Winelib and WTL

Claus Fischer claus.fischer at clausfischer.com
Mon Feb 6 12:40:13 CST 2006


On Mon, Feb 06, 2006 at 05:49:24PM +0000, Robert Shearman wrote:

: >   - Make gdb work on Winelib programs

: http://www.winehq.org/site/docs/winedev-guide/dbg-others

: http://wiki.winehq.org/Winelib_binaries_as_ELF_executables_not_%2eexe%2eso

Thank you for those hints, apparently the Winelib docs that I
looked into were much more out of date :-)

: Maybe your goals are wrong.

  :-)

: >It's also quite slow when loading.
: 
: Have you tried using oprofile? Is it the Wine code that is slow or the 
: libc dynamic loader?

With everything in memory, I get:

  root at kepler ~ # opreport  | grep wine
        192  0.2808 wineserver
         98  0.1433 libwine_unicode.so.1
         82  0.1199 libwine.so.1
  root at kepler ~ # opreport  | grep wtl
         20  0.0293 linuxwtl.exe.so

Wall-clock time is roughly one second (this is a minimal
application). However the CPU time may be much smaller.

On Windows/VMware, I get <0.1 seconds for the same program.


Claus

-- 
Claus Fischer <claus.fischer at clausfischer.com>
http://www.clausfischer.com/



More information about the wine-devel mailing list