diff --git a/src/Microsoft.Azure.WebJobs/FunctionNameAttribute.cs b/src/Microsoft.Azure.WebJobs/FunctionNameAttribute.cs index 35e89887e..5c8f45982 100644 --- a/src/Microsoft.Azure.WebJobs/FunctionNameAttribute.cs +++ b/src/Microsoft.Azure.WebJobs/FunctionNameAttribute.cs @@ -30,7 +30,8 @@ public FunctionNameAttribute(string name) /// /// Validation for name. + /// RegexOptions.Compiled is specifically removed as it impacts the cold start. /// - public static readonly Regex FunctionNameValidationRegex = new Regex(@"^[a-z][a-z0-9_\-]{0,127}$(?