3 ms·
Have you considered having pre warmed zygote processes hot that you then fork for each test rather than launching the process from scratch? That might mitigate
by vlovich123 2y ago
Have you considered having pre warmed zygote processes hot that you then fork for each test rather than launching the process from scratch? That might mitigate the performance issue even more since less has to be initialized.
- sunshowers 2y agoZygote processes for the test binary itself, you mean? That will probably require some coordination from the test because fork is not compatible with most Rust code. Nextest is designed to work with arbitrary Rust test binaries, though it imposes some conditions on them.