diff options
| author | Jean Boussier <byroot@ruby-lang.org> | 2024-03-01 15:07:57 +0100 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2024-03-01 16:33:09 +0100 |
| commit | f3af5ae7e6c1c096bbfe46d69de825a02b1696cf (patch) | |
| tree | 2d2805ca44598d3feefd4fdd69b59ae818043419 /test/ruby | |
| parent | 334e4c65b39f8a26a16af776fbccd2b97590211b (diff) | |
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.
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_struct.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_struct.rb b/test/ruby/test_struct.rb index a451e400cb..3d727adf04 100644 --- a/test/ruby/test_struct.rb +++ b/test/ruby/test_struct.rb @@ -544,7 +544,7 @@ module TestStruct 1_000.times(&code) PREP - 300_000.times(&code) + 50_000.times(&code) CODE end |
