185

Recently I used dot Trace profiler to find the bottlenecks in my application.

Suddenly, I have seen that in most of the places which are taking more time and more cpu usage to is SNINativeMethodWrapper.SNIReadSyncOverAsync() which is called by Execute reader method of ADO.Net, I don't know why it's taking more time.

If I run the same query in SQL server it's running very fast.

  1. Does anybody know why it's taking more time?
  2. What is the alternative for this ADO.Net method?
14

0

Browse other questions tagged or ask your own question.