SAP Knowledge Base Article - Preview

2318746 - How to improve efficiency of algorithm for BOGOFPromotion calculation


If use ProductBOGOFPromotion, the Buy X Get Y calculation time seems dipend on quantity X on the cart. If Customer put on the cart 1000 the calculation takes too much time (10 seconds). If Customer put 2000 it will take double time (20 seconds), and so on. 

On the charts of respons time below, X axis is the number of products in cart and Y axis is time in ms.





SAP Hybris V5


SAP hybris Commerce 5.0.3 ; SAP hybris Commerce 5.0.4 ; SAP hybris Commerce 5.7 ; SAP hybris Commerce Suite 5.2 ; SAP hybris Commerce Suite 5.3 ; SAP hybris Commerce Suite 5.4 ; SAP hybris Commerce Suite 5.5 ; SAP hybris Commerce Suite 5.5-1 ; SAP hybris Commerce Suite 5.6 ; hybris Commerce Suite 5.0 ; hybris Commerce Suite 5.1 ; hybris Commerce Suite 5.1.1


hybris, BOGOFPromotion, performance , KBA , CEC-COM-CPS , SAP Commerce , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.