To measure the cost of an application code, it is possible to create an Application Marker which will be visible in the page of the module "Response Times" and in the "Activity Observer" page.
...
Sample code
...
...
Code Block |
---|
...
wsnoheto.tools.Gate myGate = wsnoheto.engine.ObjectPoolManager.getOrCreateApplicationGate("myAppGate");
myGate.enter();
try {
... my code ...
} finally {
myGate.leave();
} |
...
Stopwatch
...
...
See the "Stopwatch" functionality
...
Activity Observer
...
...