Different performance in Hit-Policy

I am just courious. Does performance differ from hit-policy to hit-policy in the Camunda DMN. For instance, does the First-Single-Hit-Policy perform better than the Collect-Multi-Hit-Policy or Any-Single-Hit-Policy. Many thanks in advance! Kind regards.

Hi @ILikeCamunda,

yes, the Hit-Policy has effect on performance. Internally, the DMN engine doesn’t do any optimization, but evaluates all rows from top to bottom. If it can stop with the first hit, the result is returned earlier.

The evaluation-time is highly dependent on the size of the table. You can find more numbers here: Improving the Performance of the Camunda DMN Engine | Camunda

Hope this helps, Ingo

1 Like