none
Performance Test for Save on DBContext RRS feed

  • Question

  • Hi,

    Please refer to attached image of profile test for saving an entity with three child entities one thousand times using entity framework. The ID column is getting called 2 million times[ <g class="gr_ gr_294 gr-alert gr_spell gr_run_anim ContextualSpelling" data-gr-id="294" id="294">its</g> defined in base class] and rest properties are getting 50K+ calls. This is making <g class="gr_ gr_464 gr-alert gr_gramm gr_run_anim Grammar only-ins replaceWithoutSep" data-gr-id="464" id="464">system</g> slow.  I am using Generics to create repositories (repository pattern). I want to know the exact cause of these calls. [Sorry for the cuttings in the image].

    Regards,

    AKS

    Thursday, January 19, 2017 7:12 PM

All replies