Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

out.print performance problems?

$
0
0

Hi

 

I'm facing strange performance problems I would not expect generating long html pages on the fly.

 

I have a page that is approximately 30 to 40Kb long. Profiling code generation I obtain a 30 second time to process. I have excluded every server-side processing activity since I have also used a StringBuffer to accumulate all the html code to be flushed: generating the StringBuffer content require less than 1ms... flushing out the content with:

out.print(stb);

out.flush()

 

is taking 5 to 6 seconds. The same happens both on a development environment using CQ servlet engine, both in production where we are using CQ with JBoss as app server.

 

I tried the same operation on a simple tomcat installation with a JSP... less than 10 ms to generate the full page.

 

This problem is slowing down a lot performances.

 

The contents are generated inside a nested component included with a <cq:include> tag.

 

Anyone can give me suggestions on how to cut down a so big delay in html content generation?

 

thanks


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>