From 113ff4b4fa28c83fd65b2e1a5aef1f655d840574 Mon Sep 17 00:00:00 2001 From: IR0NSIGHT Date: Mon, 15 Jan 2024 15:10:43 +0100 Subject: [PATCH] add dummy effekt storage-benchmark, add to comparator --- src/effekt/benchmark/storage.effekt | 3 +++ src/javascript/compare/comparator.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src/effekt/benchmark/storage.effekt diff --git a/src/effekt/benchmark/storage.effekt b/src/effekt/benchmark/storage.effekt new file mode 100644 index 00000000..40433d81 --- /dev/null +++ b/src/effekt/benchmark/storage.effekt @@ -0,0 +1,3 @@ +def main() = { + println("[-1]") +} \ No newline at end of file diff --git a/src/javascript/compare/comparator.js b/src/javascript/compare/comparator.js index b1f0f7ca..a335cff4 100755 --- a/src/javascript/compare/comparator.js +++ b/src/javascript/compare/comparator.js @@ -13,7 +13,8 @@ const commands = [ ["nbody", "src/effekt/benchmark/nbody.effekt", "node src/javascript/Nbody.js"], ['list', 'src/effekt/benchmark/list.effekt', 'node src/javascript/List.js'], ["mandelbrot", "src/effekt/benchmark/mandelbrot.effekt", "node src/javascript/Mandelbrot.js"], - ["bounce","src/effekt/benchmark/bounce.effekt","node src/javascript/bounce.js"] + ["bounce","src/effekt/benchmark/bounce.effekt","node src/javascript/bounce.js"], + ["storage","src/effekt/benchmark/storage.effekt","node src/javascript/Storage.js"], // Add more commands as needed ];