Performance Benchmarking with Apache Bench, wrk, and wrk2
Apache Bench (ab) Installation and Usage
Apache Bench is a single-threaded command-line computer program for measuring the performance of HTTP web servers. Its a standard tool often included with the Apache HTTP Server distribution.
Installation
On RHEL/CentOS-based systems, you can install the tool using the following package manager command:
...
Posted on Sat, 08 Aug 2026 16:53:31 +0000 by salathe
How to Implement and Interpret Java Performance Benchmarks Using JMH
Performance tuning for Java applications relies on accurate, reproducible performance measurements to identify bottlenecks and validate optimization effects. JMH (Java Microbenchmark Harness), an official OpenJDK subproject, is purpose-built for creating, executing, and parsing microbenchmark results for Java and JVM-based languages, eliminatin ...
Posted on Tue, 12 May 2026 18:56:40 +0000 by Darkwoods
Measuring Code Execution Duration in Java
When analyzing application performance, determining how long a specific block of code takes to run is a common requirmeent. Java provides standard APIs to capture timestamps, allowing developers to measure execusion duration accurately.
Basic Time Measurement
The most straightforward way to measure elapsed time is using System.currentTimeMillis ...
Posted on Fri, 08 May 2026 22:08:28 +0000 by martinchristov