From: "M. Edward (Ed) Borasky" Date: 2006-03-26T17:42:26+09:00 Subject: Re: Speed issue on Windows Wilson Bilkovich wrote: > On 3/25/06, rtilley wrote: > >> Larry Kelly wrote: >> >>> What progress is being made to improve Ruby's speed on Windows >>> platforms. I'm finding much slower on Windows, especially Windows 2003 >>> Server. >>> >>> >> How are you using Ruby? I find its performance acceptable on XP and >> 2003. I use both Python and Ruby for many common systems administration >> and automation tasks. IMO, Python and Ruby perform about the same. In >> some areas, Ruby is faster... I've found this to be especially true when >> working with WMI. >> >> > > I've found Ruby IO and database connectivity to be significantly > slower on Windows (identical and near-identical hardware) than on > Linux. Even IRB takes a noticeably longer time to reach a usable > state. A particularly nasty test is timing a script using ruby > -rprofile. The profiling overhead seems to be much greater in > Windows, which points at some kind of underlying problem. > Sadly, I don't know enough about instrumenting compiled code to point > at the problem. > Hmmm ... I'm not sure how many different versions of the Ruby interpreter there are for Windows. Are you using Curt Hibbs' One Click Installer, which, IIRC, was compiled with the native Microsoft Visual Studio? Some of the older versions may have been compiled with CygWin. > > -- M. Edward (Ed) Borasky http://linuxcapacityplanning.com