Tag Archives: performance

SCARY Performance! – record.hashCode() | Head Crashing Informatics 61

`record` is a cool and comfortable keyword in #Java, as it does a lot of things for you. But is the resulting code really FAST? This video reveals SCARY performance! If you like this video, please give it a thumbs … Continue reading

Posted in Java, Programming | Tagged , , , | Comments Off on SCARY Performance! – record.hashCode() | Head Crashing Informatics 61

I DOUBLED InputStream Performance! | The Two Minutes Tuesday 029 | Java Inside

I was asked how far my contribution to #OpenJDK is: While I am still working on edge cases, performance of InputStream::transferTo is already doubled (!!!) and I think that in one of my next videos I can show you the … Continue reading

Posted in Java, Open Source, Programming, The Two Minutes Tuesday | Tagged , , , , , , , | Comments Off on I DOUBLED InputStream Performance! | The Two Minutes Tuesday 029 | Java Inside

Boosting InputStream::transferTo Performance | The Two Minutes Tuesday 025 | Java Inside

As I explained in a recent video (https://youtu.be/qgDfZgreN40), InputStream::transferTo() is the most comfortable way to tell java we want to transfer the remaining content of one stream into another stream, but that it apparently is the slowest one, too! The … Continue reading

Posted in Java, Open Source, Programming, The Two Minutes Tuesday | Tagged , , , , , , | Comments Off on Boosting InputStream::transferTo Performance | The Two Minutes Tuesday 025 | Java Inside

Java File I/O Performance Shootout | Modern Java | Head Crashing Informatics 32

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 … Continue reading

Posted in Java, Open Source, Programming | Tagged , , , , , , , , , | Comments Off on Java File I/O Performance Shootout | Modern Java | Head Crashing Informatics 32

Stuttering Performance! | The Two Minutes Tuesday 024 | Informatics

Ever wondered why #performance is not scaling linear, but more like in steps? This episode of #TheTwoMinutesThuesday explains why! Watching your computer copying large files you will notice that the overall progress is everything but smooth nor linear! Some data … Continue reading

Posted in Hardware, Programming, Science, The Two Minutes Tuesday | Tagged , , , , , , , , | Comments Off on Stuttering Performance! | The Two Minutes Tuesday 024 | Informatics

Migration Path to JDK 16 | The Two Minutes Tuesday 020 | Modern Java

Migrate to #JDK16 NOW! #Java 16 is here since last week, and there is no excuse to stay with any older versions! There is a simple four-steps migration path to more speed, more performance, more fun! If you like this … Continue reading

Posted in Java, Open Source, Programming, The Two Minutes Tuesday | Tagged , , , , , , , , , | Comments Off on Migration Path to JDK 16 | The Two Minutes Tuesday 020 | Modern Java

Java Performance Shootout: Foreign Linker vs JNI | Modern Java | JDK16 | Head Crashing Informatics 28

Hey guys! How’s it going? The #ForeignLinkerAPI, which is in incubation in #JDK16, was announced to be as fast as, OR EVEN FASTER AS, #JNI (#JavaNativeInterface, the sole OFFICIAL way to call native code from Java). But how looks the … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , , , , , , , , , , | Comments Off on Java Performance Shootout: Foreign Linker vs JNI | Modern Java | JDK16 | Head Crashing Informatics 28

Java Startup Performance

Hey guys! How’s it going? One of the major pain points even with the latest Java generation is its terribly slow startup time. There are things that you can do to improve it, so here is how to do them … Continue reading

Posted in Jakarta EE, Java, Programming, Standards | Tagged , , , | Comments Off on Java Startup Performance

You lose out Performance! – The Two Minutes Tuesday 004

Hey guys! You’re still using years-old Java versions? Then you definitively lose out performance! CU!

Posted in The Two Minutes Tuesday | Tagged , , | Comments Off on You lose out Performance! – The Two Minutes Tuesday 004

CompletableFuture in I/O-bound applications

Hardware access needs long time Applying reactive programming to improve performance by utilizing all CPU cores became rather easy with Java 8 thanks to CompletableFuture. This is nice when an application is mostly CPU-bound, i. e. when it performs in-memory operations. But … Continue reading

Posted in Allgemein, Java, Programming | Tagged , , , | Comments Off on CompletableFuture in I/O-bound applications