# Speed issue on Windows

**URL:** <https://www.ruby-forum.com/t/speed-issue-on-windows/55935>\
**Category:** Ruby\
**Created:** [March 25, 2006, 3:45pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935 "2006-03-25T15:45:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 25, 2006, 3:45pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/1 "2006-03-25T15:45:13Z")

</div>

What progress is being made to improve Ruby’s speed on Windows  
platforms. I’m finding much slower on Windows, especially Windows 2003  
Server.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 25, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/2 "2006-03-25T20:38:57Z")

</div>

Larry K. 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.
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

What exactly are you finding slow? Also, I’ve noticed that I/O in  
general is slower on Windows compared with other platforms, for  
example. In addition, what version of Ruby are you using? Did you  
build it yourself? If so, with what compiler and what options?

Regards,

Dan

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 25, 2006, 9:33pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/3 "2006-03-25T21:33:26Z")

</div>

Daniel B. wrote:

> What exactly are you finding slow? Also, I’ve noticed that I/O in  
> general is slower on Windows compared with other platforms, for  
> example.  
> OK, _my_ turn to ask detailed questions. 🙂 How specifically is “I/O in  
> general” on Windows slower than, say, Linux or BSD? Remember, NTFS is a  
> journaling filesystem and is tunable, so you should compare Windows  
> (server??) I/O performance with, say, Linux, using properly tuned  
> journaling filesystems and identical (RAIDed) hardware. I think you’ll  
> find that if you give a Windows performance engineer a chance to tune  
> the Windows server and a Linux performance engineer a chance to tune  
> the Linux server, the two platforms will be competitive.

Come back to me in a couple of weeks; I’m taking a Windows internals  
course and I expect to learn the Windows piece of that performance  
engineering toolset. I’ve already got the Linux piece pretty well under  
control, and I don’t know anything about BSD.

–  
M. Edward (Ed) Borasky

> **[世界杯竞猜彩票-世界杯官网竞猜（集团）有限公司](http://www.linuxcapacityplanning.com/)**
>
> 世界杯竞猜彩票一直以来遵守商业道德，世界杯官网竞猜坚持诚信为本，保证诚实经营。世界杯竞猜彩票先后成为安徽省电子商务协会理事单位、安徽省网商协会会员单位、合肥市电子商务协会理事单位、合肥市服务外包行业协会会员单位、安徽省云计算产业促进会会员单位。世界杯官网竞猜一直保持良好的技术及服务态度，更好地为客户服务。

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 26, 2006, 3:54am UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/4 "2006-03-26T03:54:08Z")

</div>

Larry K. 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.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 26, 2006, 4:48am UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/5 "2006-03-26T04:48:52Z")

</div>

On 3/25/06, rtilley [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

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

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 26, 2006, 10:44am UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/6 "2006-03-26T10:44:33Z")

</div>

Wilson B. wrote:

> > 1. I use both Python and Ruby for many common systems administration  
> > -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 H.’ 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://www.linuxcapacityplanning.com/)**
>
> 世界杯竞猜彩票一直以来遵守商业道德，世界杯官网竞猜坚持诚信为本，保证诚实经营。世界杯竞猜彩票先后成为安徽省电子商务协会理事单位、安徽省网商协会会员单位、合肥市电子商务协会理事单位、合肥市服务外包行业协会会员单位、安徽省云计算产业促进会会员单位。世界杯官网竞猜一直保持良好的技术及服务态度，更好地为客户服务。

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 26, 2006, 10:50am UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/7 "2006-03-26T10:50:27Z")

</div>

P.S.: I have a P4/1 GB/SATA disk workstation that’s dual-booted Gentoo  
Linux and XP Professional, and I’ve got CygWin on the Windows side. If  
there are some reasonable benchmarks in Ruby, I could run them with the  
CygWin Ruby (1.8.4 IIRC), Curt H.’ One Click and the stock Gentoo  
Ruby (compiled with gcc 3.4 and optimized O3 with march=pentium4). To  
keep things fair, I’ll stick to processor-bound benchmarks; I’m not sure  
it’s valid to compare NTFS with ext2 filesystems.

Anybody here have any favorite Ruby benchmarks? In the absence of any  
other ideas, I’ll probably do a 100x100 matrix factorization using the  
standard Matrix/Mathn/Rational/Complex packages. That should give the  
interpreter a pretty good workout.

Wilson B. wrote:

> > 1. I use both Python and Ruby for many common systems administration  
> > -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.

–  
M. Edward (Ed) Borasky

> **[世界杯竞猜彩票-世界杯官网竞猜（集团）有限公司](http://www.linuxcapacityplanning.com/)**
>
> 世界杯竞猜彩票一直以来遵守商业道德，世界杯官网竞猜坚持诚信为本，保证诚实经营。世界杯竞猜彩票先后成为安徽省电子商务协会理事单位、安徽省网商协会会员单位、合肥市电子商务协会理事单位、合肥市服务外包行业协会会员单位、安徽省云计算产业促进会会员单位。世界杯官网竞猜一直保持良好的技术及服务态度，更好地为客户服务。

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 26, 2006, 9:49pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/8 "2006-03-26T21:49:34Z")

</div>

On 3/26/06, M. Edward (Ed) Borasky [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > >
> > 
> > slower on Windows (identical and near-identical hardware) than on  
> > 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.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 26, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/9 "2006-03-26T22:04:32Z")

</div>

Try running the built-in sample “cal.rb” with ruby -rprofile.  
I don’t have two identical boxes right next to each other right now,  
but:  
WinXP SP2, dual Xeon 2.8GHz, 2GB of RAM: 5.031 seconds.  
Ubuntu 5.10, single P4 3.0GHz, 1GB of RAM: 2.110 seconds.

Obviously the hardware isn’t the same, but they should be much, much  
closer than that.  
cal.rb is a good choice (in my opinion) because it creates and  
compares a very large number of Rational and Fixnum objects.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 26, 2006, 10:38pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/10 "2006-03-26T22:38:31Z")

</div>

Wilson B. wrote:

> Try running the built-in sample “cal.rb” with ruby -rprofile.  
> I don’t have two identical boxes right next to each other right now, but:  
> WinXP SP2, dual Xeon 2.8GHz, 2GB of RAM: 5.031 seconds.  
> Ubuntu 5.10, single P4 3.0GHz, 1GB of RAM: 2.110 seconds.
> 
> Obviously the hardware isn’t the same, but they should be much, much  
> closer than that.  
> cal.rb is a good choice (in my opinion) because it creates and  
> compares a very large number of Rational and Fixnum objects.

4.94 sec WinXP SP2, single Pentium M, 1.7GHz, 512MB  
1-click installer

2.32 sec Ubuntu 5.10, single Pentium M, 1.7GHz, 512MB  
built with default build options

I took the best run out of 10 or so on each platform. Not building the  
windows version with architecture specific options might account for  
some of the difference.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 27, 2006, 6:29am UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/11 "2006-03-27T06:29:20Z")

</div>

On 3/25/06, M. Edward (Ed) Borasky [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Daniel B. wrote:
> 
> > Larry K. 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.  
> > > What exactly are you finding slow? Also, I’ve noticed that I/O in  
> > > general is slower on Windows compared with other platforms, for  
> > > example.  
> > > OK, _my_ turn to ask detailed questions. 🙂 How specifically is “I/O  
> > > in general” on Windows slower than, say, Linux or BSD?

File open operations are generally slower on Windows than other  
platforms. Once a file is open, Windows can perform about as well as any  
other operating system with a journaling filesystem. Some of the  
open-time performance can be recovered by turning off “access-time”  
tracking, but Windows is generally slower on those operations.

Solaris 10 claims a significant performance improvement over almost  
anything else right now.

-austin

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 27, 2006, 7:16pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/12 "2006-03-27T19:16:05Z")

</div>

On 3/26/06, Joel VanderWerf [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 4.94 sec WinXP SP2, single Pentium M, 1.7GHz, 512MB  
> 1-click installer
> 
> 2.32 sec Ubuntu 5.10, single Pentium M, 1.7GHz, 512MB  
> built with default build options
> 
> I took the best run out of 10 or so on each platform. Not building the  
> windows version with architecture specific options might account for  
> some of the difference.

I just built several versions of Ruby 1.8.4 using various  
optimizations, including -G7 -Ox (target P4/Xeon architecture, maximum  
optimization), and compared them to the binaries from ruby-mswin32 and  
the one click installer.  
They all actually performed slightly worse than the default settings.

Looks like it’s not a problem with the compiler flags (which seem finely  
tuned).  
I also tried throwing “WITHOUT\_PTHREADS” into the Makefile, but since  
it’s not a configure.bat option on Win32, I wasn’t surprised when it  
didn’t change anything.

–Wilson.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 28, 2006, 7:18am UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/13 "2006-03-28T07:18:14Z")

</div>

Austin Z. wrote:

> Solaris 10 claims a significant performance improvement over almost  
> anything else right now.

Solaris also has some nifty OS-level performance measuring and tuning  
tools. Coincidence? I think not!

–  
M. Edward (Ed) Borasky

> **[世界杯竞猜彩票-世界杯官网竞猜（集团）有限公司](http://www.linuxcapacityplanning.com/)**
>
> 世界杯竞猜彩票一直以来遵守商业道德，世界杯官网竞猜坚持诚信为本，保证诚实经营。世界杯竞猜彩票先后成为安徽省电子商务协会理事单位、安徽省网商协会会员单位、合肥市电子商务协会理事单位、合肥市服务外包行业协会会员单位、安徽省云计算产业促进会会员单位。世界杯官网竞猜一直保持良好的技术及服务态度，更好地为客户服务。

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 30, 2006, 3:03am UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/14 "2006-03-30T03:03:22Z")

</div>

Wilson B. wrote:

> Try running the built-in sample “cal.rb” with ruby -rprofile.  
> I don’t have two identical boxes right next to each other right now,  
> but:  
> WinXP SP2, dual Xeon 2.8GHz, 2GB of RAM: 5.031 seconds.  
> Ubuntu 5.10, single P4 3.0GHz, 1GB of RAM: 2.110 seconds.

I built Ruby with VC++ 2005 from recent source (1.8.4 doesn’t compile  
under VC++ 2005). My times were:

Ruby 1.8.4 preview 3: 5.59 seconds  
Ruby 1.9 w/ VC++ 2005: 1.49 seconds \*\*\*

\*\*\*This isn’t a fair comparison, however, because I notice that the call  
counts are quite different between the two runs–presumably due to  
source changes since 1.8.4.

I have run other comparisons between the two, and I find the VC++ 2005  
version to be anywhere from 10 to \>100% faster; in particular, bignum  
arithmetic is over twice as fast.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [March 27, 2006, 5:48am UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/15 "2006-03-27T05:48:37Z")

</div>

Daniel B. wrote:

> Larry K. 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.
> > 
> > –  
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> What exactly are you finding slow? Also, I’ve noticed that I/O in  
> general is slower on Windows compared with other platforms, for  
> example. In addition, what version of Ruby are you using? Did you  
> build it yourself? If so, with what compiler and what options?
> 
> Regards,
> 
> Dan

One example.  
Webrick on Fedorora C5. starts up in 3 to 5 seconds.  
Webrick on Windows 2003 Server takes 30 to 40 seconds on the same  
hardware.

I’ve tried this on 700mhz and 3ghz machines. Results are about the same.  
In all cases, OS was installed with normal defaults, no attempt made to  
tune anything.  
-Larry

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 17, 2007, 9:24pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/16 "2007-10-17T21:24:14Z")

</div>

So my question is…why is ruby so slow on win32? I don’t think it is  
just file I/O. And is there an answer? A better compiler?  
Thanks!

Joel VanderWerf wrote:

> Wilson B. wrote:
> 
> > Try running the built-in sample “cal.rb” with ruby -rprofile.  
> > I don’t have two identical boxes right next to each other right now, but:  
> > WinXP SP2, dual Xeon 2.8GHz, 2GB of RAM: 5.031 seconds.  
> > Ubuntu 5.10, single P4 3.0GHz, 1GB of RAM: 2.110 seconds.
> > 
> > Obviously the hardware isn’t the same, but they should be much, much  
> > closer than that.  
> > cal.rb is a good choice (in my opinion) because it creates and  
> > compares a very large number of Rational and Fixnum objects.
> 
> 4.94 sec WinXP SP2, single Pentium M, 1.7GHz, 512MB  
> 1-click installer
> 
> 2.32 sec Ubuntu 5.10, single Pentium M, 1.7GHz, 512MB  
> built with default build options
> 
> I took the best run out of 10 or so on each platform. Not building the  
> windows version with architecture specific options might account for  
> some of the difference.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 18, 2007, 12:39pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/17 "2007-10-18T12:39:56Z")

</div>

Larry K. 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.

Ok, I’m jumping too late on this thread.

The current build of ruby (the official one located at ruby-lang page)  
is the same bundled into One-Click-Installer (OCI).

That version was built with VC6, which compared to VC8 perform worse:

[http://pastie.caboo.se/95210](http://pastie.caboo.se/95210)

As the summary of the tests indicates, all were performed under the same  
machine.

To make this simple: it’s true, current distribution/build of ruby  
perform worse than linux counterparts.

NOTE: this isn’t a cientific test, but something average-joe could  
deduce after continous use of Ruby.

This discusion was raised (by me) in the ruby-core mailing list too:  
[ruby-core:12305]  
[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/12305](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/12305)

and the available paths, with pro and cons:  
[http://www.ruby-forum.com/topic/126416#566835](http://www.ruby-forum.com/topic/126416#566835)

I just can say ‘we’ are working hard to get a better build of Ruby for  
Windows.

More details will come in the following weeks.

Regards,

Luis

PS: I just reply this message, since this already was a heated talk on  
ruby-core and last year too. It seems it araise from time to time.

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 18, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/18 "2007-10-18T15:22:00Z")

</div>

Thank you!

> That [official] version was built with VC6, which compared to VC8 perform worse:

ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] (official build)  
time elapsed: 13.516 sec.  
time elapsed: 13.485 sec.  
time elapsed: 13.485 sec.  
time elapsed: 13.5 sec.  
time elapsed: 13.485 sec.

ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32\_80] VC 8.0  
time elapsed: 10.516 sec.  
time elapsed: 10.531 sec.  
time elapsed: 10.516 sec.  
time elapsed: 10.531 sec.  
time elapsed: 10.515 sec.

apparently 🙂

> As the summary of the tests indicates, all were performed under the same  
> machine.  
> It would be nice to see the comparison run on linux (same machine), too.

> To make this simple: it’s true, current distribution/build of ruby  
> perform worse than linux counterparts.

> I just can say ‘we’ are working hard to get a better build of Ruby for  
> Windows.

Thanks for your work on that. I know some of us use win32 and suffer 🙂  
-Roger

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 18, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/19 "2007-10-18T19:44:37Z")

</div>

Roger P. wrote:

> > As the summary of the tests indicates, all were performed under the same  
> > machine.  
> > It would be nice to see the comparison run on linux (same machine), too.

It is!, read to the bottom after the EXPERIMENTAL STUFF WARNING! 😉

(Starting line 82)

#–

# OS:

# Ubuntu 7.04 Feisty Fawn

# Linux 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686

GNU/Linux  
#++

> > To make this simple: it’s true, current distribution/build of ruby  
> > perform worse than linux counterparts.
> 
> > I just can say ‘we’ are working hard to get a better build of Ruby for  
> > Windows.
> 
> Thanks for your work on that. I know some of us use win32 and suffer 🙂

I know and share your pain, but still I got so many rewards developing  
under windows that cannot take the whole platform down just due Ruby 🙂

Regards,

Luis

---

<div class="post-metadata">

**Author:** ![ldk2005](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d9b06d/32.png) [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Post date:** [October 30, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/speed-issue-on-windows/55935/20 "2007-10-30T18:38:31Z")

</div>

> > To make this simple: it’s true, current distribution/build of ruby  
> > perform worse than linux counterparts.

I have finally gotten what I perceive as a ‘working’ version of mingw  
ruby for windows. It seems to indeed be faster than the MSVC version  
(!)

MSVC version:

G:\upillar\>c:\ruby\bin\ruby -e “a = Time.new; 20000.times do ‘a’\*20000  
end; print Time.new - a”  
9.922

mingw (new) version:  
G:\upillar\>ruby -e “a = Time.new; 20000.times do ‘a’\*20000 end; print  
Time.new - a”  
6.656

So 30% faster.

If anybody would like to help me alpha test this, I have a distro  
available for download at [http://doachristianturndaily.info/ruby\_distro/](http://doachristianturndaily.info/ruby_distro/)  
with install instructions located there.  
Let me know of any problems.

[Next page](https://www.ruby-forum.com/t/speed-issue-on-windows/55935.md?page=2)
