diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-07-05 19:00:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 01:00:07 +0200 |
commit | f35edc574aea43f65e052db148d9b337d7f2dae4 (patch) | |
tree | 39e6b8824247d71fbb9ccd55751834d6990f92b4 | |
parent | d4f9457536932c27937e5f7c6948cd6ef547ae25 (diff) |
Remove test_server dependency from benchmarks (#6645)
-rwxr-xr-x | tools/benchmark.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/benchmark.py b/tools/benchmark.py index 47f9fd821..369aa6fca 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -12,8 +12,7 @@ import json import time import tempfile import subprocess -from util import (build_path, executable_suffix, root_path, run, run_output, - build_mode) +from util import build_path, executable_suffix, root_path, run, run_output import third_party from http_benchmark import http_benchmark import throughput_benchmark @@ -252,11 +251,7 @@ def main(): # TODO(ry) The "benchmark" benchmark should actually be called "exec_time". # When this is changed, the historical data in gh-pages branch needs to be # changed too. - server_cmd = os.path.join("target", build_mode(), "test_server") - p = subprocess.Popen([server_cmd]) new_data["benchmark"] = run_exec_time(deno_exe, build_dir) - p.kill() - p.wait() new_data["binary_size"] = get_binary_sizes(build_dir) new_data["bundle_size"] = bundle_benchmark(deno_exe) |