This refers to the question I mentioned earlier. Besides looking at the SQL generated by NHibernate during database calls, what is the best way to find the bottlenecks between NHibernate and the database? In particular, I have queries that return very quickly when the database starts directly, but very slow (more than 3-4 times) return times when running the code in unit tests and on a web page. I am sure this has something to do with how I matched tables and primary keys. How can I delve further to see where my slow areas occur? Are there other tools? I know this is a very broad question, but I have not yet needed to study these problems. Any help would be greatly appreciated.
source
share