From 96cfe82664c07163930444e835437ea0c44e5332 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Tue, 27 Feb 2024 20:30:17 -0700 Subject: perf(cli): reduce overhead in test registration (#22552) - Removes the origin call, since all origins are the same for an isolate (ie: the main module) - Collects the `TestDescription`s and sends them all at the same time inside of an Arc, allowing us to (later on) re-use these instead of cloning. Needs a follow-up pass to remove all the cloning, but that's a thread that is pretty long to pull --------- Signed-off-by: Matt Mastracci --- runtime/js/99_main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/js/99_main.js') diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 21c74aeff..f4727979b 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -578,6 +578,7 @@ const NOT_IMPORTED_OPS = [ "op_restore_test_permissions", "op_register_test_step", "op_register_test", + "op_test_get_origin", "op_pledge_test_permissions", // TODO(bartlomieju): used in various integration tests - figure out a way -- cgit v1.2.3