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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056285
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-08-21 11:512024-11-11 10:52
Reporterandre_montenegroView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelAutomated tests
Regression date
Regression introduced in releasemain
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056285: [24Q3] Significant performance degradation when running Cypress test with chrome dev tools opened

DescriptionIt 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.

Steps To ReproduceTest 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.
TagsNo tags attached.
Attached Files? file icon Screencast from 21-08-24 11:04:18.webm [^] (3,573,748 bytes) 2024-08-21 13:22
? file icon POSwoChromeDevTools.mp4 [^] (545,840 bytes) 2024-11-11 10:39
? file icon POSwithChromeDevToolsVideo.mp4 [^] (3,845,234 bytes) 2024-11-11 10:52

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0171747)
andre_montenegro (developer)
2024-11-11 10:38

Updated info and videos of the comparation.

- Issue History
Date Modified Username Field Change
2024-08-21 11:51 andre_montenegro New Issue
2024-08-21 11:51 andre_montenegro Assigned To => Retail
2024-08-21 11:51 andre_montenegro Regression level => Automated tests
2024-08-21 11:51 andre_montenegro Regression introduced in release => main
2024-08-21 11:51 andre_montenegro Triggers an Emergency Pack => No
2024-08-21 11:51 andre_montenegro Assigned To Retail => Triage Platform Base
2024-08-21 12:51 andre_montenegro Summary [24Q3] Huge performance degradation when running Cypress test with chrome dev tools opened => [24Q3] Significant performance degradation when running Cypress test with chrome dev tools opened
2024-08-21 13:22 andre_montenegro File Added: Screencast from 21-08-24 11:04:18.webm
2024-11-10 19:16 AugustoMauch Relationship added caused by 0056272
2024-11-10 19:16 AugustoMauch Relationship deleted caused by 0056272
2024-11-11 10:38 andre_montenegro Note Added: 0171747
2024-11-11 10:38 andre_montenegro Description Updated View Revisions
2024-11-11 10:38 andre_montenegro Steps to Reproduce Updated View Revisions
2024-11-11 10:39 andre_montenegro File Added: POSwoChromeDevTools.mp4
2024-11-11 10:52 andre_montenegro File Added: POSwithChromeDevToolsVideo.mp4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker