I'm using StringTemplate as view layer for my web application. Recently I've measured how much time is spent rendering pages and it's around 50ms for simple pages and 500ms for complex pages. This is too much for my needs, so I'm looking for a way to improve ST's performance. How can I do this?
Most of the time is consumed by the StringTemplate.toString method, so it's not a cache problem.
I actively use anonymous templates and included templates - could this be the cause?