Performance of PnP core SDK vs CSOM Framework #1153
Unanswered
manjunathreddy1
asked this question in
General
Replies: 1 comment
-
@manjunathreddy1 : that's weird. PnP Core uses a lot of REST, some Graph and little bit of CSOM under the covers. This is simply because Graph is not having the needed features (yet). Can you play around with the option to turn Graph on/off in the configuration and see if that makes a difference (https://pnp.github.io/pnpcore/using-the-sdk/basics-apis.html and https://pnp.github.io/pnpcore/using-the-sdk/basics-settings.html)? Also there's a fundamental difference between CSOM/Core SDK: when a context is created we already do two calls as we're caching some data |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
When I was comparing the performance of PnP core SDK and CSOM Framework I noticed that to load the web object as mentioned in the below screenshot it is taking around 331 milliseconds using CSOM and it is taking around 2051 milliseconds using PnP core. Since it is recommended to use to PnP core for new projects I'm confused after seeing the time taken to load SharePoint object.
Can anyone please confirm if this loading time expected or I'm doing some thing wrong. I was under the impression that loading SharePoint objects will be be faster in PnP core SDK since it is using Graph APIs.
Manjunath
Beta Was this translation helpful? Give feedback.
All reactions