Volodymyr Korniienko
02/18/2022, 9:20 AMresponseBased and operationBased codegen. responseBased is claimed to be more performant but generates tons of code that may affect class loading and compilation time. Therefore I’m wondering is there any performance analysis of these two methods based on response size/nested fragments count/any other metric?mbonnin
02/18/2022, 9:20 AMmbonnin
02/18/2022, 9:20 AMmbonnin
02/18/2022, 9:21 AMresponseBased models is faster because they can stream the responsembonnin
02/18/2022, 9:22 AMmbonnin
02/18/2022, 9:24 AMoperationBased is more predictable and will give stable performance so it's a good default to start with. responseBased will give you more type information and parsing speed but it also comes with gotchas so it's a good thing to explore once you're comfortable with operationBasedVolodymyr Korniienko
02/18/2022, 9:27 AMoperationBased then.mbonnin
02/18/2022, 9:28 AMresponseBased , let me know how that works, we can add that to the docs somewhereYang
02/18/2022, 1:33 PM