Explorar o código

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

Patrick Falls %!s(int64=12) %!d(string=hai) anos
pai
achega
22ca24571a
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  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