Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 451D0C92A for ; Fri, 6 Jul 2012 05:22:01 +0000 (UTC) Received: (qmail 66728 invoked by uid 500); 6 Jul 2012 05:21:59 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 66685 invoked by uid 500); 6 Jul 2012 05:21:58 -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 66660 invoked by uid 99); 6 Jul 2012 05:21:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 05:21:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_FREEMAIL_1,FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lukasz.lenart@googlemail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2012 05:21:52 +0000 Received: by obbtb18 with SMTP id tb18so7510435obb.35 for ; Thu, 05 Jul 2012 22:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=Kiyng4gcBlhLWlZ0Gr+KEN3G9zeY8avSHmzrtRhitFQ=; b=z7PES7/SHEO1rxcqp18XSlh8Xh4sVPIrjpXIYg3r6btOZYcqkkyZeaX4WZPv6k5gN/ Zs9FBam9J9isIsP2j7Csm09l+5a2k+qhg+UvHmRXmiI/uLbI6z2ZWoi9tTt7G4WHy9s7 rblwtiDJ1FhqQWMtzMX8N28fDmsSqAD80qprHd1DgxZkoNGMpxFc2E9sr8VZlFpGGXlR O7nlZuW06vaxH2Gv7wG3thfQQ69wUQZbqi3GW3tavZORueFEXCNt+265hzs+ZRrRg0Sy Wy5BsPAMe37iKp+JoAIIDT6jGsjyfogS9yqJ3V7W4JUc+TpORrgQmVp6sCrfIXJReNPd oniQ== MIME-Version: 1.0 Received: by 10.182.136.71 with SMTP id py7mr24340054obb.45.1341552091909; Thu, 05 Jul 2012 22:21:31 -0700 (PDT) Received: by 10.76.169.132 with HTTP; Thu, 5 Jul 2012 22:21:31 -0700 (PDT) Reply-To: lukasz.lenart@gmail.com In-Reply-To: <1341500690.2002.17.camel@itcd001> References: <1341425999.24352.15.camel@itcd001> <1341489920.2002.0.camel@itcd001> <1341490575.2002.6.camel@itcd001> <1341500690.2002.17.camel@itcd001> Date: Fri, 6 Jul 2012 07:21:31 +0200 Message-ID: Subject: Re: Performance issue with nested iterator From: =?UTF-8?Q?=C5=81ukasz_Lenart?= To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks! The latest version of S2 is already using 2.3.19 Kind regards --=20 =C5=81ukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ 2012/7/5 Miguel Almeida : > I believe I've found the culprit. > While the problem is present in commit > https://github.com/mmalmeida/struts-performance/commit/aba93098174c8c8c16= 84ffdd9bf332b212a893a , it's not present in the latest commit if you turn d= evMode to false. > > The issue was the freemarker version 2.3.9 in that commit. Updating to > 2.3.19 makes performance normal again (the complete project needed > freemarker, hence the direct dependency reference in the pom). > > While I don't know what changed between these freemarker versions, > apparently the problem was there. > > Miguel Almeida > > On Thu, 2012-07-05 at 13:16 +0100, Miguel Almeida wrote: > >> Sorry, I sent the email before explaining. >> >> The repo has a maven project that I stripped down to the most basic to >> show the issue. Notice the iterator in index.jsp. >> >> I tried to remove every unused configuration, file and dependency to >> make the project as simple as possible. >> >> The original project is using tiles, so I kept it there. However, I >> don't think it's being used in the web workflow I created (which just >> goes to index.jsp). >> >> Is there anything there that might explain this slowness? >> >> Cheers, >> >> Miguel Almeida >> >> On Thu, 2012-07-05 at 13:05 +0100, Miguel Almeida wrote: >> >> > Sure, Lukas: >> > >> > https://github.com/mmalmeida/struts-performance >> > >> > >> > >> > On Thu, 2012-07-05 at 06:48 +0200, Lukasz Lenart wrote: >> > >> > > Could you post somewhere (GitHub) the whole code base ? >> > > >> > > >> > > Regards >> > >> > >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org