Tagged articles
25 articles
Page 1 of 1
Programmer DD
Programmer DD
Oct 19, 2025 · Backend Development

Can Shorter Variable Names Speed Up Java? Surprising Benchmark Results

A recent study shows that deliberately shortening or misspelling Java variable names can reduce latency and increase throughput by up to 49%, revealing hidden performance costs in the JVM's string handling and prompting a data‑driven, selective naming strategy for high‑throughput systems.

JVMjavamicrobenchmark
0 likes · 8 min read
Can Shorter Variable Names Speed Up Java? Surprising Benchmark Results
FunTester
FunTester
Apr 15, 2024 · Fundamentals

Using JMH to Benchmark GUID Generation Strategies in Java

This article introduces JMH, explains its key features, and presents microbenchmark results comparing thread‑exclusive, thread‑shared, Snowflake, UUID, and Snowflake‑algorithm GUID generation methods under various thread counts, accompanied by the full Java test code.

BenchmarkingGUIDJMH
0 likes · 8 min read
Using JMH to Benchmark GUID Generation Strategies in Java
Ziru Technology
Ziru Technology
Mar 31, 2023 · Backend Development

Master Java Performance Testing with JMH: From Basics to Advanced Benchmarks

This article explains what benchmarking is, introduces the JMH framework for Java, shows how to add JMH dependencies, walks through a simple "Hello JMH" example with full source and output, demonstrates using JMH with Spring Boot, details the most important options and annotations, and highlights common pitfalls to avoid when writing reliable micro‑benchmarks.

BenchmarkingJMHPerformance Testing
0 likes · 17 min read
Master Java Performance Testing with JMH: From Basics to Advanced Benchmarks
Architect's Tech Stack
Architect's Tech Stack
Feb 16, 2023 · Backend Development

A Comprehensive Guide to Java Microbenchmarking with JMH

This article introduces Java Microbenchmark Harness (JMH), explains why warm‑up is necessary, details common annotations, shows how to set up a Maven project, provides a complete benchmark example comparing LinkedList iteration methods, and demonstrates how to run and interpret the results.

BenchmarkingJMHjava
0 likes · 13 min read
A Comprehensive Guide to Java Microbenchmarking with JMH
Top Architect
Top Architect
Oct 9, 2022 · Backend Development

JMH – Java Microbenchmark Harness: Introduction, Demo, and Annotation Guide

This article introduces JMH, the official Java microbenchmarking tool, explains why warm‑up is needed, shows how to build a Maven project, provides a complete LinkedList iteration benchmark example, demonstrates common JMH annotations, and outlines how to run and interpret benchmark results.

BenchmarkingJMHjava
0 likes · 16 min read
JMH – Java Microbenchmark Harness: Introduction, Demo, and Annotation Guide
vivo Internet Technology
vivo Internet Technology
Sep 14, 2022 · Backend Development

Performance Optimization Practices in Vivo Push Recommendation Service

The Vivo Push recommendation service was dramatically accelerated by replacing regex‑based String.split with a custom utility, converting massive String‑key maps to long keys, and moving large caches off‑heap, which together cut latency by about 32%, boosted throughput roughly 45% and nearly doubled overall performance.

Hotspot CodeJVMgc
0 likes · 15 min read
Performance Optimization Practices in Vivo Push Recommendation Service
Architect's Tech Stack
Architect's Tech Stack
May 1, 2022 · Backend Development

Using JMH for Java Microbenchmarking: A Comprehensive Guide

This article introduces Java Microbenchmark Harness (JMH), explains why warm‑up is needed, walks through project setup with Maven, demonstrates benchmark code for LinkedList iteration, details common JMH annotations, shows how to run and interpret results, and concludes with practical usage tips, while also mentioning a promotional book giveaway.

JMHPerformance Testingannotations
0 likes · 12 min read
Using JMH for Java Microbenchmarking: A Comprehensive Guide
Top Architect
Top Architect
Feb 20, 2022 · Backend Development

Using JMH for Java Microbenchmarking: Demo, Annotations, and Best Practices

This article introduces Java Microbenchmark Harness (JMH), explains why warm‑up is needed, shows how to build a benchmark project with Maven, provides a complete LinkedList iteration benchmark example with all relevant JMH annotations, demonstrates execution commands, and interprets the resulting performance reports.

BenchmarkingJMHPerformance Testing
0 likes · 13 min read
Using JMH for Java Microbenchmarking: Demo, Annotations, and Best Practices
Java Interview Crash Guide
Java Interview Crash Guide
Feb 18, 2022 · Backend Development

Master Java Microbenchmarking with JMH: From Setup to Results

This article explains how to use JMH for precise Java micro‑benchmarks, covering JVM warm‑up, project setup with Maven, writing benchmark methods, configuring annotations, running tests, interpreting results, and provides practical code examples and tips for reliable performance measurement.

BenchmarkingJMHJVM
0 likes · 13 min read
Master Java Microbenchmarking with JMH: From Setup to Results
JD Retail Technology
JD Retail Technology
Dec 29, 2021 · Backend Development

Microbenchmarking Integer-to-String Conversions in Java Using JMH

This article examines the performance of four Java integer-to-string conversion methods—Integer.toString, String.valueOf, a+"", and ""+a—by conducting raw loop tests and detailed JMH microbenchmarks, analyzing JVM warm-up, JIT, and OSR effects to reveal reliable measurement practices.

JITJMHPerformanceTesting
0 likes · 25 min read
Microbenchmarking Integer-to-String Conversions in Java Using JMH
Senior Brother's Insights
Senior Brother's Insights
Jan 6, 2021 · Backend Development

Master Java Microbenchmarking with JMH: A Hands‑On Guide

This article introduces JMH, the Java Microbenchmark Harness, explains why traditional main‑method benchmarks are unreliable, and provides step‑by‑step instructions, code examples, and best‑practice annotations for accurately measuring method‑level performance in Java applications.

BenchmarkingJITJMH
0 likes · 20 min read
Master Java Microbenchmarking with JMH: A Hands‑On Guide
FunTester
FunTester
Aug 23, 2020 · Operations

Analyzing Throughput Errors in JMeter Load Testing

JMeter’s reported throughput can be misleading because it includes local processing time, especially when response validation such as regex extraction adds overhead, leading to significant underestimation of actual server load; the article demonstrates this with experiments and suggests micro‑benchmark corrections to obtain accurate results.

JMeterLoad TestingPerformance Testing
0 likes · 5 min read
Analyzing Throughput Errors in JMeter Load Testing
Sohu Tech Products
Sohu Tech Products
Jun 10, 2020 · Fundamentals

Using JMH for Java Microbenchmarking: A Comprehensive Guide

This article introduces JMH, explains how to add dependencies, write and run microbenchmarks for string concatenation, describes key annotations, highlights common pitfalls, and shows how to package, visualize, and integrate JMH benchmarks within Java projects.

BenchmarkingJMHJVM
0 likes · 14 min read
Using JMH for Java Microbenchmarking: A Comprehensive Guide
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
May 4, 2020 · Backend Development

Mastering JMH: Essential Java Microbenchmark Techniques for Accurate Performance Testing

JMH is a Java harness that enables precise, reproducible microbenchmarking through annotations, state management, threading, and profiling, and this guide walks through its core features—benchmark modes, state scopes, setup/teardown, fork control, blackholes, and advanced options—illustrated with sample code and results.

BenchmarkingJMHPerformance Testing
0 likes · 18 min read
Mastering JMH: Essential Java Microbenchmark Techniques for Accurate Performance Testing
Bitu Technology
Bitu Technology
Feb 12, 2020 · Backend Development

Performance Testing and Optimization of Tubi's Real-Time Recommendation Service

This article describes how Tubi’s engineering team built and optimized a real‑time recommendation backend, using ScalaMeter microbenchmarks and wrk2 load testing to measure latency, throughput and error rates, and demonstrates scaling the service across multiple machines with custom scripts.

BackendLoad Testingmicrobenchmark
0 likes · 12 min read
Performance Testing and Optimization of Tubi's Real-Time Recommendation Service
Programmer DD
Programmer DD
Aug 25, 2018 · Backend Development

Mastering Java Microbenchmarking with JMH: 12 Common Pitfalls and How to Avoid Them

This article introduces Java Microbenchmark Harness (JMH), explains why precise benchmarking matters, and walks through twelve typical testing pitfalls—such as dead‑code elimination, constant folding, loop misuse, fork isolation, method inlining, false sharing, branch prediction, and multithreading—showing how JMH helps developers obtain reliable performance measurements.

JITJMHPerformance Testing
0 likes · 25 min read
Mastering Java Microbenchmarking with JMH: 12 Common Pitfalls and How to Avoid Them
High Availability Architecture
High Availability Architecture
Jul 2, 2018 · Backend Development

Java Performance Optimization Practices and the VJTools Open‑Source Toolkit

This article shares Vipshop’s extensive Java performance‑optimization experience, introduces the open‑source VJTools project for profiling and troubleshooting, and presents practical insights on common pitfalls, reliable techniques, JIT fundamentals, micro‑benchmarking, useful tools, and real‑world case studies from Vipshop’s architecture.

JITVJToolsjava
0 likes · 5 min read
Java Performance Optimization Practices and the VJTools Open‑Source Toolkit