> As opposed to Jason I generally feel safer drawing conclusions based on
the
> assumption that Microsoft is in fact "quite that dumb" until proven
> otherwise.
> So my money would say that ASP is _not_ compiled to an executable state
and
> cached in memory.

I agree, and the evidence you expose is excellent.  But I thought MS would
at least be smart enough to convert the ASCII text to an intermediate
(tokenized) form.  Tips like "not using comments" mean they do everything
(even parsing) each time.

OTOH, it's not true that "jsp must always be interpretted from byte code".
You're supposed to have a high-performance JVM (including a JIT compiler) in
your server, ain't you?

> Evidence?  Read some documentation on how to improve ASP performance.
Take
> special note of statements such as:
> "Avoid using comments in ASP code."
> "Avoid using uneccessary server-side #include directives to include
> constants."
> "Group multiple Response.Write statements, and delimit them with one set
of
> <%%> delimiters."
> "Use only one scripting language per page."
>
> These are factors that are only likely to slow down a compiler, not an
> interpreter.  If ASP was only compiled once for each application start-up
> then these performance tips would make no sense.
>
> Furthermore, if ASP was compiled all the way to native code and run in
> process then it's performance would almost certainly outstrip that of JSP
> comfortably (as jsp must always be interpretted from byte code).  However
my
> experience shows that JSP is around 50% faster than ASP for identical
> (functionally) scripts.  Of course the much nicer tiered architectures
that
> you can easily put together with JSP/EJB increases performance by another
> magnitude altogether.
>
> Haven't seen ASP3 running on IIS5 yet, but MS better hope it's foundations
> aren't "quite that dumb".
>
> Dave Elliot
> [EMAIL PROTECTED]
>
>
>
>
> > -----Original Message-----
> > From: Jason Boehle [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, February 12, 2000 2:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: ASP vs JSP
> >
> >
> > > ASP scripts get interpretted everytime a user requests the
> > .asp page.
> >
> > Ummm, do you really think the people developing the ASP
> > engine at MS are
> > quite that dumb?  A compiled ASP page is cached in memory,
> > and I'm sure
> > THAT is why speed is comparable to JSP.
> >
> > Jason Boehle
> > [EMAIL PROTECTED]
> >
> > ==============================================================
> > =============
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> > "signoff JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to