Profiling a Java Spring application

前端 未结 8 1218
再見小時候
再見小時候 2020-12-12 20:11

I have a Spring application that I believe has some bottlenecks, so I\'d like to run it with a profiler to measure what functions take how much time. Any recommendations to

8条回答
  •  温柔的废话
    2020-12-12 20:26

    Here's a general discussion with recommended tools & techniques.

    Basically, it is entirely natural to assume if you want to find out how to make an app faster, that you should start by measuring how long functions take. That's a top-down approach.

    There's a bottom-up approach that when you think about it is just as natural. That is not to ask about time, but to ask what it is doing, predominantly, and why it is doing it.

提交回复
热议问题