[API Review] Memory performance improvements #1971
Labels
priority:p1
High priority but not blocking. Causes major but not critical loss of functionality SLA <=7days
Milestone
Currently we instantiate new objects every time for the following properties, this can have a large memory impact for large OpenAPI descriptions. For eg: For the Graph OpenAPI this will create 142k schemas, for a total of 1.1 million objects that might be unused. So we have an opportunity for some memory perf. improvements by lazily instantiating these.
A couple of different ideas were identified:
OpenAPISchema
OpenAPISchema
and other types as structs instead of classes to improve performance.IDictionary
properties should have a default value and no setter.The text was updated successfully, but these errors were encountered: