Re: Velocity 1.7 slower than 1.4
Boris Partensky <[email protected]> Fri, 12 Dec 2014 10:04:43 -0500
| Newsgroups | gmane.comp.jakarta.velocity.user |
|---|---|
| Message-ID | <CABsrNP-KqLqAJbat5jYyAw2gaS=RuHQOYK=J8+oYHFDYgMyBmw@mail.gmail.com> |
Wonder if it's related to "directive.if.tostring.nullcheck" setting, which defaults to "true". In our case it caused tons of GC tenuring (leading to pauses, full GC etc) because it calls toString() on every single object (including collections). I'd look first if performance hit is due to GC. On Fri, Dec 12, 2014 at 9:14 AM, Claude Brisson <[email protected]> wrote: > > That's the first feedback like this we get. If you provide us with some > profiling information, we may help... > > Regards, > > Claude > > > On 12/12/2014 14:52, TNO wrote: > >> Hi, >> >> we try a few month ago to upgrade velocity to 1.7 from 1.4. >> Just a replacement in Maven pom.xml. >> >> Then, we measure a lot of treatment before and after and and what our >> surprise : it 'is about 10 times slower with velocity 1.7 ! >> >> Did I miss something ? >> >> Cherrs, Thomas >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >