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
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
Acceptance criteria