Entity Framework and performance

2 posts, 0 answers
  1. archimede
    archimede avatar
    103 posts
    Member since:
    Jul 2006

    Posted 28 Jun 2010 Link to this post

    I'm using telerik components, objectdatasource and Entity Framework 4 in my web application.
    The grid is very simple and the columns have some Telerik comboboxes.

    The problem is that the loading of the grid is very slow: it can take 4-5 seconds. A normal Entity Data Access is 2-3 seconds. What can I do to optimize performance?
  2. Radoslav
    Radoslav avatar
    1564 posts

    Posted 01 Jul 2010 Link to this post

    Hi Archimede,

    We have many optimization techniques and I am sure some of them will be of great help for your project . The info below summarize the most important performance info we already have in our documentation resources:
    Optimization Tips series in the blogs:
    Optimization Tips:The Rad Managers for ASP.NET AJAX
    Optimization Tips: Testing Page Performance
    Optimization Tips: Using RadAjaxManagerProxy Controls
    Optimization Tips: Using HTTP Compression
    Optimization Tips: Optimizing Custom Skins

    Optimizing the RadGrid performance.
    Please review the following links on how to optimize the performance of RadGrid:

    In the worst case when a grid is bound to huge data in the web server the RadGrid gives great performance. Working with web services and JSON increase the performance:


     ViewState size:  Some of the grid operations can work with completely turned off ViewState.
        Example: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/viewstate/defaultcs.aspx
        In client-side data-binding scenarios you do not need the ViewState also:
        Example: http://demos.telerik.com/aspnet-ajax/grid/examples/client/databinding/defaultcs.aspx

     JavaScript $create clause size: Depends on selected features. Can be turned off along with all other resources:
        Example: http://blogs.telerik.com/VladimirEnchev/Posts/08-07-15/Telerik_RadGrid_Section_508_Compliance.aspx?ReturnURL=%2fBlogs.aspx

     Number of requests: Most of the grid images come from the grid CSS sprite which minimizes number of requests to the server for resources. Can be minimized with RadScriptManager and RadStyleSheetManager.
    Other: http://www.telerik.com/help/aspnet-ajax/grdviewstatereductiontechniques.html

    I hope his helps.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top