Java/JVM (HotSpot): Is there a way to save JIT performance gains at compile time?

后端 未结 4 1676
-上瘾入骨i
-上瘾入骨i 2020-12-30 08:50

When I measure the throughput of my Java application, I see a 50% performance increase over time:

  • For the first 100K messages, I get ~3,000 messages per second
4条回答
  •  盖世英雄少女心
    2020-12-30 09:04

    Are you sure it is CPU related and not IO related? I have seen this behaviour a lot of times, when hitting a cold cache somewhere worsens performance.

提交回复
热议问题