Created
October 31, 2019 22:28
-
-
Save yurydelendik/73d440e12c63b10b28b09caa9530c25d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bench/vm/bencher/project/BenchTestGenerator.py b/bench/vm/bencher/project/BenchTestGenerator.py | |
index a7b8ff41..933e6f2b 100644 | |
--- a/bench/vm/bencher/project/BenchTestGenerator.py | |
+++ b/bench/vm/bencher/project/BenchTestGenerator.py | |
@@ -47,7 +47,7 @@ class BenchTestGenerator: | |
generated_tests_dir_full_path = join(out_dir, self.generated_tests_dir) | |
test_mv_cmd = "mv {} {}".format( | |
- join(out_dir, "wasm32-unknown-unknown", "release", "{}.wasm"), | |
+ join(out_dir, "wasm32-unknown-unknown", "release", "{}_wasm.wasm"), | |
join(generated_tests_dir_full_path, "{}.wasm") | |
) | |
diff --git a/bench/vm/bencher/project/settings.py b/bench/vm/bencher/project/settings.py | |
index 266aee80..fd92df19 100644 | |
--- a/bench/vm/bencher/project/settings.py | |
+++ b/bench/vm/bencher/project/settings.py | |
@@ -39,6 +39,9 @@ vm_descriptors = { | |
"wagon" : VMDescriptor(join("cmd", "wasm-run"), "wasm_run {wasm_file_path}", False), | |
+ "wasmtime" : VMDescriptor(join("target", "release", "wasmtime"), | |
+ "{wasm_file_path} --invoke {function_name}", True), | |
+ | |
"asmble" : VMDescriptor(join("asmble", "bin", "asmble"), | |
"invoke -in {wasm_file_path} {function_name} -defmaxmempages 20000", True) | |
} | |
diff --git a/bench/vm/tests/matrix_svd_decomposition/src/main.rs b/bench/vm/tests/matrix_svd_decomposition/src/main.rs | |
index c4e5246e..f7fed25e 100644 | |
--- a/bench/vm/tests/matrix_svd_decomposition/src/main.rs | |
+++ b/bench/vm/tests/matrix_svd_decomposition/src/main.rs | |
@@ -18,4 +18,4 @@ mod bench; | |
pub fn main() { | |
std::process::exit(bench::bench() as i32) | |
- | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment