struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Lenart <lukasz.len...@googlemail.com>
Subject Re: Performance issue with nested iterator
Date Fri, 06 Jul 2012 05:21:31 GMT
Thanks! The latest version of S2 is already using 2.3.19


Kind regards
-- 
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/


2012/7/5 Miguel Almeida <miguel@almeida.at>:
> I believe I've found the culprit.
> While the problem is present in commit
> https://github.com/mmalmeida/struts-performance/commit/aba93098174c8c8c1684ffdd9bf332b212a893a
, it's not present in the latest commit if you turn devMode 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


Mime
View raw message