summary refs log tree commit diff stats
path: root/tests/gc/gcbench.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-04-21 03:19:43 +0200
committerAraq <rumpf_a@web.de>2012-04-21 03:19:43 +0200
commit4aba7421f57d0f653ef928f012982957404416f9 (patch)
treed370a057c9f1ec4ffa4f9d16ee2c6c2359e04143 /tests/gc/gcbench.nim
parent8319e2411d07503f8ca1475f1ef9009384560c1c (diff)
downloadNim-4aba7421f57d0f653ef928f012982957404416f9.tar.gz
GC with realtime support
Diffstat (limited to 'tests/gc/gcbench.nim')
-rwxr-xr-xtests/gc/gcbench.nim3
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()