diff options
author | Araq <rumpf_a@web.de> | 2012-04-21 03:19:43 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-04-21 03:19:43 +0200 |
commit | 4aba7421f57d0f653ef928f012982957404416f9 (patch) | |
tree | d370a057c9f1ec4ffa4f9d16ee2c6c2359e04143 /tests/gc/gcbench.nim | |
parent | 8319e2411d07503f8ca1475f1ef9009384560c1c (diff) | |
download | Nim-4aba7421f57d0f653ef928f012982957404416f9.tar.gz |
GC with realtime support
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() |