Java’s way to access files changed a lot in past generations, and as files play an essential role in many #Java applications, it is time to look into the #Performance of the different API’s available for #FileIO: How does good old FileInputStream compare to current Java’s Files.copy()? Is it worth backporting new APIs into existing legacy applications?
In this video, you learn how to precisely measure performance using the #JavaMicrobenchmarkHarness (JMH), and how scaring the access times of some APIs in fact are. And certainly, what the fastest and most comfortable ways are to access files in Java. And last but not least, that OpenJDK contains a real performance bummer!
If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon https://www.patreon.com/mkarg. Thanks! 🙂
Stay safe and… Party On!