2 ms·
Although the article is a bit long-winded as others have pointed out, it did mention the importance of profiling your application before making any changes. In
by stygiansonic 7y ago
Although the article is a bit long-winded as others have pointed out, it did mention the importance of profiling your application before making any changes.
In particular, you should always aim to profile your app when running under a production load so that you do not have to make assumptions about its behaviour. Something like async-profiler[0] is good, since it avoids the safepoint bias issue and can also track heap allocations.
0. https://github.com/jvm-profiling-tools/async-profiler https://github.com/jvm-profiling-tools/async-profiler