[#17566] rubychecker - runs checks on a Ruby interpreter — Igal Koshevoy <igal@...>

I've put together a shell script that runs checks on a Ruby interpreter.

14 messages 2008/07/03

[#17615] [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...>

At the moment, ruby-mode.el uses font-lock-keywords as opposed to

22 messages 2008/07/05
[#17657] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Yukihiro Matsumoto <matz@...> 2008/07/08

[#17678] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/09

It was designed to fix the following case:

[#17755] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/13

Here's a third patch that fixes a bug in the second and uses a quicker

[#17772] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

One more patch which fixes a few bugs in the the last one.

[#17773] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17776] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

Looks like version 22 doesn't support explicitly numbered regexp groups.

[#17779] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17783] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/15

Hi,

[#17788] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nathan Weizenbaum <nex342@...> 2008/07/15

Alright, here's a version that fixes both the highlighting bug and the

[#17793] Re: [PATCH] ruby-mode.el: Fix here-doc strings with inner quotes — Nobuyoshi Nakada <nobu@...> 2008/07/16

Hi,

[#17644] Features to be included in Ruby 1.9.1 — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, all

27 messages 2008/07/08

[#17674] [Ruby 1.8 - Bug #238] (Open) Ruby doesn't respect the Windows read-only flag — Jim Deville <redmine@...>

Issue #238 has been reported by Jim Deville.

10 messages 2008/07/08

[#17708] [Ruby 1.8 - Bug #252] (Open) Array#sort doesn't respect overridden <=> — Ryan Davis <redmine@...>

Issue #252 has been reported by Ryan Davis.

13 messages 2008/07/09

[#17871] duping the NilClass — "Nasir Khan" <rubylearner@...>

While nil is an object, calling dup on it causes TypeError. This doesnt seem

33 messages 2008/07/20
[#17872] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/20

Nasir Khan wrote:

[#17873] Re: duping the NilClass — "Meinrad Recheis" <meinrad.recheis@...> 2008/07/20

On Sun, Jul 20, 2008 at 7:55 PM, Urabe Shyouhei <shyouhei@ruby-lang.org>

[#17877] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/20

Meinrad Recheis wrote:

[#17879] Re: duping the NilClass — Kurt Stephens <ks@...> 2008/07/20

Urabe Shyouhei wrote:

[#17880] Re: duping the NilClass — "Nasir Khan" <rubylearner@...> 2008/07/21

I write a lot of hand crafted dup or clone because I want control as well as

[#17881] Re: duping the NilClass — "David A. Black" <dblack@...> 2008/07/21

Hi --

[#17882] Re: duping the NilClass — Urabe Shyouhei <shyouhei@...> 2008/07/21

+1 to David. A convenient way to do Marshal idiom should be a new

[#17885] Re: duping the NilClass — "Robert Dober" <robert.dober@...> 2008/07/21

On Mon, Jul 21, 2008 at 8:21 AM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:

[#17887] Re: duping the NilClass — "David A. Black" <dblack@...> 2008/07/21

Hi --

[#17889] Re: duping the NilClass — "Robert Dober" <robert.dober@...> 2008/07/21

On Mon, Jul 21, 2008 at 1:02 PM, David A. Black <dblack@rubypal.com> wrote:

[#17883] [Ruby 1.9 - Bug #340] (Open) 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1) — Ollivier Robert <redmine@...>

Issue #340 has been reported by Ollivier Robert.

14 messages 2008/07/21

[#17943] RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...>

Hi,

56 messages 2008/07/24
[#17950] Re: RUBY_ENGINE? — Tanaka Akira <akr@...> 2008/07/25

In article <3454c9680807241200xf7cc766qb987905a3987bb78@mail.gmail.com>,

[#17958] Re: RUBY_ENGINE? — "Vladimir Sizikov" <vsizikov@...> 2008/07/25

Hi,

[#17981] Re: RUBY_ENGINE? — Tanaka Akira <akr@...> 2008/07/26

In article <3454c9680807250054i70db563duf44b42d92ba41bfb@mail.gmail.com>,

[ruby-core:17974] Re: Proposal of GC::Profiler

From: "M. Edward (Ed) Borasky" <znmeb@...>
Date: 2008-07-25 15:22:40 UTC
List: ruby-core #17974
On Fri, 2008-07-25 at 23:59 +0900, Narihiro Nakamura wrote:
> Hi.
> 
> make profiler for GC.
> 
> == usage
> GC::Profiler.enable
> 
> :
> :
> :
> # gc is invoked several times
> 
> GC::Profiler.report
> 
> ---------- out -------------
> GC 10 invokes.
> Index	Invoke Time(sec)	Use Size(byte)	Total Size(byte)	Total Object	GC time(ms)
> 1 	0.016 			338420 		360448 			18018 		0.40000000000000007772
> 2 	0.024 			605640 		622592 			31122 		0.00000000000000008843
> 3 	0.040 			1080320 	1097728 		54873 		0.00000000000000022972
> 4 	0.060			1931460 	1949696 		97461 		0.40010000000000034426
> 5 	0.100 			3470040 	3489792 		174447 		0.79999999999999971134
> 6 	0.168 			6236240 	6258688 		312858 		1.20009999999999994458
> 
> 
> 2008303 used objects 52 free objects and 2008355 total objects in Heap.
> Index	Count		%		Kind (class)
> 1 	1500000 	74.68799092 	Child
> 2 	500000 		24.89599697 	Parent
> 3 	5986 		0.29805488 	Object
> 4 	1648 		0.08205721 	String
> 5 	417 		0.02076326 	Class
> 6 	81 		0.00403315 	Encoding
> 8 	48 		0.00239002 	RubyVM::InstructionSequence
> 9 	23 		0.00114522 	Float
> 10 	20 		0.00099584 	Module
> 11 	17 		0.00084646 	Array
> 12 	16 		0.00079667 	Hash
> 13 	10 		0.00049792 	Regexp
> 14 	9 		0.00044813 	Enumerable
> 15 	5 		0.00024896 	Comparable
> 16 	3 		0.00014938 	IO
> 17 	3 		0.00014938 	Precision
> 18 	2 		0.00009958 	Bignum
> 19 	1 		0.00004979 	RubyVM::Env
> 20 	1 		0.00004979 	RubyVM
> 21 	1 		0.00004979 	Complex
> 22 	1 		0.00004979 	NoMemoryError
> 23 	1 		0.00004979 	Binding
> 24 	1 		0.00004979 	SystemStackError
> 25 	1 		0.00004979 	ThreadGroup
> 26 	1 		0.00004979 	Thread
> 27 	1 		0.00004979 	File::Constants
> 28 	1 		0.00004979 	ARGF.class
> 29 	1 		0.00004979 	Mutex
> 30 	1 		0.00004979 	Data
> 31 	1 		0.00004979 	fatal
> 32 	1 		0.00004979 	Kernel
> 33 	1 		0.00004979 	Gem::QuickLoader
> ----------------------------
> 
> == use module and method introduce
> * GC::Profiler
> for Profiler
> 
> * GC::Profiler.enable?
> returns current status of GC profile mode.
> 
> * GC::Profiler.enable
> updates GC profile mode.
> start profiler for GC.
> 
> * GC::Profiler.disable
> stop profiler.
> 
> * GC::Profiler.clear
> clear before profile data.
> 
> * GC::Profiler.report
> Please quote the above-mentioned.
> 
> * GC::Profiler.format
> return string of GC::Profiler.report
> 
> * GC::Profiler.data
> Report profile data to wrap hash.
> It returns a hash as :
> [{:GC_TIME => 0.001, :HEAP_USE_SIZE => 342840,
> :HEAP_TOTAL_SIZE=>360360}, ... ]
> 
> * ObjectSpace.count_classes
> Counts classes for each type.
> It returns a hash as :
> {:TOTAL=>10000, :FREE=>3011, :String=>6, :Array=>404, ...}
> 
> 
> == merit
> 1. find memory leak
> Now, not get detail info in heap.
> ObjectSpace.count_classes, will be help to find memory leak.
> 
> 2. Performance tuning
> This provide simple way to get detail data of gc, and get heap
> size change data by gc.
> This will be help to performance tuning.
> 
> == patch
> patch file append to mail.
> 
> == Please tell me idea for this
> For example, more good method name, want more output data,
> and this propose is bad idea... etc
> 
> thanks.
> 
> nari
> 

Excellent idea!! Now, can all the other implementers build something
like this? ;)
-- 
M. Edward (Ed) Borasky
ruby-perspectives.blogspot.com

"A mathematician is a machine for turning coffee into theorems." --
Alfrテゥd Rテゥnyi via Paul Erdナ壮


In This Thread