From e33e32199dac5575c2bd2fc5ab97cda43923f4d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 19 Jan 2020 18:43:22 +0100 Subject: [PATCH] testing --- benchmark/{method-call.ck => method-call.ck.bug} | 0 benchmark/string-equals.py | 4 ---- scripts/benchmark.sh | 4 ++-- 3 files changed, 2 insertions(+), 6 deletions(-) rename benchmark/{method-call.ck => method-call.ck.bug} (100%) diff --git a/benchmark/method-call.ck b/benchmark/method-call.ck.bug similarity index 100% rename from benchmark/method-call.ck rename to benchmark/method-call.ck.bug diff --git a/benchmark/string-equals.py b/benchmark/string-equals.py index 8829b5c2..7f1e23db 100644 --- a/benchmark/string-equals.py +++ b/benchmark/string-equals.py @@ -1,8 +1,5 @@ from __future__ import print_function -import time -start = time.clock() - count = 0 for i in range(0, 1000000): if "abc" == "abc": @@ -32,4 +29,3 @@ for i in range(0, 1000000): count = count + 1 print(count) -print("elapsed: " + str(time.clock() - start)) diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 3d0d087d..2bfa1d7d 100644 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -1,7 +1,7 @@ #!/bin/bash -language=("gwion" "wren" "lua") -extension=("gw" "wren" "lua") +language=("gwion" "wren" "lua" "python" "chuck") +extension=("gw" "wren" "lua" "py" "ck") test_dir="benchmark" plot_script="scripts/bench.plot" : "${repeats:=10}" -- 2.43.0