Logic app java script performance

asked 2020-09-25T00:33:25.23+00:00
Schreuer, Cornelius 46 Reputation points

In our logic app, we are utilizing a basic tier integration account to execute a few simple javascript statements:

var reg = /(.*)#GUID:([a-zA-Z0-9_-]{3,36})$/;
var subject = workflowContext.trigger.outputs.body.subject;
return subject.match(reg);

We have noticed that performance ist quite volatile with execution time fluctuating between .3 and 30 seconds for identical input values. Is that expected behavior and can it be improved somehow?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
1,804 questions
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2020-09-29T23:58:07.577+00:00
    Mike Urnun 4,856 Reputation points Microsoft Employee

    Hello @Schreuer, Cornelius

    I have reached out to the Logic Apps team internally and inquired about the observations that you have made. The team said that if you're experiencing this level of fluctuation on the Free Tier, it can be an expected behavior due to utility services that run under the covers could be warming up through a cold start phase which could be affecting the overall execution time.

    However, since you're on the Basic tier that shouldn't have a cold-start phase, it's more likely that there's an underlying issue unique to your environment. As such, it would be best to open a support case and work with one of our support engineers who have deeper insights into your environment to troubleshoot the root cause. Does your Azure Subscription carry a support plan? If not, feel free to send me an email at azcommunity at microsoft dotcom with subject line reading attn:murnun and the following details included in the body of your email:

    • Azure Subscription ID
    • Resource Group name
    • Logic Apps Name

    and we can enable one-time free support on your subscription for resolving this matter. I look forward to your reply.

    No comments