Skip to content

Improve performance in RuntimeInputValidator #44

@sobolewskikamil

Description

@sobolewskikamil

Problem description
RuntimeInputValidator is a class responsible for checking if context contains all facts required by the rule. Currently it works by resolving each fact using its identifier. This causes big overhead and drastically drops YARE's performance. We would like preserve this validation, but implement it using index based construction.

Suggested solution

  • Run performance tests (mvn clean install -Pperformance) and gather results
  • Implement new validation mechanism
  • Run performance tests again to check performance outcome

Acceptance criteria

  • Tests are prepared
  • Performance tests results are satisfying and published as a part of pull request
  • Code review is done

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions