GC tests: make them take less time to save CI cycles

This commit is contained in:
Andreas Rumpf 2019-01-19 12:47:44 +01:00
commit 9985706fb8
2 changed files with 5 additions and 7 deletions

View file

@ -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()