Introduction

NHibernate Profiler is a real-time visual debugger allowing a development team to gain valuable insight and perspective into their usage of NHibernate. The product is architected with input coming from many top industry leaders within the NHibernate community. Alerts are presented in a concise code-review manner indicating patterns of misuse by your application. To streamline your efforts to correct the misuse, we provide links to the problematic code section that triggered the alert.
Within the Learn section we will demonstrate how simple it is to set up your application profiling within NHibernate Profiler for the first time.
We are providing a 30 day trial to download and see for yourself, the value you will receive with your purchase of NHibernate Profiler.

Read more: NHibernate Profiler
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post

LLBLGen Profiler

0 comments
  • Cognitive application awareness
  • Visual insight into the interaction between your database and application code.
  • Analysis and detection of common pitfalls when using LLBLGen Pro.
  • Analysis is delivered via perfectly styled SQL and linkable code execution.
  • Supports .Net 3.5 and .Net 4.0

Introduction
LLBLGen Profiler is a real-time visual debugger allowing a development team to gain valuable insight and perspective into their usage of LLBLGen. The product is architected with input coming from many top industry leaders within the OR/M community. Alerts are presented in a concise code-review manner indicating patterns of misuse by your application. To streamline your efforts to correct the misuse, we provide links to the problematic code section that triggered the alert.
Within the Learn section we will demonstrate how simple it is to set up your application profiling within LLBLGen Profiler for the first time.
We provide a 30 day trial to download and see for yourself, the value you will receive with your purchase of LLBLGen Profiler.

Read more: LLBLGen Profiler
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post

How to convert Subversion repository to Mercurial (Hg)–it’s easier than you think!

0 comments
Converting SVN to Mercurial, while keeping all the commit history, might sound like a hard thing to do, but in fact it isn't! This functionality is already built into Mercurial, it’s just not enabled by default.
I will be using BitBucket as the Mercurial repository host for this example. You will also need the latest version of TortoiseHg.
Conversion is done using the command hg convert, however the Convert extension is not enabled by default. To enable it, locate the file Mercurial.ini, typically located in your %UserProfile% drectory (C:\Users\<username> in Windows 7). Open it in Notepad, and locate the following section:
[extensions]
Add it, if it doesn’t exist. Directly below the section name add the following line:
hgext.convert=
Save the file, and open a command prompt. Type hg convert, and if the output shows usage for the convert options, it means that the extension was enabled successfully.
To begin converting, simply type:
hg convert C:\YourProject
Where YourProject is the SVN root of your project. Mercurial will create a new directory, appending the suffix –hg (e.g. YourProject-hg), and will use it as a destination. Please note that this may take a long time, depending on the size of your SVN repository.

Read more: Typemock
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post

How The Garbage Collector Can Cause Random Slowness

0 comments
In this article, I am going to use a number of tools to show how, because .NET applications run on top of the CLR, things are not always as straight forward as they seem. I’m also going to prove to you that high CPU usage and slow performance in your applications are not always caused by slow code, but sometimes by poor or excessive memory use.
The example that I will use is of an ASP.NET website where users have complained of random slowness.  As usual, the DBA has been blamed, but has investigated and assured everyone that the database isn't responsible, so it’s time to grab a profiler and dig into the problem.
I should point out that this article is a walkthrough of how to use different tools to track down performance issues, rather than a stick to beat the garbage collector with.  In this case the performance issues can be frustrating, but the garbage collector is doing its best with what the ASP.NET developers have given it.  The behaviour we’ll be seeing is also limited to ASP.NET, as it uses the “server-mode” garbage collection, which aims to optimise throughput over responsiveness.

The Problem
The demo site (downloadable from the top of this article) is made up of one page with three buttons; the first button uses large chunks of memory, the second frees that memory, and the third performs an operation which normally takes around 1 millisecond to complete.  When any of the buttons are pushed, the time of day and time to run are displayed. To make it easier to reproduce a problem, I am using a 32-bit process, so we are limited to a mere 2GB of memory (yes, I know I could push it to 3GB, but let’s not complicate matters).  In case you are wondering how realistic this demo is, with respect to having one button to immediately allocate loads of memory, in a real life situation there may well be a background operation that suddenly uses up great chunks of memory, or it might be lots of users hitting pages all at once which causes the memory usage to abruptly go up.
This exciting screenshot shows how button 1 usually takes ages to complete and, before it suddenly failed with an OutOfMemory Exception at 12:49:38, the longest button 3 had taken to complete its operation was 21 milliseconds. After this inexplicable failure, we start to see memory pressure, and button 3 can randomly take anything from 0 to 561 milliseconds to complete, so there is clearly a lack of consistency.

Read more: Simple-talk
Posted via email from .NET Info
Delicious Twitter Facebook Digg Stumbleupon Technorati RSS
Links to this post
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)