iovka / shex-java

Validation of Shape Expression Schemas
GNU Lesser General Public License v3.0
10 stars 6 forks source link

Performance Validating with large ShEx schema #16

Closed joshdcollins closed 4 years ago

joshdcollins commented 4 years ago

I am attempting to validate FHIR resources using the FHIR ShEx schema.

Using the full FHIR schema I'm seeing performance issues:

To replicate, I've posted a sample project with the ShEx and resource here: https://github.com/joshdcollins/ShEx-Issue

Appreciate any insight you can provide!

Thanks!

joshdcollins commented 4 years ago

Closing this after realizing it is a likely dupe of #13

Switching to RecursiveValidation or RecursiveValidationWithMemorization return quickly.