mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
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 <matthew@mastracci.com>
This commit is contained in:
parent
9b5d2f8c1b
commit
96cfe82664
6 changed files with 89 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue