Skip to content

Performance issue with rule-chaining #471

Description

@jchen-chc

We have a large number of rules to run. We tried to use rule-chaining to improve performance by short-circuiting when a rule succeeds.

However, our benchmark tests showed that rule-chaining is much slower than ExecuteAllRulesAsync scheme.

The source code of ExecuteActionWorkflowAsync indicates that it makes a copy of the RuleResultTree for each rule executed in the chain.

Can someone look into this performance issue and possibly make a fix soon?

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions