mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Make Struct memory leak test faster
[Bug #20311] It times out on some platform, so we can reduce iterations. On my machine it completes in 250ms and RSS grows 8X.
This commit is contained in:
parent
334e4c65b3
commit
f3af5ae7e6
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ module TestStruct
|
|||
|
||||
1_000.times(&code)
|
||||
PREP
|
||||
300_000.times(&code)
|
||||
50_000.times(&code)
|
||||
CODE
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue