Microbenchmarking with Java
In this tutorial, we will explain how to properly perform a microbenchmarking of Java classes using Java Microbenchmark Harness(JMH). What…
Why do we need Java profilers?
In this tutorial, we will explain why we need Java profilers, and we will see visualvm (a very popular Java…
Compare the performance of AtomicLong and LongAdder classes
LongAdder class is added in Java 8. Official Java docs say: Under high contention, expected throughput of this class compared to AtomicLong is significantly…
How to improve the performance of your spring boot tests a lot
Imagine you have one hundred spring boot test classes. When you start all of your tests, what is your intention:…
How would you tune this SQL query?
Imagine having an index on person_id and you would like to perform the query: select bank_account_number from bank_account where person_id = :1…
What should you know about SQL indexes as a Java developer?
The majority of developers don’t know a lot about SQL performance tuning. I find this topic very interesting and I…