tags:

views:

18

answers:

0

There seems to be an overhead in when included file is very large. This has nothing to do with the contents of the file, just its size, the file has nothing but commented out text

<tiles:insertTemplate template="/WEB-INF/very/large/file/with/nothing/but/comments.jsp">
</tiles:insertTemplate>

Time to insertTemplate is proportionate to the size of the file.

comments.jsp looks like this:

<%--comme

nt comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment comment--%>
<%--comment comment comment comment comment comment comment comment comment comment comment comment comment 

comment--%>