Skip to content

Bad performance from CoreWF - no fast way to create a LambdaExpression from VB script code #68712

@angelowang

Description

@angelowang

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

  1. Due to the lack of VbHostedCompiler in .NET Framework, CoreWF has to use roslyn JIT compiler to emit DLL assembly from the script code, and then load the assembly to create a LambdaExpression. This is very slow.
  2. As we port our product to .NET 6, it sees significant performance degradation on the first run of the workflow. We are using CodeActivity a lot, so this VBScript to LambdaExpression is critical to us.
  3. According to Visual Basic scripting #13523, seems road map is not going that direction :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-InteractiveuntriagedIssues and PRs which have not yet been triaged by a lead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions