More than two years ago, I was demonstrating Chime on my laptop running Nevada. Chime is a visual interface to Dtrace that allows you scrutinize your applications.
Chime is available as a plugin for Netbeans. You can download the plugin from here.
I try it on my OpenSolaris laptop.
First, start your Netbeans IDE, and go to Chime tab :

As an example, I chime a process, top, running on my laptop. You can get the following information,
Time spent in functions:

Number of System calls your application is performing. In the screen shot below, you see that top is performaing 66 System Calls Per Second:

You can also see the impact on the system up to the System Probes:

Of course, you have many more probes available, and you can create your own probe, with Dtrace.
You can then play with OTRS (running in the cloud):
