vitest-dev / vitest

Next generation testing framework powered by Vite.
https://vitest.dev
MIT License
13.15k stars 1.19k forks source link

perf(browser): improve the parallelisation logic #6856

Open sheremet-va opened 3 weeks ago

sheremet-va commented 3 weeks ago

Description

Just experimenting with different methods (this doesn't work yet). Ideally, tinypool should expose a way to do that @AriPerkkio

Related #6834

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

Tests

Documentation

Changesets

netlify[bot] commented 3 weeks ago

Deploy Preview for vitest-dev ready!

Name Link
Latest commit d16306beed731082b649a99161a5db92a7a6b3c0
Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/6729fb005e8ecf0008eb840b
Deploy Preview https://deploy-preview-6856--vitest-dev.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

AriPerkkio commented 3 weeks ago

The support from Tinypool's side is quite complex as Piscina's codebase is not flexible. There's some work done on https://github.com/tinylibs/tinypool/pull/98 but I'm not sure when I'm ready to continue that 😱