Browse Source

Removed flag +K true since this lowered the performance of the tests

Patrick Falls 12 years ago
parent
commit
22ca24571a
2 changed files with 3 additions and 2 deletions
  1. 1 1
      cowboy/setup_erlang.py
  2. 2 1
      elli/setup_erlang.py

+ 1 - 1
cowboy/setup_erlang.py

@@ -8,7 +8,7 @@ def start(args):
   try:
     subprocess.check_call("./rebar get-deps", shell=True, cwd="cowboy")
     subprocess.check_call("./rebar compile", shell=True, cwd="cowboy")
-    subprocess.check_call("erl -pa ebin deps/*/ebin +K true +sbwt very_long +swt very_low -s hello_world -noshell -detached", shell=True, cwd="cowboy")
+    subprocess.check_call("erl -pa ebin deps/*/ebin +sbwt very_long +swt very_low -s hello_world -noshell -detached", shell=True, cwd="cowboy")
     return 0
   except subprocess.CalledProcessError:
     return 1

+ 2 - 1
elli/setup_erlang.py

@@ -8,7 +8,8 @@ def start(args):
   try:
     subprocess.check_call("./rebar get-deps", shell=True, cwd="elli")
     subprocess.check_call("./rebar compile", shell=True, cwd="elli")
-    subprocess.check_call("erl -pa ebin deps/*/ebin +K true +sbwt very_long +swt very_low -s elli_bench -noshell -detached", shell=True, cwd="elli")
+    # adding +K true seemed to actually slow performance
+    subprocess.check_call("erl -pa ebin deps/*/ebin +sbwt very_long +swt very_low -s elli_bench -noshell -detached", shell=True, cwd="elli")
     return 0
   except subprocess.CalledProcessError:
     return 1