0

A colleague asked me recently about profiling/benchmarking a Java program. Since I am having background in a optimized/compiled programming language, namely Haskell - I was wondering how is it even possible to reliably benchmark jitted programming languages like Java for example?

Wouldn't the just in time compilation interfere and make early samples irrelevant?

And how to know when the JIT has optimized the code "good" enough?

Holger
  • 285,553
  • 42
  • 434
  • 765
epsilonhalbe
  • 15,637
  • 5
  • 46
  • 74

0 Answers0