On 3/26/06, M. Edward (Ed) Borasky <znmeb / cesmail.net> wrote:
>
>
> Wilson Bilkovich wrote:
> > On 3/25/06, rtilley <rtilley / vt.edu> 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.
> >
> >
>

I've had this experience with both the one-click, and with versions
I've built myself using Visual Studio 2K3 and 6.0.
Until I saw this thread, I assumed this was common knowledge.  If
that's not the case, I can stage some kind of benchmark between Linux
and Windows on identical hardware.

--Wilson.