deno/cli/ops
Nayeem Rahman 6e8618ae0f
refactor(cli): move runTests() and runBenchmarks() to rust (#18563)
Stores the test/bench functions in rust op state during registration.
The functions are wrapped in JS first so that they return a directly
convertible `TestResult`/`BenchResult`. Test steps are still mostly
handled in JS since they are pretty much invoked by the user. Allows
removing a bunch of infrastructure for communicating between JS and
rust. Allows using rust utilities for things like shuffling tests
(`Vec::shuffle`). We can progressively move op and resource sanitization
to rust as well.

Fixes #17122.
Fixes #17312.
2023-04-13 19:43:23 +02:00
..
bench.rs refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-13 19:43:23 +02:00
mod.rs Reland "perf(core): preserve ops between snapshots (#18080)" (#18272) 2023-03-18 18:30:04 -04:00
testing.rs refactor(cli): move runTests() and runBenchmarks() to rust (#18563) 2023-04-13 19:43:23 +02:00