Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 58218 invoked from network); 15 Jun 2003 14:31:32 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Jun 2003 14:31:32 -0000 Received: (qmail 6798 invoked by uid 97); 15 Jun 2003 14:33:50 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 6791 invoked from network); 15 Jun 2003 14:33:50 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 15 Jun 2003 14:33:50 -0000 Received: (qmail 56827 invoked by uid 500); 15 Jun 2003 14:31:20 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 56814 invoked from network); 15 Jun 2003 14:31:19 -0000 Received: from sid.armstrong.com (204.74.20.252) by daedalus.apache.org with SMTP; 15 Jun 2003 14:31:19 -0000 Received: from joedog.org (pcp01470022pcs.lncstr01.pa.comcast.net [68.82.237.147]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id h5FEPpM0030342 for ; Sun, 15 Jun 2003 09:25:51 -0500 Message-ID: <3EEC8324.1010506@joedog.org> Date: Sun, 15 Jun 2003 10:31:00 -0400 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Users List Subject: Re: OFFTopic: Jsp vs velocity templates References: <88500E0F870AA542B6340D8BC05A9E1B1C66E1@rup.hugsmidjan.is> In-Reply-To: <88500E0F870AA542B6340D8BC05A9E1B1C66E1@rup.hugsmidjan.is> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I have not run benchmarks (or use velocity) but velocity will probably still be faster. Velocity will run faster on tomcat 3 than tomcat 4 or 5. This is mainly due to constraints imposed by the servlet specification that extra checks need to be done as well as certain assumptions (don't ask can't remember) don't hold for servlet spec 2.2 vs 2.3 and 2.4. Of course since 2001, computers speeds have increased so running the same benchmark on a newer computer might skew the results. Since the introduction of JSTL (and better support for EL in JSP2.0) - I'd be curious to see rewritten pages(to reflect enhancements made to both display models) and a new benchmark. -Tim Reynir H�bner wrote: > Hi, > > I am wondering about the performance difference between Velocity templates and JSP. > > A test made by Rickard �berg in Aug. 2001, was showing the difference being : > > >> JSP - 240-480ms >> Velocity - 50-70ms > > > > Since a lot has changed in tomcat and jsp. > > Has anyone any figures on what the difference is right now ? > Is velocity still a lot faster ? > > > Thanx, > > -reynir > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org