summaryrefslogtreecommitdiff
path: root/tools/benchmark.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-09-25 04:28:56 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-09-25 13:13:09 -0400
commit1956d6846c0ef716455f3cf6b1d5caa6cee09a08 (patch)
tree34f8f499e82b7eb02cd23c9ebc6950c3fabc0b53 /tools/benchmark.py
parent3c24b9f724287d2ca722e61a395ad9c93b7551c6 (diff)
Also plot cold start time.
Diffstat (limited to 'tools/benchmark.py')
-rwxr-xr-xtools/benchmark.py9
1 files changed, 6 insertions, 3 deletions
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"