Tag

Microbenchmark

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 25, 2024 · Backend Development

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

This article introduces JMH, explains why it outperforms simple loops or other tools, and provides step‑by‑step Maven setup, benchmark creation, execution, and advanced annotations such as @Warmup, @Fork, @Setup, Blackhole usage, and SpringBoot integration for accurate Java micro‑benchmarking.

BenchmarkingJMHJava
0 likes · 12 min read
Master Java Performance Testing with JMH: From Setup to Advanced Benchmarks
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
Top Architect
Top Architect
Apr 19, 2023 · Backend Development

Using JMH for Java Microbenchmarking: Demo Project, Annotations and Result Analysis

This article explains why simple timing is unreliable in Java due to JIT compilation, introduces the official JMH tool for microbenchmarking, outlines best‑practice tips, demonstrates how to set up a Maven project, write benchmark code, run tests, interpret results, and details each JMH annotation.

AnnotationsBenchmarkingJMH
0 likes · 14 min read
Using JMH for Java Microbenchmarking: Demo Project, Annotations and Result Analysis
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.

AnnotationsBenchmarkingJMH
0 likes · 16 min read
JMH – Java Microbenchmark Harness: Introduction, Demo, and Annotation Guide
High Availability Architecture
High Availability Architecture
Sep 15, 2022 · Backend Development

Performance Optimization Practices in Vivo Push Recommendation Service

This article details the performance tuning of Vivo's Java-based push recommendation service, covering background challenges, measurement metrics, hotspot code and JVM GC optimizations, custom split utilities, map key improvements, off‑heap caching, and the resulting throughput and latency gains.

GCJVMJava
0 likes · 15 min read
Performance Optimization Practices in Vivo Push Recommendation Service
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.

GCHotspot CodeJVM
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.

AnnotationsJMHJava
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.

AnnotationsBenchmarkingJMH
0 likes · 13 min read
Using JMH for Java Microbenchmarking: Demo, Annotations, and Best Practices
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.

JITJMHJava
0 likes · 25 min read
Microbenchmarking Integer-to-String Conversions in Java Using JMH
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.

JMeterMicrobenchmarkPerformance 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
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.

MicrobenchmarkPerformance Testingbackend
0 likes · 12 min read
Performance Testing and Optimization of Tubi's Real-Time Recommendation Service
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.

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