Hello,

JProbe provides a freeware version without memory debugging support, but with full method profiling. Easy to use but requires renewal of the license every fifth month.

http://www.quest.com/jprobe/

-- Ilkka


Will Glass-Husain wrote:
Hi,

Thanks for the feedback. I've been looking for free profiling tools - appreciate the recommendation.

Incidentally, I think switches to turn functionality on and off are generally a bad idea. (which was the consensus at the time). Especially something which should be a transparent upgrade. Besides, it's not clear how to do this here - it's not a single block of code but rather new items interwoven throughout Parser.java.

I'll work on profiling. I'd really like to make this work - it's an important patch to a significant group of users.

WILL

----- Original Message ----- From: "Henning P. Schmiedehausen" <[EMAIL PROTECTED]>
Newsgroups: hometree.jakarta.velocity.dev
To: <[email protected]>
Sent: Tuesday, January 25, 2005 1:49 AM
Subject: Re: decimal patch to velocity (performance)



"Will Glass-Husain" <[EMAIL PROTECTED]> writes:

I wrote some simple test code, and discovered there does appear to be a
performance drag with the number patch. With caching turned off, there is
no significant difference. With caching on, merging templates with the
number patch is about 20-25% slower.


I think, that 20-25% are a real problem.

Did you try profiling?

I haven't tried it yet, but a quick google showed up
http://www.eclipse.org/hyades/ which looks like a cool "much more than
profiling" framework for Eclipse.

I'm really not sure why. Interestingly, the template doesn't matter - the
time is almost the same for a integer-math heavy template or an empty
template.


This points to a general problem with the patch. Personally, I'd
rather drop the decimal patch than getting a 25% performance penalty
for something that is not really needed in the templating language.

BTW: Wasn't there talk about getting a global switch to turn "the
decimal patch" off? What is the impact if the patch is merged but
turned off?

Regards
Henning

--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development


What is more important to you...
  [ ] Product Security
or [ ] Quality of Sales and Marketing Support
             -- actual question from a Microsoft customer survey

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



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

.



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



Reply via email to