You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve resolving references, cache loaded files in current context #13
I have a feeling this lack of caching is the biggest performance burden when reading API files. As an experiment, I ran Speccy's resolve command over my API file first (which took ~1 sec). Using the resolved output from Speccy dropped the time of Reader::readFromYamlFile() down from 24 seconds to 10 seconds, which is fairly significant.
Activity
cebe commentedon Nov 22, 2018
php-openapi/src/spec/Reference.php
Line 107 in 4a4892d
coatesap commentedon Dec 13, 2019
I have a feeling this lack of caching is the biggest performance burden when reading API files. As an experiment, I ran Speccy's resolve command over my API file first (which took ~1 sec). Using the resolved output from Speccy dropped the time of
Reader::readFromYamlFile()down from 24 seconds to 10 seconds, which is fairly significant.