Open
Description
The validation is very slow when having a large oneOf
block in the schema with lots of elements in the matching json file
video.mp4
From testing this seems to be the problem (removing this makes the completion instant)
vscode-json-languageservice/src/parser/jsonParser.ts
Lines 264 to 268 in 493010d
JavaScript Profile:
vscode-profile-2024-10-09-11-23-02.cpuprofile
Example schema with 500-1000 oneOf
s and the json file:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels