Skip to main content

Notifications

Community site session details

Community site session details

Session Id : uWELUhahvbmgLHXP4iYZGC
Power Apps - Building Power Apps
Unanswered

Performance of CRUD Operation in Model Driven App and Canvas App

Like (0) ShareShare
ReportReport
Posted on 26 Jun 2024 04:08:39 by 49

Hello all,

In a scenario where we have to replicate the functionalities of an entire Model-driven application using the Canvas App, What will be the major challenges that can encounter in terms of performance?
1. How does Create a record option work in a model-driven application and how does a patch function work (I want to know what the API calls happen when a patch code is executed and the same for model driven also)
2. If creating a new record in the Customer entity from model-driven takes 2 sec and from Canvas it takes 8 sec. What can be the reason?

If I were to analyse the performance of a canvas app which is a replica of model driven, what all things should I check for?

Thank you in advance!

  • Jonathan Manrique Profile Picture
    2,678 on 26 Jun 2024 at 07:51:59
    Re: Performance of CRUD Operation in Model Driven App and Canvas App

    Hi @minimalelement 

     

    If you call the API, beyond the control tool, I don't know of a control tool that allows you to see the response time. You can still use F12 to monitor

     

    http://powerappsguide.com/blog/post/dataverse-how-to-patch-the-5-most-complex-data-types

     

  • minimalelement Profile Picture
    49 on 26 Jun 2024 at 07:31:31
    Re: Performance of CRUD Operation in Model Driven App and Canvas App

    Thank you for taking the time to explain. 

    I understood your point. I want to examine the backend functionality on a granular scale. So, If I have a patch code onSelect of a button, on click of that what is the first thing happening in the backend? Is it calling a Dataverse API with the request, What is my response, Is there a way to see the response time? 

    I am checking in the monitor tool now. I want to check the same things for model driven also. 

  • Jonathan Manrique Profile Picture
    2,678 on 26 Jun 2024 at 06:33:45
    Re: Performance of CRUD Operation in Model Driven App and Canvas App

    Hi @minimalelement 

     

    Your questions go hand in hand with perhaps your same question, when we use a Model Driven Apps we are using the default functionalities in this case creating a record, when we move to a canvas apps, we move on to our own development, either using the patch or the submitform are both development, which will depend on the amount of data you are making a patch and the validations you may have. Whenever you put a customization there is already a change and that impacts the system, the same thing happens to you in Model Driven, imagine that you put a Workflow when you save the record and those 2 seconds may be 4, because you have changed the default one.

    You will have the greatest impact in creating the views and updating the data, because imagine you have a table with millions of records, Canvas Apps have the capacity to bring the first 2000 records, there are ways to overcome this point , but you will still have to develop and you will have lower performance. Now the same thing happens when you make a patch to edit a registry, it must search over the million registry for that value that you may obtain with a lookup but you are already degrading performance.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started
Loading complete