I have a plugin that updates the opportunity product quantity after a bundle is added to opportunity. The first time that the user adds a bundle to opportunity, the plugin's execution takes long time, after this, the time execution is normal. After a short period of user inactivity working with opportunity products the plugin execution takes long time again.
Any idea what is causing this delay during the first plugin execution?
Notice that all plugin's executions are successful. CRM Online 2016