-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
chore(deps): downgrade electron to v12.0.0-beta.14 #16113
Conversation
Fixes (avoids?) #15853 Electron v12.0.0-beta.16 and above contain an unknown bug causing a major slowdown when video recording is enabled. For now maybe we can downgrade Electron to this last known good version, v12.0.0-beta.14
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Can you post |
The Electron version has no impact on the Chrome times. If you upgrade Chrome to a version 89.0.4389 or higher, you can reproduce this in Chrome, regardless of Electron version. I haven't been able to find the Chromium bug for this yet. I ran
|
Did you experimentally confirm this? Intellectually I know that should be the case, but some of the results I was seeing was that Chrome results were changing as I changed Electron versions. |
Yeah, here are my results running with Electron 12.0.4 but in
|
Do we know why Chromium is that much heavier than Electron? Over double the time taken, for a browser that should be pretty similar to what Electron exposes |
I'm not sure. Some of the difference is because Chrome has to be spawned as an independent process, I think it's faster for Electron to do Also, I think Electron's |
* develop: (49 commits) fix: `cy.type()` should not change the value attr of button-like inputs. (#16154) fix: properly detect `cy.intercept(url, routeMatcher, handler)` overload (#16167) fix: consider multiple routes when looking for aliases (#16180) fix: pass contextIsolation: true (#16165) chore: fix failing "should handle aborted requests" test (#16170) feat(issue-3741): added keyboard support for folder (#15648) fix(webpack-dev-server): remove hard dependency on html-webpack-plugin v4 (#16108) chore(deps): downgrade electron to v12.0.0-beta.14 (#16113) fix: accept absolute paths in vite dev server (#16148) fix: cy.then shows wrong type when collection of HTMLElement's is provided (#15869) fix: do not treat utf8 requests as binary (#15946) chore: fix types docs: fix broken links for @cypress/react example recipes (#15674) update circle yml ignore undefined beforeEach fix: make vite-dev-server work on windows (#16103) chore: add triple slash reference chore: remove conflicting types chore: rebuild yarn lock resolve conflicts in master(fe0b63c) and develop ...
@flotwig Is it possible the problem because of this change: https://github.com/chromium/chromium/blob/d7da0240cae77824d1eda25745c4022757499131/content/browser/devtools/devtools_video_consumer.cc#L25? //cc @jennifer-shehane, maybe related to #16498 |
@effrenus possibly, I have noticed that Electron 12.0.0-beta.16 sends roughly twice as many frames per minute as 12.0.0-beta.14. Good find. |
This PR introduced a bug where the menu bar cannot be selected in Windows: #16323 |
This PR also introduced a performance issue with some cy.visits: #16671 |
Fixes #15853
User facing changelog
Additional details
Electron v12.0.0-beta.16 and above contain an unknown bug causing a major slowdown when video recording is enabled. For now maybe we can downgrade Electron to this last known good version, v12.0.0-beta.14
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?