The performance of the library heavily depends on how the presentation rules are set up. The same result can usually be achieved in multiple ways, but some of them are faster, and some are slower. Please try to follow the below tips for better performance.
SupportedSchemasproperty for both rule set and specifications (where applicable). That helps the library to filter-out uninteresting schemas which may contain a lot of information and thus improves performance.
- Make rule specifications as specific as possible. Most specifications require just part of information (e.g. the related class) and the library can find out the rest (e.g. the relationship). However, that required additional resources.
IsRecursive=Truein content specifications, if possible. It has a huge performance penalty and should only be used where absolutely necessary.
- The rules engine is able to optimize some ECExpressions
to improve their performance. Try using only the below symbols, if possible:
- Avoid using ECInstance symbols where possible.
Last Updated: 20 September, 2019