"What's the best way to set up number of workers in Playwright for parallel testing?"
Hey folks! 👋
So, I've been tinkering with Playwright and trying to figure out how to *set up number of workers in playwright* for max speed without nuking my machine.
From what I’ve seen, just slapping `--workers=4` (or whatever) in the CLI *kinda* works, but is there a smarter way? Like, should I match it to CPU cores? Or is there a sweet spot?
Also, does it even matter if my tests are I/O-bound vs CPU-bound?
Kinda confused rn, ngl. Would love to hear how y'all *set up number of workers in playwright* for your setups.
Thx in advance! 🚀
*(PS: pls no "it depends" answers... gimme some real-world numbers!)*
Hey folks! 👋
So, I've been tinkering with Playwright and trying to figure out how to *set up number of workers in playwright* for max speed without nuking my machine.
From what I’ve seen, just slapping `--workers=4` (or whatever) in the CLI *kinda* works, but is there a smarter way? Like, should I match it to CPU cores? Or is there a sweet spot?
Also, does it even matter if my tests are I/O-bound vs CPU-bound?
Kinda confused rn, ngl. Would love to hear how y'all *set up number of workers in playwright* for your setups.
Thx in advance! 🚀
*(PS: pls no "it depends" answers... gimme some real-world numbers!)*
