Dataverse ServiceClient: Comparing ExecuteAsync vs Execute


This blog post discusses the performance difference between using the ExecuteAsync and Execute methods in the Dataverse ServiceClient. The author provides benchmark code that compares the two methods for bulk insert, update, or delete operations. The benchmark results show that the ExecuteAsync method performs significantly better than the Execute method, with a mean execution time of 4,044.5 ms compared to 27,847.3 ms. The author suggests migrating from the CrmServiceClient to the Dataverse ServiceClient to take advantage of the async operations and improve performance.


Article 4m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time