GC tests: make them take less time to save CI cycles
This commit is contained in:
parent
f7c0360aba
commit
9985706fb8
2 changed files with 5 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ type
|
|||
proc makeObj(): TTestObj =
|
||||
result.x = "Hello"
|
||||
|
||||
for i in 1 .. 1_000_000:
|
||||
for i in 1 .. 100_000:
|
||||
when defined(gcMarkAndSweep) or defined(boehmgc):
|
||||
GC_fullcollect()
|
||||
var obj = makeObj()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue