On Thu, 2004-04-15 at 15:53, Steven McNeel wrote:
> Thanks for the response.  The answers to your questions are:
> 
> i)  Yes, I'm using the HEAD.
> ii)  I'm using JProbe on Solaris 8.5 for profiling.

I had inaccurate results with JMP and got no sympathy from the author
of JMP when I mentioned it. Check the archives for 'Measure accurately'.

http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgId=1167985

> iii) Here's the breakdown (percentages are cumulative time spent in method):
> 
>     (1) org.apache.batik.util.SoftReferenceCache$1.run -> 49.4%
> 
>         - this one's interesting, and seems to explain why my app runs more 
> slowly on UNIX than on Windows!  Windows doesn't care if batik.jar is in the 
> classpath; UNIX does.  I'm not using any SVG in my stylesheet.  Any ideas 
> why it looks for it on UNIX, and how to get around it?

Are you using the same version of the JVM on Windows and Solaris ?
Are you using "java -client" or "java -server" on Solaris ? The default
is -client and there is no -server JVM on Windows.

> 
>     (2) org.apache.fop.fo.PropertyList.findProperty -> 26.4%

That doesn't seem like that much. How much faster would Fop be if you
cut that in half ? (13.2% would be nice but won't speed things up by
an order of magnitude).

OTOH I always get suspicous when the high-runner is in a library
associated with implementation of some rare language 'feature'*.
SoftReferenceCache$1 could bear investigation.

* I was a PL/I programmer many years ago.
> 
>         - this is the other main culprit.  The time spent here is divided 
> fairly evenly among the following three methods of PropertyListBuilder:
> 
>           computeProperty -> 8.8%
>           isCorrespondingForced -> 5.7%
>           getShorthand -> 5.8%

John Austin <[EMAIL PROTECTED]>

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

Reply via email to