jmh-benchmarks
OfficialMaster Java microbenchmarking with JMH.
Authoraehrc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides expert guidance for writing reliable Java microbenchmarks using the Java Microbenchmark Harness (JMH), ensuring accurate performance measurements and insightful analysis.
Core Features & Use Cases
- Benchmark Creation: Learn to set up and write basic JMH benchmarks.
- Performance Analysis: Understand different benchmark modes (Throughput, AverageTime, etc.) and state scopes.
- Optimization Pitfalls: Avoid common errors like dead code elimination, constant folding, and manual loops.
- Parameterization: Test performance across various configurations using
@Param. - Use Case: You need to compare the performance of two different sorting algorithms in Java. Use this Skill to create JMH benchmarks that accurately measure and compare their execution times under various conditions.
Quick Start
Use the jmh-benchmarks skill to generate a new JMH benchmark project using the Maven archetype.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jmh-benchmarks Download link: https://github.com/aehrc/pathling/archive/main.zip#jmh-benchmarks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.