playwright: [Bug]: playwright runner is slow to start tests
Version
1.49.1
Steps to reproduce
When i run any playwright tests it takes a very long time before they even start running.
The behavior described in the stackoverflow post is exactly what i am seeing in vscode. It simply takes many seconds before playwright boots and starts running, also from command line “npx playwright test” . Is there anything i can check on my end?
Expected behavior
Quick iteration times when running playwright tests from both console and vscode
Actual behavior
Very slow startup times before tests are being ran
Additional context
No response
Environment
System:
OS: Windows 10 10.0.19045
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12800H
Memory: 13.35 GB / 31.69 GB
Binaries:
Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
npm: 10.9.0 - ~\AppData\Roaming\npm\npm.CMD
IDEs:
VSCode: 1.98.0 - C:\Users\userxx\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
Languages:
Bash: 5.2.21 - C:\WINDOWS\system32\bash.EXE
npmPackages:
@playwright/test: ^1.40.1 => 1.49.1
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 42 (14 by maintainers)
The fix will be released soon in v1.53.
updated my comment
See:
@cwolf24 Looking through the release notes, try setting
captureGitInfo: { commit: false, diff: false }in your config. Perhaps that could be the problem? Please let me know whether that helps. If it does, try settingcommit: true, diff: falseand check again.I already achieved some speed-ups:
Still curious why i am seeing so much slowdown compared to you guys while my laptop is fast and you should also have issues with the faker download i would presume. In my opinion issue is clear and could be closed.