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
@ -544,7 +544,7 @@ module TestStruct
|
|||||||
|
|
||||||
1_000.times(&code)
|
1_000.times(&code)
|
||||||
PREP
|
PREP
|
||||||
300_000.times(&code)
|
50_000.times(&code)
|
||||||
CODE
|
CODE
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user