Posts Tagged ‘Performance’

Speed-Testing DirectByteBuffers and the Unsafe class against plain old arrays

April 9, 2017 Leave a comment

I’ve long been a fan of Martin Thompson’s talks on youtube, and blogs on the “Mechanical Sympathy” blog. The more you dig into the world of people who care about high performance in Java, you will inevitably come across the technique to optimize memory access using direct ByteBuffers and the sun.misc.Unsafe class. But how so they stack up? Is it true that using them will give you more performance in general?
Read more…

Categories: Tuning Tags: ,

Java actor framework “Kilim”: A solution without a problem?

November 26, 2010 3 comments

Some time ago I read a posting from a workmate, that was linking to an IBM developerworks article about the actor-framework “Kilim” and he seemed to be quite fond of it. Since I know this guy’s a very skilled technician and since actors are one of the bigger hypes in software technology nowadays, with languages like Scala openly supporting that concurrency model, and since the IBM developerworks articles are usually quite good, I instantly dived into it, only to be left perplexed. Read more…

Paint faster!

August 29, 2010 1 comment

It’s been a while since I came across this stuff and I already wrote about it on a company blog in the German language, but I thought this could be interesting enough for more people out there, so I’m sitting here translating what I wrote almost 2 years ago, keen on validating it with today’s Java Runtime. So what’s this fuzz about? Simply put: I noticed that you might have wasted a lot of time in swing, if you relied on the Graphics-object you get passed by Swing and the difference was dramatic!
Read more…

Categories: Swing Tags: , , ,