mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
Remove test_server dependency from benchmarks (#6645)
This commit is contained in:
parent
d4f9457536
commit
f35edc574a
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue