users@glassfish.java.net

Re: Compiling JSP is slow on v3

From: <glassfish_at_javadesktop.org>
Date: Thu, 09 Sep 2010 01:00:52 PDT

> > If I understand this correctly, then only the
> > [i]very first[/i] compilation would be slow, and
> > [i]only[/i] after a restart of Glassfish. In other words.
> > compiling another JSP should be faster than
> > compiling the first JSP. I don't think I have seen that
> > phenomenon. Or am I missing something?
> >
> But have you looked at the numbers? In particular,
> the C numbers on the first compilation is painfully
> slow, but is subsequent compilations are much faster.
> I thought that was your complaint.

My complaint was and is that [i]all[/i] JSP compilations is significantly slower in v3. Of course, the six seconds for the very first compilation (index.jsp) is even worse. But the two seconds for each subsequent compilation is [i]also[/i] annoying.
[Message sent by forum member 'tmpsa']

http://forums.java.net/jive/thread.jspa?messageID=482153