deno/cli/tools
Matt Mastracci 5193834cf2
refactor(cli): clean up test runner channels (#22422)
Gets us closer to solving #20707.

Rewrites the `TestEventSender`:

- Allow for explicit creation of multiple streams. This will allow for
one-std{out,err}-per-worker
- All test events are received along with a worker ID, allowing for
eventual, proper parallel threading of test events.
 
In theory this should open up proper interleaving of test output,
however that is left for a future PR.

I had some plans for a better performing synchronization primitive, but
the inter-thread communication is tricky. This does, however, speed up
the processing of large numbers of tests 15-25% (possibly even more on
100,000+).

Before

```
ok | 1000 passed | 0 failed (32ms)
ok | 10000 passed | 0 failed (276ms)
```

After

```
ok | 1000 passed | 0 failed (25ms)
ok | 10000 passed | 0 failed (230ms)
```
2024-02-23 11:11:15 -07:00
..
bench perf(jsr): fast check cache and lazy fast check graph (#22485) 2024-02-20 21:29:57 +00:00
coverage feat(unstable): single checksum per JSR package in the lockfile (#22421) 2024-02-15 14:49:35 -05:00
init chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
jupyter refactor(cli): clean up test runner channels (#22422) 2024-02-23 11:11:15 -07:00
lint perf(jsr): fast check cache and lazy fast check graph (#22485) 2024-02-20 21:29:57 +00:00
registry feat: infer dependencies from package.json (#22563) 2024-02-23 15:56:49 +01:00
repl refactor(cli): clean up test runner channels (#22422) 2024-02-23 11:11:15 -07:00
run feat: denort binary for deno compile (#22205) 2024-02-13 21:52:30 +05:30
test refactor(cli): clean up test runner channels (#22422) 2024-02-23 11:11:15 -07:00
vendor perf(jsr): fast check cache and lazy fast check graph (#22485) 2024-02-20 21:29:57 +00:00
bundle.rs perf(jsr): fast check cache and lazy fast check graph (#22485) 2024-02-20 21:29:57 +00:00
check.rs feat(publish): type check on publish (#22506) 2024-02-21 08:35:25 -05:00
compile.rs fix(compile): respect compiler options for emit (#22521) 2024-02-21 23:03:11 +00:00
doc.rs perf(jsr): fast check cache and lazy fast check graph (#22485) 2024-02-20 21:29:57 +00:00
fmt.rs refactor: load bytes in deno_graph (#22212) 2024-02-01 03:15:22 +00:00
info.rs perf(jsr): fast check cache and lazy fast check graph (#22485) 2024-02-20 21:29:57 +00:00
installer.rs fix(install): forward granular --unstable-* flags (#22164) 2024-02-01 09:16:37 +05:30
mod.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
task.rs fix(task): do not eagerly auto-install packages in package.json when "nodeModulesDir": false (#21858) 2024-01-08 19:30:36 -05:00
upgrade.rs feat: denort binary for deno compile (#22205) 2024-02-13 21:52:30 +05:30