Search
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
Download (317 Bytes)
Bug #4272
» test_bug2.rb
ibc (Iñaki Baz Castillo)
, 01/13/2011 01:22 AM
require
"./test_encoding"
times
=
(
(
ARGV
[
0
]
and
ARGV
[
0
].
to_i
>
0
)
?
ARGV
[
0
].
to_i
:
5000
)
threads
=
[]
num_threads
=
20
tester
=
TestEncoding
::
Tester
.
new
times
.
times
do
|
num
|
puts
"iteration [
#{
num
}
]"
s
=
tester
.
test_rb_enc_str_new
threads
<<
Thread
.
new
{
}
unless
num_threads
==
0
num_threads
-=
1
end
« Previous
1
…
3
4
5
Next »
(5-5/5)
Loading...