#benchmark

Posts tagged with this topic.

Dataverse: Benchmark ExecuteMultiple Request SDK vs WebApi call

Mar 22, 2025

In the PowerApps-Samples repo, I found interesting sample code to execute Dataverse messages using WebAPIs call. For those who ask why there is this option, it is because not so many organizations let you install NuGet Packages freely without having risk analysis (the reason can...

Dataverse: Updated ServiceClient Strategy For Better Performance

Mar 9, 2025

If you remember, I created this blog post on how to create a class that wrapped ServiceClient. I must do it because instancing a ServiceClient is expensive (around 2 seconds). Hence, I need to find a way to "store" it in memory and ensure it is always ready when I need to call...

Dataverse ServiceClient: Comparing ExecuteAsync vs Execute

Jan 19, 2025

This is another benchmark blog post, in which I tried to upgrade the greatest snippet on how to do bulk insert, update, or delete (blog post by Mark Carrington that you can read here) with the async operation. As you know, the latest Dataverse ServiceClient supports async...

Benchmark: Comparing Pooling Setting in TDS Endpoints

Dec 7, 2024

We must construct the SQL Connection String when connecting to Dataverse TDS Endpoints via .NET code. The structure of it by default is just "Server={orgname}.crm.dynamics.com;Database={orgname};Persist Security Info=False;". When we talk about SQL connection strings, there are...

Dataverse: ExecuteMultipleRequest vs CreateMultipleRequest Benchmark

Sep 28, 2024

This is another benchmark post; this time, we need to compare ExecuteMultipleRequest vs CreateMultipleRequest. For those who don't know ExecuteMultipleRequest allows us to basically mix operations (Create, Update, or Delete) and pass parameters to control if an error is raised...

Dataverse: Create ServiceClient Strategy

Sep 15, 2024

I just realized creating ServiceClient is an expensive operation (I found one blog post that confirmed this problem even though this was an article from 2017). During one of the API call tests, almost half of the time was wasted on the creation of ServiceClient. Before, I always...

Dataverse Filtering Attributes benchmark

Jun 1, 2024

I heard lots of dos and don'ts about performance enhancement specifically when creating plugins in Dataverse. One of the pieces of advice is about setting the "Filtering attributes" when registering the plugin step so the system will not run unnecessarily process. So, today we...