From: Jérémie Astor Date: Sun, 19 Jan 2020 17:43:22 +0000 (+0100) Subject: testing X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=e33e32199dac5575c2bd2fc5ab97cda43923f4d8;p=gwion.git testing --- 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}"