Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #56285 Back to Issue ]
Summary 0056285: [24Q3] Significant performance degradation when running Cypress test with chrome dev tools opened
Revision 2024-11-11 10:38 by andre_montenegro
Steps To Reproduce Test 1 - with Cypress
Preconditions
- Have 24Q3 release or master context

Steps to reproduce, running a Cypress test:
- Go to openbravo/modules/org.openbravo.core2/web-jspack/org.openbravo.core2 and run:
npm run cy:open
- Select E2E testing, choose "Chrome" stable version and click "Start E2E Testing in Chrome" button.
- Open chrome dev tools with Ctrl + Shift + I
- Select a test to run, for example "ticket.spec.js"
- Observe the huge performance degradation when loading after login the app
Notice that by closing the chrome dev tools, the masterdata loading speeds up.
See video attached.

IMPORTANT: This behavior is not reproducible with 24Q2, 24Q1, 23Q3.

Test 2 - Without Cypress:

- Have 24Q3 release or master context (livebuilds)
- Open the application in a Chrome "guest" tab.
- Measure the time taken from the moment the "Log In" button is pressed until the "loading" screen has finished.
- Compare results with chrome dev tools opened (Ctrl+Shift+I) vs without it.
IMPORTANT: Close and re-open the window before each reload.
Revision 2024-11-11 10:38 by andre_montenegro
Steps To Reproduce Preconditions
- Have 24Q3 release or master context

Steps to reproduce, running a Cypress test:
- Go to openbravo/modules/org.openbravo.core2/web-jspack/org.openbravo.core2 and run:
npm run cy:open
- Select E2E testing, choose "Chrome" stable version and click "Start E2E Testing in Chrome" button.
- Open chrome dev tools with Ctrl + Shift + I
- Select a test to run, for example "ticket.spec.js"
- Observe the huge performance degradation when loading after login the app
Notice that by closing the chrome dev tools, the masterdata loading speeds up.
See video attached.

IMPORTANT: This behavior is not reproducible with 24Q2, 24Q1, 23Q3.
Revision 2024-11-11 10:38 by andre_montenegro
Description It has been observed a significant performance degradation in the POS when executing a Cypress test with Chrome Developer Tools opened. The issue typically manifests during the master data reload process following the login operation.

This issue is not reproducible in versions 24Q2 or earlier.

We have conducted tests altering the following parameters:
  - Chrome Version: The issue is reproducible with Chrome version 120 Stable.
  - Cypress Version: The issue is reproducible with previous versions of
                     Cypress. However, the degradation appears less severe when
                     using version 12.14.0.
  - Using Livebuilds: The issue persists even when using Livebuilds.
  - POS version: This issue is not reproducible in versions 24Q2 or earlier.

Revision 2024-11-11 10:38 by andre_montenegro
Description It has been observed a significant performance degradation in the POS when executing a Cypress test with Chrome Developer Tools opened. The issue typically manifests during the master data reload process following the login operation.

This issue is not reproducible in versions 24Q2 or earlier.

We have conducted tests altering the following parameters:
  - Chrome Version: The issue is reproducible with Chrome version 120 Stable.
  - Cypress Version: The issue is reproducible with previous versions of
                     Cypress. However, the degradation appears less severe when
                     using version 12.14.0.
  - Using Livebuilds: The issue persists even when using Livebuilds.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker