Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 65869 invoked from network); 26 Feb 2007 11:44:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2007 11:44:59 -0000 Received: (qmail 68435 invoked by uid 500); 26 Feb 2007 11:44:57 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 68402 invoked by uid 500); 26 Feb 2007 11:44:57 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 68390 invoked by uid 99); 26 Feb 2007 11:44:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2007 03:44:57 -0800 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ted.husted@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2007 03:44:46 -0800 Received: by ug-out-1314.google.com with SMTP id u40so793185ugc for ; Mon, 26 Feb 2007 03:44:24 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=mVFPKxc3P2xAu5PjvihqmhOrcRHGS/uEUbUzhkDaLk2Rgtfn4GhVKXXH+8GK3AYhvwqnTiL4VGs3HluaakHxzmqDB/9A4iDyuDWQAypLZR7aqoGviXGI3esKCrxOD3TrcRp1+Kb1yatVViRi7p7+CU71M3iPFLlIUTGwpqrz0QY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=r0c3r4TE6+Xt7ADtO2X+zwV8/3tLjtPhJvHiuK2mbU6xWsRruI656K8FtZqHJlWE883xl9vzpraCPkZgLOuK4X4txRk2JeaqEMOXN3DFKQwAKZA/wamWdoDRQCiaeJLuzhmfMzxpWHl+TN6oX/p3ek1LinuFInWfrESRMhfdne4= Received: by 10.82.172.15 with SMTP id u15mr1616954bue.1172490264532; Mon, 26 Feb 2007 03:44:24 -0800 (PST) Received: by 10.82.174.16 with HTTP; Mon, 26 Feb 2007 03:44:24 -0800 (PST) Message-ID: <8b3ce3790702260344p38d97286tbafa7ff4a5d11094@mail.gmail.com> Date: Mon, 26 Feb 2007 06:44:24 -0500 From: "Ted Husted" Sender: ted.husted@gmail.com To: "Struts Users Mailing List" Subject: Re: The performance issue about OGNL In-Reply-To: <391ea6730702252229s77c66b21h3227a0e15d90af83@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <391ea6730702252229s77c66b21h3227a0e15d90af83@mail.gmail.com> X-Google-Sender-Auth: 53ef84b29b4b3d3a X-Virus-Checked: Checked by ClamAV on apache.org Can you post a copy of the page? We really need to drum up a set of benchmarks to run ourselves, and this type of page sounds like it would be a good test case. Back in the day, there was a common phenomenon where if a page hit fifty JSP tags, performance suddenly bottomed out. I wonder if some of these reports are based on some other magic number being hit. When people do report benchmarks, Struts 2 and WebWork come back neck-and-neck. There are many thousands of responsive and attractive WebWork applications in production today, including Confluence and JiveForums. There are techniques that can be used, like extracting the FTL templates to the file system, which seem to boost the page rendering speed for some applications. -Ted. On 2/26/07, Shuai Zheng wrote: > Dear All, > > I am using struts 2.0.6, but honestly the performance is very bad (not need > to think about scalability), to speed to load a simple page is much slower > than pure JSP (I haven't compared with struts 1). To refresh one page it is > 3-5 seconds with only one user. The profiler tells me the OGNL is the > bottleneck. > > I notice that there are some complains on OGNL about the performance > already, may I know any other way to replace OGNL with anything else to get > a faster speed? Currently the speed is not acceptable for production. > > Regards, > > Zheng Shuai --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org