> Thanks for the comments Kin-Man. Given those comments and a look at the
jasper2
> code I have come up with the patch below. After profiling jasper2 I saw
that
> there was indeed a speed improvement over Jasper. However the excessive
creation
> of File objects and getting files from URL's was still a problem.
> I did as you suggested and used the JspServletWrapper object to hold all
of the
> required data. As well I set up this version to fall back to reading JSP's
from
> a URL if reading the File object doesn't work.
> I found in my testing that the jasper engine used ~15% of the request time
in
> loadJSP, jasper2 used ~12%, and my change uses ~1%. The only thing my code
does
> not do is force a reload of the .class file if it is deleted. My code only
> causes a recompile if the jsp changes. I can look into modifying it to
handle
> this situation as well if required. I look forward to your feedback.

I don't agree with those numbers. Accoding to my testing it is far less
significant. I got some very significant increase in the throughtput numbers
to confirm that (using index.jsp).

Remy


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

Reply via email to