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:
Jean Boussier 2024-03-01 15:07:57 +01:00 committed by Jean Boussier
parent 334e4c65b3
commit f3af5ae7e6

View File

@ -544,7 +544,7 @@ module TestStruct
1_000.times(&code)
PREP
300_000.times(&code)
50_000.times(&code)
CODE
end