From 1956d6846c0ef716455f3cf6b1d5caa6cee09a08 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 25 Sep 2018 04:28:56 -0400 Subject: Also plot cold start time. --- tools/benchmark.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tools/benchmark.py') diff --git a/tools/benchmark.py b/tools/benchmark.py index b3a6fd363..fd33863c9 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -20,9 +20,12 @@ except: "Warning: another http_server instance is running" # The list of the tuples of the benchmark name and arguments -exec_time_benchmarks = [("hello", ["tests/002_hello.ts", "--reload"]), - ("relative_import", - ["tests/003_relative_import.ts", "--reload"])] +exec_time_benchmarks = [ + ("hello", ["tests/002_hello.ts"]), + ("relative_import", ["tests/003_relative_import.ts"]), + ("cold_hello", ["tests/002_hello.ts", "--recompile"]), + ("cold_relative_import", ["tests/003_relative_import.ts", "--recompile"]), +] gh_pages_data_file = "gh-pages/data.json" data_file = "website/data.json" -- cgit v1.2.3