diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-05 13:52:16 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-01-05 13:52:16 +0000 |
commit | d22d3b5a7a37bc2ff723fa5acc4ce2d85539d189 (patch) | |
tree | 440e1f4cbf395fe32da95538b2ef5d6b8df14be3 /benchmark/bmx_temp.rb | |
parent | c5a0c3be2e604e64ffa9cb77d758ac10eedecce9 (diff) |
* benchmark/bm_app_pentomino.rb : use Array#dup instead of
Array#clone
* benchmark/bmx_temp.rb : removed
* benchmark/run.rb : use run.rb instead of run_rite.rb
* common.mk : ditto
* benchmark/run_rite.rb : removed
* common.mk : use $(srcdir)/test.rb to run a test program
with "make run"
* benchmark/bmx_temp.rb : removed and
set svn:ignore (bmx_*.rb) to benchmark/
* test.rb : set svn:ignore
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bmx_temp.rb')
-rw-r--r-- | benchmark/bmx_temp.rb | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/benchmark/bmx_temp.rb b/benchmark/bmx_temp.rb deleted file mode 100644 index dc45f5a153..0000000000 --- a/benchmark/bmx_temp.rb +++ /dev/null @@ -1,57 +0,0 @@ -
-i=0
-while i<20000000
- x = 1 # "foo"
- i+=1
-end
-
-__END__
-
-class Range
- def each
- f = self.first
- l = self.last
- while f < l
- yield
- f = f.succ
- end
- end
-end
-
-(0..10000000).each{
-}
-
-__END__
-class Fixnum_
- def times
- i = 0
- while i<self
- yield(i)
- i+=1
- end
- end
-end
-
-10000000.times{
-}
-__END__
-
-ths = (1..10).map{
- Thread.new{
- 1000000.times{
- }
- }
-}
-ths.each{|e|
- e.join
-}
-
-__END__
-$pr = proc{}
-def m
- $pr.call
-end
-
-1000000.times{|e|
- m
-}
|