RulesEngine icon indicating copy to clipboard operation
RulesEngine copied to clipboard

Workflow Evaluation is very slow

Open MithunChopda opened this issue 1 year ago • 2 comments

Hi Team,

I am evaluating this RulesEngine for a solution that requires evaluating rules for data filtering. I have a workflow with 13 rules. If any of the Rules evaluates to True, I want to include the record for display. When executing this workflow with 13 rules for 600 records, the whole execution takes 13 seconds. This is very very slow and I am trying to understand what could be causing this slowness? Is it because all 13 rules are being evaluated or will the Rules Evaluation be short circuited the moment any of the rule evaluates to true and skip evaluating other rules?

MithunChopda avatar Aug 10 '23 16:08 MithunChopda

Hi @MithunChopda can you please share sample code to reproduce this issue?

abbasc52 avatar Aug 11 '23 15:08 abbasc52

Hola, yo tengo un problema similar de lentitud pero en un escenario diferente. Tengo un flujo con un número X de reglas que se demora 6s en ejecutar 72 registros, si a una de estas reglas le agrego subreglas el tiempo casi no se ve afectado pero si las mismas subreglas las creo como parte de una nueva regla, el tiempo aumenta y ahora ya demora 8segundos.. hay alguna explicación para esto?

cristiangce avatar Sep 04 '23 21:09 cristiangce