Tip Tuesday - 7 Tips to Increase Performance on a Site with Large Quotes
1) Use dict("String")
instead of dict("string[]")
.
The speed for processing and storing dict("string")
is faster than dict("string[]")
. In general, a simple structure is faster.
2) Eliminate Revert to Default on line item attributes if you have any for those actions.
They run X times, and they invoke the line item advanced default script every time they run.
3) Eliminate line item summation attributes.They also run X times every update.
If you need to loop through line items, store them into temporary variables such as a string or a float dictionary..Do not put model/configurator-specific pricing in the pricing script. Instead, use the relevant configurator to calculate these.
Tagged:
3