You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cypress slows down as more entries are added to the Reporter's Command Log. This results in exponential growth of total test time whenever the Command Log is visible (though luckily it's a small exponent). Further investigation showed the Command component renders 27+ DOM nodes (there are also React Portals, so even more than 27). Google Lighthouse recommends that the total count of DOM elements should remain below 1,500. Larger tests can easily reach 15,000+ DOM nodes, which is the likely source of the slowdown.
Desired behavior
Cypress does not slow down based on the number of rendered Commands. Additionally, the DOM footprint of the application should be minimized.
The text was updated successfully, but these errors were encountered:
Yes, we've seen this reported numerous times from users. @chrisbreiding spent A LOT of time trying to improve the rendering if you want to discuss with him any options he's already explored.
Some performance issues involving many DOM nodes with reproducible examples:
Current behavior
Cypress slows down as more entries are added to the Reporter's Command Log. This results in exponential growth of total test time whenever the Command Log is visible (though luckily it's a small exponent). Further investigation showed the
Command
component renders 27+ DOM nodes (there are also React Portals, so even more than 27). Google Lighthouse recommends that the total count of DOM elements should remain below 1,500. Larger tests can easily reach 15,000+ DOM nodes, which is the likely source of the slowdown.Desired behavior
Cypress does not slow down based on the number of rendered
Command
s. Additionally, the DOM footprint of the application should be minimized.The text was updated successfully, but these errors were encountered: