From 7cc22646395cfdba464ae5efe723775a1bb7c5a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 18 Sep 2020 06:02:10 +0200 Subject: [PATCH] Move benchmarks to a submodule --- .gitmodules | 3 +++ docs/Benchmarks.mdr | 2 +- gwion-benchmark | 1 + scripts/list_benchmarks.sh | 6 ++++++ 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 gwion-benchmark create mode 100644 scripts/list_benchmarks.sh diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..a2301c98 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "gwion-benchmark"] + path = gwion-benchmark + url = https://github.com/fennecdjay/gwion-benchmark diff --git a/docs/Benchmarks.mdr b/docs/Benchmarks.mdr index 1c8cfd26..1f2e6189 100644 --- a/docs/Benchmarks.mdr +++ b/docs/Benchmarks.mdr @@ -2,5 +2,5 @@ ## test
-@hide for a in $(find benchmark/results -type f -name "*.png"); do echo ""; done +@hide bash scripts/list_benchmarks.sh
diff --git a/gwion-benchmark b/gwion-benchmark new file mode 160000 index 00000000..1cf2cf36 --- /dev/null +++ b/gwion-benchmark @@ -0,0 +1 @@ +Subproject commit 1cf2cf3600dac43c02ca16a209d46e2ce5d33dfc diff --git a/scripts/list_benchmarks.sh b/scripts/list_benchmarks.sh new file mode 100644 index 00000000..ac159907 --- /dev/null +++ b/scripts/list_benchmarks.sh @@ -0,0 +1,6 @@ +for a in $(find gwion-benchmark/png -type f -name "*.png") +do + png_url="https://github.com/fennecdjay/gwion-benchmark/blob/results/png/$(basename $a)" + test_url="https://github.com/fennecdjay/gwion-benchmark/blob/master/src/$(basename $a .png).gw" + echo "" +done -- 2.43.0