[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

Re: Ruby performance improvements

From: "Michael Selig" <michael.selig@...>
Date: 2006-12-17 23:22:45 UTC
List: ruby-core #9739
Thank you for testing my patches.

----- Original Message -----
From: <khaines@enigo.com>
To: <ruby-core@ruby-lang.org>
Sent: Saturday, December 16, 2006 10:20 PM
Subject: Re: Ruby performance improvements


> I applied this patch for testing and discovered that the version that it
> sets, 1.8.4-OPT, messes up part of Ruby's build process where it breaks
> down the major and minor numbers of the version in order to use them to
> form directory names.
To be honest, I never did a complete re-build. This mod was done purely for
my convenience because I had a number of ruby executables around for
benchmarking, and I wanted to easily tell which was which.

> An attr_accessor call with a long argument list (25 symbols) only received
> the first 17 (if I counted right).  The remaining 8 or so were ignored.
> I broke that call into 2 calls, each with 1/2 the symbols, and retested.
I have an idea what may be causing this. I'll check it out. Thanks.

> 15% isn't earthshaking, but it's certainly not bad if nothing in a fairly
> complex set of code breaks (other than the one aforementioned item) to
> get it.
In my testing 15% is at the lower end of the improvements that I saw on CPU
bound applications.

Mike.


In This Thread

Prev Next