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
create_spec() method taking too much time #216
Comments
I didn't have chance to take closer look at performance topic. Dereferencing suggests you have many references in the spec file Is it correct? Can you profile |
It is taking almost 30 secs for validating the schema. |
Can you upload the file so I can see more details? |
|
@p1c2u The real problem is with loggers in openapi-core. When i disabled these,
My server starting reduced by 50seconds. I think it will be helpfull to people if you describe this |
I am building a large product and in this stage i have an
openapi-spec file with 28000 lines.
Now i have,
53 path objects.
14 schema objects.
openapi-core's
create_spec() method is taking around 29 to 34 seconds
. So my server is taking this much time to startup. Is there a remedy for this situation or is this the behaviour of openapi-core's validation ??ps: So many
Dereferencing
log is present.The text was updated successfully, but these errors were encountered: