-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issue #176
Comments
I have similar issues with a 4MB json schema file (FHIR). |
any updates for this defect ? |
I encounter this performance problem in case of non direct circular reference In this simple case, I enter 680 times in the dereference$Ref function
Can you take a look at this problem ? this is really annoying |
Sorry bad example, I didn't pass so much time inside this one. |
found a fix |
First of all, thanks for writing this library :)
We're running into a performance issue that I wanted to alert you to.
We're loading a fairly large (~900KB) JSON schema file, parsing it, and running the resulting JavaScript object through this library's
dereference()
function. Thedereference()
call takes around 68 seconds to complete.We've disabled all loading of local or external files, so I don't think that any of the time spent in
dereference()
is due to loading external resources.Here's basically what the code looks like:
The schema does contain circular references.
The text was updated successfully, but these errors were encountered: