metasfresh / metasfresh-webui-api-legacy

metasfresh webui API server
GNU General Public License v3.0
30 stars 32 forks source link

Picking terminal: takes a lot of time to fetch the quick actions where there are A LOT of shipment schedules #926

Open teosarca opened 6 years ago

teosarca commented 6 years ago

Is this a bug or feature request?

follow-up of https://github.com/metasfresh/metasfresh-webui-api/issues/925

What is the current behavior?

Which are the steps to reproduce?

What is the expected or desired behavior?

shall be fast

Note to dev

i found out de.metas.ui.web.picking.pickingslot.process.WEBUI_Picking_With_M_Source_HU_Base.checkSourceHuPrecondition() is very very slow.

metas-mk commented 6 years ago

@teosarca checked on environments w/ only 15 rows and not JDBC over VPN. Opening PickingSlot view: 4,2sec image

Opening HU to Pick: 2,4sec + 20,1sec image

teosarca commented 6 years ago

also, i've found that HU loading is quite slow. (to be debugged/profiled from de.metas.ui.web.picking.pickingslot.PickingSlotViewRepository.retrieveRows(PickingSlotRepoQuery))