-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issue #21643
Comments
I noticed similar results. We have a test suite in one of our CI pipelines that averages 12m 10s over the last 30 days on 8.1.0. I recently upgraded to 9.7.0 in order to take advantage of the new experimental session() feature, and the same suite with only minor changes for the session handling went to ~25 minutes. I thought it was due to the new session behavior compared to inheriting existing sessions between tests, but that seemed like a huge hit for just fetching browser state from cache. I think my results might be impacted in the same way as vasal365. Edit: Median test duration went from 3 seconds on 8.1.0 to 9 seconds on 9.7.0 |
Same here, tests are really slow on 9.5.0 |
possibly related to #18564 ? |
As @darrinmn9 pointed out, we have an existing issue for performance that matches a subset of the versions you listed. Can you try testing your application with version If there are no performance problems for versions after 8.6, I'm going to close this as a duplicate of #18564. @bbartizek If your issues are due to the new experimental session support, can you open a new issue? Depending on how you refactored your tests there might be cause for the slowdown. A reproduction of what you are seeing would be helpful, otherwise it is hard to pinpoint what might be causing the slowdowns. |
Closing as duplicate of #18564 |
Current behavior
I checked cypress performance on version 9.7.0 and this is slower then 8.1.0
MacOs Monterey 12.4 (21F79)
MacBook Pro (16-inch, 2019)
Processor 2,6 GHz 6-Core Intel Core i7
Memory 16 GB 2667 MHz DDR4
I used the same test for 2 versions.
In version 9.7.0 it's taking average 130 seconds per my test.
In version 8.1.0 it's taking average 70 seconds per my test.
Desired behavior
I'm waiting, that new version will have better performance, then old one.
Also I tried to install new versions for several times -> but performance was bad.
Test code to reproduce
Install version 8.1.0
npm install --save-dev [email protected]
Run test and make screenshot of time
Install version 9.7.0
npm install --save-dev [email protected]
Run test and make screenshot of time
Notice, that new version is slower, then old one
Cypress Version
9.7.0
Other
No response
The text was updated successfully, but these errors were encountered: