http://bugs.winehq.org/show_bug.cgi?id=16061
--- Comment #2 from Jon Burgess jburgess777@googlemail.com 2008-11-15 08:51:19 --- I've created a cut down version of the osm2pgsql utility which demonstrates the slow down. The archive at the link below has the sources and some pre-compiled executables. The information on how I ran the test is included in README.TXT.
http://tile.openstreetmap.org/direct/osm2pgsql-wine-example.tar.bz2