-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
existing workaroundtype: performance 🏃♀️Performance relatedPerformance relatedv14.0.0 🐛Issue present since 14.0.0Issue present since 14.0.0
Description
Current behavior
There is a degradation in performance on linux, in electron in headless mode. This can be seen with this project. The performance seen is:
Spec | Cypress 13.x | Cypress 14.0 |
---|---|---|
alert.cy.js | 00:03 | 00:05 |
analysis.cy.js | 00:23 | 00:53 |
aotf.cy.js | 00:08 | 00:48 |
dashboard.cy.js | 00:05 | 00:05 |
drawer.cy.js | 00:03 | 00:03 |
editRuntimeForm.cy.js | 00:09 | 00:25 |
gantt.cy.js | 00:05 | 00:10 |
graph.cy.js | 00:17 | 01:02 |
graphiql.cy.js | 00:02 | 00:02 |
gscan.cy.js | 00:10 | 00:33 |
header.cy.js | 00:02 | 00:12 |
info.cy.js | 00:01 | 00:01 |
layout.cy.js | 00:01 | 00:01 |
log.cy.js | 00:10 | 00:27 |
menu.cy.js | 00:07 | 00:48 |
mutation.cy.js | 00:10 | 00:51 |
table.cy.js | 00:09 | 00:34 |
toolbar.cy.js | 00:04 | 00:12 |
tree.cy.js | 00:13 | 00:16 |
url.cy.js | 00:01 | 00:01 |
userprofile.cy.js | 00:08 | 00:27 |
workflowsTable.cy.js | 00:02 | 00:05 |
workflowservice.cy.js | 00:05 | 00:07 |
workspace.cy.js | 00:08 | 00:38 |
All specs passed! | 02:59 | 08:57 |
After some digging, it appears that this happens specifically when we upgrade to 28.0.0 in Electron (we upgraded to 33 as a part of 14 but specifically 28.0.0 seems problematic). Looking at the test replay of what is happening in these tests, it appears that at least one of the main culprits is a v-menu
is taking 3 seconds to dismiss where it previously took .1 seconds.
Desired behavior
There should not be a performance degradation.
Test code to reproduce
This can be seen with this project.
Cypress Version
14 and above
Node version
v20.18.1
Operating System
Linux
Debug Logs
Other
No response
Ognengineer, MetRonnie, SamuelWei, joshuahaertel, knightjdr and 4 more
Metadata
Metadata
Assignees
Labels
existing workaroundtype: performance 🏃♀️Performance relatedPerformance relatedv14.0.0 🐛Issue present since 14.0.0Issue present since 14.0.0