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
cy.visit() performance degradation #16671
Comments
Yah, wow, I can reproduce this. Thanks for providing a reproducible example, this helps. The site load event fires 20 seconds slower in 7.2.0 than in 7.1.0. I tracked this down to being introduced in #16113, where we downgraded electron. I had to pass in Issue not present: d4e4885 7.1.07.2.0 |
The code for this is done in cypress-io/cypress#17037, but has yet to be released. |
Reopening as we are reverting the previous PR to avoid possible performance implications for many users on low resources machines recording video. We'll continue investigating and hopefully move towards updating Electron to fix this issue. |
The code for this is done in cypress-io/cypress#17408, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
We're using Cypress to test large pages (several megs) and noticed severe performance degradation since upgrading to version
7.2.0
. It takes over 20 seconds to visit the page. Majority of time is spent on TTFB. We have also noticed considerable increase in memory usage.The problem persists with versions
7.3.0
and7.4.0
.Loading the same page outside of Cypress automation takes fraction (~3 seconds) as the long TTFB period is not present
Desired behavior
Loading the page via
cy.visit();
should take similar time (~3 seconds) as it does when visiting the page in browser and as it did prior to version7.2.0
.Test code to reproduce
Fork with repro: https://github.com/milankonir/cypress-test-tiny
Screenshot from repro:
Versions
Affected versions:
7.2.0
,7.3.0
,7.4.0
Last working version:
7.1.0
The text was updated successfully, but these errors were encountered: