Home » Tag Archives: Performance (page 2)

Tag Archives: Performance

JLBH Examples 1 – Why Code Should be Benchmarked in Context

In this post: A side by side example using JMH and JLBH for Date serialisation Measuring Date serialisation in a microbenchmark Measuring Date serialisation as part of a proper application How to add a probe to your JLBH benchmark Understanding the importance of measuring code in context       In the last post, ‘Introducing JLBH‘ we introduced JLBH the latency ...

Read More »

JLBH – Introducing Java Latency Benchmarking Harness

In this Post: What is JLBH Why did we write JLBH Differences between JMH and JLBH Quick start guide       What is JLBH? JLBH is a tool that can be used to measure latency in Java programs. It has these features: Aimed at running code that would be larger than a micro benchmark. Suitable for programs that use ...

Read More »

Tools of the Trade for Performance and Load Testing

Solve App Problems 10x Faster with AppDynamics – Monitor production apps at code-level depth with minimal overhead. Start a FREE Trial! Your application is fast and scalable, right? How do you know? How often do you run performance or load tests? In this post I will give an overview of the tools of the trade for performance and load testing ...

Read More »

C code always runs way faster than Java, right? Wrong!

So we all know the prejudice that Java being interpreted is slow and that C being compiled and optimized runs very fast. Well as you might know, the picture is quite different. TL;DR Java is faster for constellations, where the JIT can perform inlining as all methods/functions are visible whereas the C compiler cannot perform optimizations accross compilation units (think ...

Read More »

Performance improvements… or experiments?

The project I’m involved in will face great challenges in the upcoming years. That was the reason why we have decided to focus on improving performance of the application before these improvements become a necessity. How to increase efficiency? Stability? Responsiveness? How to prepare for future? That was the question that we asked ourselves and our goal was to find ...

Read More »

7 Java Performance Metrics to Watch After a Major Release

The Java performance metrics you need to follow for understanding how your application behaves in production Unlike the days when software used to be shipped in boxes and there was no way of knowing how it will perform in production, today almost any metric you can think of can be tracked down and reported. The problems we’re now dealing with ...

Read More »

Stream Performance

When I read Angelika Langer’s Java performance tutorial – How fast are the Java 8 streams? I couldn’t believe that for a specific operation they took about 15 times longer than for loops. Could stream performance really be that bad? I had to find out! Coincidently, I recently watched a cool talk about microbenchmarking Java code and I decided to ...

Read More »

Don’t Like Throttling?

You don’t have a choice – the underlying system (The JVM here will do it for you). I still recall the summer of 2013 when I was running a project and it was 1 URL in my whole of application that brought the servers down. The problem was simple – a bot decided to index our site at a very high rate ...

Read More »

Examples of caching backfiring on performance

In 2015 it should not surprise anyone that caching frequently used data is likely to improve the performance of the application. Caching certain data structures locally inside the JVM instead of requesting them via remote calls from external storage is a widely used technique. Introducing such caches to your applications is likely to improve the application’s performance both in regards ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns