浏览代码

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

Patrick Falls 12 年之前
父节点
当前提交
4219cb3441
共有 2 个文件被更改,包括 3 次插入2 次删除
  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