There's a lot of room for optimizations here; Tapestry is using the ClassLoader.getResource() method extensively, and it is very, very slow. More work to ensure that we don't constantly check and re-check for the existence of files would make a huge difference in performance when you are talking about this many properties files. The same may apply to component templates (which can be localized if you like, thus the same lookup overhead).
On Mon, Nov 9, 2009 at 4:11 AM, Blower, Andy <andy.blo...@proquest.co.uk> wrote: > We also have a lot of properties files, but so far only one translation. We > will have 20+ translations in due course, so I would be concerned if there > were performance problems/implications. We're already using 5.1, so I'd be > interested if this version has issues will many files. > >> -----Original Message----- >> From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] >> Sent: 08 November 2009 13:30 >> To: Tapestry users >> Subject: Re: i18n overhead >> >> Em Sun, 08 Nov 2009 11:20:48 -0200, Melidramo <a...@kochira.com> >> escreveu: >> >> >> Why so many property files? Just curious. :) >> > This is a big project... >> >> :) >> >> >> What exact version? 5.1.05? 5.0.18? >> > 5.0.18 >> >> There are some changes between 5.0.18 to 5.1.0.5 that can affect >> performance. >> >> > Is your question an incentive to migrate to 5.1? >> >> Regardless of performance issues, I think it's a good thing to do. >> >> -- >> Thiago H. de Paula Figueiredo >> Independent Java, Apache Tapestry 5 and Hibernate consultant, >> developer, >> and instructor >> Owner, software architect and developer, Ars Machina Tecnologia da >> Informação Ltda. >> http://www.arsmachina.com.br >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org