Home  >  Q&A  >  body text

java - spring是不是相比其他框架要慢一些?

用springMVC开发了一个在线考试系统。后台用了Spring+SpringMvc,其他还用了SpringSecure。

除了服务器,其他客户端载入一个页面,看了下时间大约在70ms左右,不含载入后用post请求的一堆数据。重复刷新或者去其他页面也都是要等70ms左右才能加载完页面。页面静态资源缓存已开。

这个70ms左右的时间有办法减少吗?谢谢!

巴扎黑巴扎黑2742 days ago1149

reply all(11)I'll reply

  • 阿神

    阿神2017-04-18 10:57:40

    There is something called xrebel. It is recommended to give it a try. Each request will record the time of each method in detail.
    Or use perf4j or something similar to record the time consumption of each layer.
    This allows targeted optimization.

    reply
    0
  • Cancelreply