-
Notifications
You must be signed in to change notification settings - Fork 131
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issues when YAML consists of ~200k LoC #1479
Labels
bug
Something isn't working
Comments
THANKS for sharing! We鈥檒l look into this. Any chance you can share the file with us? [email protected] |
https://adisdurakovic.com/scalar-big.yml I replaced some model names with Disney characters, to not give out too much real data. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happens?
I'm the developer of AdonisJS AutoSwagger
I just did some testing on a former project that I used to work on. The yaml of the project produces ~200k LoC (11MB) 馃槃 and compared the loading times of scalar to rapidoc and the default Swagger-UI.
Scalar: 10 seconds
Swagger-UI/rapidoc: ~ 1-2 seconds
Even the sandbox crashes, so I cannot post the example unfortunately
What did you expect to happen?
Load the UI within 1-2 seconds.
How can we reproduce the issue?
Try to get a 200k LoC yaml
Swagger/OpenAPI Example
No response
The text was updated successfully, but these errors were encountered: