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.
- Does anybody know why it's taking more time?
- What is the alternative for this
ADO.Net
method?