Microbenchmarks – performance in the smaller scale

A session at JDD 2012

Thursday 25th October, 2012

12:10pm to 1:00pm (WMT)

A lot of us encounter the dilemma of choosing one of many possible solutions to the specific programming task. The first method to compare their performance that comes to mind is to use System.currentTimeMillis() before and after execution. But how can we be sure that the simplest answer is also the best one? We should note that ignoring the constraints of the Java Virtual Machine architecture often give us false conclusions which leads to wrong design decisions.

So how to properly measure the execution time of the loop processing or method call to get meaningful results which can then result in increased performance on production environment? During the presentation I will outline potential pitfalls in the benchmark implementations and show the methods and tools that can be used to solve this issue properly.

About the speaker

This person is speaking at this event.
Jakub Kubryński

DevSKiller CEO

Sign in to add slides, notes or videos to this session

JDD 2012

Poland Poland, Krakow

25th26th October 2012

Tell your friends!


Time 12:10pm1:00pm WMT

Date Thu 25th October 2012


Hotel Galaxy

Short URL


Official session page


View the schedule


See something wrong?

Report an issue with this session