Jeremy,

Thanks for the suggestion, I'm making fair use of a selection of the unit testing tools you've mentioned, but I haven't seen the book which does sound worth a read. However, I was really looking for some more objective testing (in the subjective/objective sense of the word!) to throw up those unexpected, un-unit-tested bits of code used in-context.

Failing on the free side, today I've been trying out jprofiler:
<http://www.ej-technologies.com/products/jprofiler/overview.html>
which is not cheap, but it's better than most.

So far I'm quite impressed. I was up an running profiling my code in Cocoon in Tomcat within minutes of downloading my trial.

Stuart.

On Thursday, December 5, 2002, at 12:29 pm, Jeremy Aston wrote:

Hi Stuart,

My strongest recommendation would be to go out at lunchtime to your nearest
Borders or Waterstones and see if they have Richard Hightower's "Java Tools
for eXtreme Programming". If not - order it from Amazon for delivery
tomorrow! This is one of the best computer books I have ever read and
covers Junit, HttpUnit, Cactus, Jmeter, JunitPerf etc. I have used HttpUnit
tests on Cocoon apps without issue and expect to be able to use the same
tests as the base for performance measuring since the tools share a base
architecture.

All the tools are free, Java based and *should* work without issue on the
Mac. Using the various tools you can set tests up to handle fundamental
class methods (Junit), front end functionality (HttpUnit), in container
stuff (Cactus) and tie it all up to performance tests with Jmeter/JunitPerf.

HTH

Jez
[EMAIL PROTECTED]




-----Original Message-----
From: Stuart Roebuck [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2002 11:41
To: [EMAIL PROTECTED]
Subject: Profiling Cocoon for cheapskates

I need to do some code optimization / profiling on Cocoon and some
additional Cocoon libraries we've built. This raises an issue which I
thought might be of general interest, and hoped might open up some new
avenues of profiling discovery!

If there was an open source based approach to profiling Cocoon code, I
would be happy to write up the process to aid others in the future.

x--------------------x
x Unfortunately... x
x--------------------x

* We're on a budget and can't afford to pay $400+ per seat for a
commercial profiling tool.

* java -Xrunhprof appears to die during final output when given the
significant task of profiling our code in Cocoon in Tomcat in Java,
etc.. It's also fairly slow, but we would live with that if it worked.

x------------------x
x Fortunately... x
x------------------x

* We're developing on Mac OS X - but that might not help us in finding
low budget profiling tools! :-)

x----------------x
x Resources... x
x----------------x

* A good starting point for profiling resources is Jack Shirazi's Java
Performance Tuning web site:
<http://www.javaperformancetuning.com/>
which has a list of free tools:
<http://www.javaperformancetuning.com/
resources.shtml#ProfilingToolsFree>
My initial attempts (though brief) to get a selection of these running
on Mac OS X has been unsuccessful.

x----------------x
x Questions... x
x----------------x

1. Does anyone have any experience of any free profiling tools other
than the built in JDK tools?

2. Is there a way of turning the built in profiling facilities on and
off with code (in order to selectively profile code and avoid
overloading the built in profiling facilities). This used to be
possible in Java 1.1. <-- little known useless fact!

3. Any other useful Cocoon library profiling suggestions?


Stuart.


Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck
(Adolos)
Key fingerprint = 89D9 E405 F8B1 9B22 0FA2 F2C1 9E57 5AB1 88DD
65AF
----------------------------------------------------------------------- -
-
Stuart Roebuck
[EMAIL PROTECTED]
Systems Architect Java, XML, MacOS X, XP,
etc.
ADOLOS
<http://www.adolos.com/>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
Key fingerprint = 89D9 E405 F8B1 9B22 0FA2 F2C1 9E57 5AB1 88DD 65AF
------------------------------------------------------------------------ -
Stuart Roebuck [EMAIL PROTECTED]
Systems Architect Java, XML, MacOS X, XP, etc.
ADOLOS <http://www.adolos.com/>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to