/java-perf

Simple Java Program's Performance

Primary LanguageJava

Java Performance

When you run the main method, you will notice that the PrimitiveDataMapper is performing the best. However from clean code point of view, it is the worst.

Why do we have to pay such a big price for trying to do the right thing is Java?

I don't understand why StaticStreamDataMapper is taking 10x more memory?