Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036607Openbravo ERPA. Platformpublic2017-08-04 13:222022-02-01 08:05
shuehner 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
 
 
Core
No
0036607: 4 flushes of 10ms each in StaticResources request
StaticResources call takes 2s
Inside does 4 flushes of 10ms each

Those flushes have 362 entities in pi+retail already. Seems to load all or many preferences.
Useful to investigate both flush count + entity count

52409 [http-bio-8080-exec-5] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=2, ADClientAcctDimension=52, ADLanguage=1, ADList=41, ADModule=12, ADPreference=223, ADReference=4, ADRole=1, ADRoleOrganization=8, ADSystemInformation=1, ADUser=2, ClientInformation=2, OBCLKER_Template=1, Organization=8, OrganizationType=3, Warehouse=1}
52409 [http-bio-8080-exec-5] INFO org.openbravo.dal.service.OBDal - Flush of 362 entities and 555 collections took: 11
52420 [http-bio-8080-exec-5] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=2, ADClientAcctDimension=52, ADLanguage=1, ADList=41, ADModule=12, ADPreference=223, ADReference=4, ADRole=1, ADRoleOrganization=8, ADSystemInformation=1, ADUser=2, ClientInformation=2, OBCLKER_Template=1, Organization=8, OrganizationType=3, Warehouse=1}
52420 [http-bio-8080-exec-5] INFO org.openbravo.dal.service.OBDal - Flush of 362 entities and 555 collections took: 11
52432 [http-bio-8080-exec-5] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=2, ADClientAcctDimension=52, ADLanguage=1, ADList=41, ADModule=12, ADPreference=223, ADReference=4, ADRole=1, ADRoleOrganization=8, ADSystemInformation=1, ADUser=2, ClientInformation=2, OBCLKER_Template=1, Organization=8, OrganizationType=3, Warehouse=1}
52433 [http-bio-8080-exec-5] INFO org.openbravo.dal.service.OBDal - Flush of 362 entities and 555 collections took: 10
52442 [http-bio-8080-exec-5] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=2, ADClientAcctDimension=52, ADLanguage=1, ADList=41, ADModule=12, ADPreference=223, ADReference=4, ADRole=1, ADRoleOrganization=8, ADSystemInformation=1, ADUser=2, ClientInformation=2, OBCLKER_Template=1, Organization=8, OrganizationType=3, Warehouse=1}
52442 [http-bio-8080-exec-5] INFO org.openbravo.dal.service.OBDal - Flush of 362 entities and 555 collections took: 9
53637 [http-bio-8080-exec-5] INFO org.openbravo.dal.core.DalRequestFilter - request= /openbravo/org.openbravo.client.kernel/OBCLKER_Kernel/StaticResources?_appName=OB3&_skinVersion=Default flushCount: 4 requestTime: 1979
-
Performance
related to defect 0036636 closed alostale new DalConnectionProvider() causes double flush in 1 case 
blocks design defect 0036606 new Triage Platform Base Clean up extra not requires flush() calls 
Issue History
2017-08-04 13:22shuehnerNew Issue
2017-08-04 13:22shuehnerAssigned To => platform
2017-08-04 13:22shuehnerModules => Core
2017-08-04 13:22shuehnerTriggers an Emergency Pack => No
2017-08-04 13:22shuehnerRelationship addedblocks 0036606
2017-08-10 16:13shuehnerRelationship addedrelated to 0036636
2017-08-11 12:20alostaleStatusnew => acknowledged
2017-08-11 12:20alostaleTag Attached: Performance
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.