-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad performance from CoreWF - no fast way to create a LambdaExpression from VB script code #68712
Comments
Where is the time being spent in the code? Do you have any traces? Can yuo show how you're using roslyn here? |
@CyrusNajmabadi I don't have trace now. This ticket has some similar callstack: UiPath/CoreWF#178 CoreWF is a open source WF porting (suppoted by .NET foundation). The code to compile VBScript to LambdaExpression is here: For one of our xaml file, the first time running the workflow degrades from 0.5s to 20s. The .NET Framework has been using VbHostedCompiler, which is super fast. |
I'm not really sure what in that code is using Roslyn. Can you collect a trace, see where the cost is, and we can perhaps figure out what team this should go to. |
I will first close this one. It is actually a feature request like converting SyntaxTree to a LambdaExpression, instead of needing to compile to a dll first. |
Version Used:
4.0.1
Steps to Reproduce:
This is related to this CoreWF (the non-official port of Windows Workflow Foundation) issue: UiPath/CoreWF#208
The text was updated successfully, but these errors were encountered: