Question

Locked

Nhibernate.impl.SessionImpl.DoLoad() takes lot of time

By ukeshav ·
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 .

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums