Click here to Skip to main content
13,297,799 members (45,119 online)
Click here to Skip to main content
Articles » Database » Database » General » Downloads


88 bookmarked
Posted 3 Mar 2007

Identifying NHibernate-Related Bottlenecks through Performance Monitoring

, 10 Jun 2007
A distilled methodology for detecting and isolating NHibernate-related performance and scalability issues
namespace Sample
	/// <summary>
	/// use this class to load and cache app settings into your test.
	/// note that its a thread-safe singleton.
    /// for more information, visit:
	/// </summary>
	public class Configuration
		#region Singleton Pattern
		Configuration() {
		public static Configuration Instance {
			get {
				return Nested.instance;
		class Nested {
			/// <summary>
			/// Explicit static constructor to tell C# compiler
			/// not to mark type as beforefieldinit.
			/// </summary>
			static Nested() {}
			internal static readonly Configuration instance = new Configuration();

		#region Properties

		#region Methods

		#region Members

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Peter Weissbrod
Web Developer
United States United States
Independent contract developer for .NET data-oriented systems.

not much to say about myself but feel free to contact me for any inquiries and comments!

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171207.1 | Last Updated 10 Jun 2007
Article Copyright 2007 by Peter Weissbrod
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid