Coding In Paradise: Tomcat JSP Precompilation is SLOW!!

2005-01-07 Thread Kevin A. Burton

 The entire JSP compilation process, using Ant and the jasper2 ant 
task, takes about 30 minutes! This is far too long. I mean, there are 
systems that are doing more than just compiling text, such as advanced 
3D graphics and speech recognition, that are far faster than Tomcat's 
JSP compilation.

Fun!  Why isn't fixing this a huge priority!?
http://codinginparadise.org/weblog/2005/01/tomcat-jsp-precompilation-is-slow.html
--
Use Rojo (RSS/Atom aggregator).  Visit http://rojo.com. Ask me for an 
invite!  Also see irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
If you're interested in RSS, Weblogs, Social Networking, etc... then you 
should work for Rojo!  If you recommend someone and we hire them you'll 
get a free iPod!
   
Kevin A. Burton, Location - San Francisco, CA
  AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412



Re: Coding In Paradise: Tomcat JSP Precompilation is SLOW!!

2005-01-07 Thread Julius Davies
Why not hit every URL with curl or wget before deploying and include
Tomcat's work directory with your deployment?  How does that compare
for speed? 

Also, have you tried giving Ant some extra heap to play with?  I think
this is how (on unix):

export ANT_OPTS=-Xms256M -Xmx256M

yours,

Julius

On Fri, 2005-07-01 at 17:01 -0800, Kevin A. Burton wrote:
 
 
   The entire JSP compilation process, using Ant and the jasper2 ant 
  task, takes about 30 minutes! This is far too long. I mean, there are 
  systems that are doing more than just compiling text, such as advanced 
  3D graphics and speech recognition, that are far faster than Tomcat's 
  JSP compilation.
 
 Fun!  Why isn't fixing this a huge priority!?
 
 http://codinginparadise.org/weblog/2005/01/tomcat-jsp-precompilation-is-slow.html
 

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



Re: Coding In Paradise: Tomcat JSP Precompilation is SLOW!!

2005-01-07 Thread Kevin A. Burton
Julius Davies wrote:
Why not hit every URL with curl or wget before deploying and include
Tomcat's work directory with your deployment?  How does that compare
for speed? 

 

We've already tried that... First off its the same speed... second there 
are horrible out of memory issues with the JspPrecompiler.

Its a lovely piece of code!
Also, have you tried giving Ant some extra heap to play with?  I think
this is how (on unix):
export ANT_OPTS=-Xms256M -Xmx256M
 

How would that help us?  Won't it just run out of memory if heap were an 
issue?

Kevin
--
Use Rojo (RSS/Atom aggregator).  Visit http://rojo.com. Ask me for an 
invite!  Also see irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
If you're interested in RSS, Weblogs, Social Networking, etc... then you 
should work for Rojo!  If you recommend someone and we hire them you'll 
get a free iPod!
   
Kevin A. Burton, Location - San Francisco, CA
  AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412

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