diff options
Diffstat (limited to 'tests/gc/gcbench.nim')
-rwxr-xr-x | tests/gc/gcbench.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gc/gcbench.nim b/tests/gc/gcbench.nim index 253b74805..44d952baa 100755 --- a/tests/gc/gcbench.nim +++ b/tests/gc/gcbench.nim @@ -161,5 +161,8 @@ proc main() = var elapsed = epochTime() - t PrintDiagnostics() echo("Completed in " & $elapsed & "ms. Success!") + +when defined(GC_setMaxPause): + GC_setMaxPause 2_000 main() |