Dear Open Hub Users,
We’re excited to announce that we will be moving the Open Hub Forum to
https://community.blackduck.com/s/black-duck-open-hub.
Beginning immediately, users can head over,
register,
get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.
On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at
[email protected]
Hi ,
In my project i am using Nhibernate to connect to Postgres database .
I use YOURKIT profiler to analyze CPU time consumed by my project.
Suppose for doing one operation my projects take 41 minute then out of
41 min 35 min are taken by
DoLoad() and DoLoadByClass() function .
This is very weird .
Internally in the call stack it calls :-
NpgsqlConnector.Open()
Npgsql.NpgsqlConnectedState.Startup(NpgsqlConnector)
Npgsql.NpgsqlState.ProcessBackendResponses(NpgsqlConnector)
System.Net.Sockets.Socket.Poll(Int32, SelectMode)
Here Socket.Poll takes much of the time.
I want to know what are the most probable reason why DoLoad and
DoLoadByClass is taking much of the time . ?
Thanks for your help .