From: Jérémie Astor Date: Thu, 16 Jan 2020 23:24:46 +0000 (+0100) Subject: update X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5be7c84ff5db8583a9b594aec82f14f7012a21f0;p=gwion.git update --- diff --git a/benchmark/results/binary-trees.dat b/benchmark/results/binary-trees.dat index de0dc5d6..7bc415bc 100644 --- a/benchmark/results/binary-trees.dat +++ b/benchmark/results/binary-trees.dat @@ -1,3 +1,3 @@ -gwion Fichier binaire (entrée standard) correspondant -wren 0.205150 0.31 -lua 0.29314 0.64 +gwion 0.28883 0.71 +wren 0.212555 0.05 +lua 0.33127 1.31 diff --git a/benchmark/results/binary-trees.png b/benchmark/results/binary-trees.png index 423552ec..b3a65754 100644 Binary files a/benchmark/results/binary-trees.png and b/benchmark/results/binary-trees.png differ diff --git a/benchmark/results/fib-recurs.dat b/benchmark/results/fib-recurs.dat index d6a23324..2821ba5c 100644 --- a/benchmark/results/fib-recurs.dat +++ b/benchmark/results/fib-recurs.dat @@ -1,3 +1,3 @@ -gwion 5.5826 0.47 -wren 13.1697 0.08 -lua 7.10224 0.03 +gwion 5.61139 0.08 +wren 13.8135 0.19 +lua 7.45629 0.06 diff --git a/benchmark/results/fib-recurs.png b/benchmark/results/fib-recurs.png index 0d7027ce..43179c7f 100644 Binary files a/benchmark/results/fib-recurs.png and b/benchmark/results/fib-recurs.png differ diff --git a/benchmark/results/fib.dat b/benchmark/results/fib.dat index f99749f9..526bb6f2 100644 --- a/benchmark/results/fib.dat +++ b/benchmark/results/fib.dat @@ -1,3 +1,3 @@ -gwion 0.089472 0.30 -wren 0.207495 0.23 -lua 0.20757 0.52 +gwion 0.087394 0.98 +wren 0.2161696 0.03 +lua 0.2164971 0.03 diff --git a/benchmark/results/fib.png b/benchmark/results/fib.png index 9c9827f8..68c0ec83 100644 Binary files a/benchmark/results/fib.png and b/benchmark/results/fib.png differ diff --git a/benchmark/results/for.dat b/benchmark/results/for.dat index 231d793a..6bbcec2a 100644 --- a/benchmark/results/for.dat +++ b/benchmark/results/for.dat @@ -1,3 +1,3 @@ -gwion 0.037553 0.50 -wren 0.079285 0.47 -lua 0.049167 0.47 +gwion 0.04015 5.88 +wren 0.08465 2.07 +lua 0.052868 0.20 diff --git a/benchmark/results/for.png b/benchmark/results/for.png index 3d5bc346..f097191b 100644 Binary files a/benchmark/results/for.png and b/benchmark/results/for.png differ diff --git a/benchmark/results/method-call.dat b/benchmark/results/method-call.dat index 49361a55..203d96e8 100644 --- a/benchmark/results/method-call.dat +++ b/benchmark/results/method-call.dat @@ -1,3 +1,3 @@ -gwion Fichier binaire (entrée standard) correspondant -wren 0.104943 0.63 -lua 0.24904 1.12 +gwion 0.096845 1.01 +wren 0.110182 0.14 +lua 0.271676 0.22 diff --git a/benchmark/results/method-call.png b/benchmark/results/method-call.png index edd83f48..b91d6770 100644 Binary files a/benchmark/results/method-call.png and b/benchmark/results/method-call.png differ diff --git a/benchmark/results/string-equals.dat b/benchmark/results/string-equals.dat index 2814530d..019dadd5 100644 --- a/benchmark/results/string-equals.dat +++ b/benchmark/results/string-equals.dat @@ -1,2 +1,2 @@ -gwion 0.162820 0.19 -wren 0.176206 0.17 +gwion 0.17701 2.96 +wren 0.184586 0.11 diff --git a/benchmark/results/string-equals.png b/benchmark/results/string-equals.png index b0130de2..f5f5724f 100644 Binary files a/benchmark/results/string-equals.png and b/benchmark/results/string-equals.png differ diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 4a13391e..f7cff5a8 100644 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/bin/bash + language=("gwion" "wren" "lua") extension=("gw" "wren" "lua") test_dir="benchmark" @@ -26,6 +27,7 @@ get_test() { } plot() { + echo "$1" gnuplot -e "bench='$1'" "$plot_script" }