如何提高.jsp渲染页面的速度(使用中:Spring Webflow)

时间:2014-04-17 06:32:25

标签: java spring performance servlet-filters

我对我的应用程序进行了分析,并且我创建了瓶颈。整个处理时间的〜15%用于渲染.jsp页面。

这是jprofiler(4.0)

报告的一部分
    /WEB-INF/jsp/summary.jsp [org.apache.jsp.WEB_002dINF.jsp.summary_jsp]    291 s (14 %)   342 ms  851
  14,7% - 291 s - 851 hot spot inv. org.springframework.webflow.mvc.servlet.FlowController.handleRequest
  14,7% - 291 s - 851 hot spot inv. pl.myexcelion.checkout.web.controller.FlowController.handleRequest
  14,7% - 291 s - 851 hot spot inv. org.aspectj.lang.ProceedingJoinPoint.proceed
  14,7% - 291 s - 851 hot spot inv. pl.myexcelion.checkout.main.aspect.DebugLevelLoggerAspect.logMethodComplex
  14,7% - 291 s - 851 hot spot inv. javax.servlet.FilterChain.doFilter
  14,7% - 291 s - 851 hot spot inv. pl.myexcelion.checkout.web.security.filter.RestDispatcherFilter.doFilterInternal
  14,7% - 291 s - 851 hot spot inv. javax.servlet.FilterChain.doFilter
  14,7% - 291 s - 851 hot spot inv. pl.myexcelion.checkout.web.security.filter.ChangeLanguageFilter.doFilterInternal
  14,7% - 291 s - 851 hot spot inv. javax.servlet.FilterChain.doFilter
  14,7% - 291 s - 851 hot spot inv. pl.myexcelion.checkout.web.security.filter.ProtectedResourcesFilter.doFilterInternal
  14,7% - 291 s - 851 hot spot inv. javax.servlet.FilterChain.doFilter
  14,7% - 291 s - 851 hot spot inv. pl.myexcelion.checkout.web.security.filter.SaveLanguageAfterLoginFilter.doFilterInternal
  14,7% - 291 s - 851 hot spot inv. javax.servlet.FilterChain.doFilter
  14,7% - 291 s - 851 hot spot inv. pl.myexcelion.checkout.web.security.filter.RequestApplicationContextFilter.doFilterInternal
  14,7% - 291 s - 851 hot spot inv. javax.servlet.FilterChain.doFilter
  14,7% - 291 s - 851 hot spot inv. com.myexcelion.commons.web.filter.MobileAppFilter.doMobileFilter
  14,7% - 291 s - 851 hot spot inv. com.myexcelion.commons.web.filter.MobileAppFilter.doFilter
  14,7% - 291 s - 851 hot spot inv. javax.servlet.FilterChain.doFilter
  14,7% - 291 s - 851 hot spot inv. com.myexcelion.commons.web.filters.F5Filter.doFilter
  14,7% - 291 s - 851 hot spot inv. com.myexcelion.commons.web.filters.F5Filter.doFilter
  14,7% - 291 s - 851 hot spot inv. javax.servlet.FilterChain.doFilter
  14,7% - 291 s - 851 hot spot inv. com.myexcelion.commons.web.filter.CookieAwareFilter.doFilter
  14,7% - 291 s - 851 hot spot inv. URL: /checkout-web/summary
  14,7% - 291 s - 851 hot spot inv. org.apache.tomcat.util.net.JIoEndpoint$Worker.run

正如您所看到的,我使用了org.springframework.webflow.mvc.servlet.FlowController.handleRequest处理请求,之后我在链中运行过滤器。

您是否知道如何加快这些过滤器和整个应用程序的处理速度?

0 个答案:

没有答案