Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
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

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
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

Re: Performance issue with nested iterator

2012-07-05 Thread Miguel Almeida
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

Re: Performance issue with nested iterator

2012-07-05 Thread Łukasz Lenart
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 mig...@almeida.at: I believe I've found the culprit. While the problem is present

Performance issue with nested iterator

2012-07-04 Thread Miguel Almeida
Dear all, I have got a performance issue on a nested iterator, running Struts 2.3.1.1. Consider the code below, (the example is a Book with chapters and subchapters and we're displaying the book index - bookIndex is a MapChapter,ListSubchapter. This takes several seconds to load (map has size

Re: Performance issue with nested iterator

2012-07-04 Thread Lukasz Lenart
Could you post somewhere (GitHub) the whole code base ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: