https://github.com/bearmug/jmh-benches
JMH benchmarks collection to evaluate interesting cases and pitfalls
https://github.com/bearmug/jmh-benches
benchmark java jmh microbenchmark
Last synced: 12 months ago
JSON representation
JMH benchmarks collection to evaluate interesting cases and pitfalls
- Host: GitHub
- URL: https://github.com/bearmug/jmh-benches
- Owner: bearmug
- Created: 2015-11-24T19:07:52.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T08:56:17.000Z (almost 5 years ago)
- Last Synced: 2023-03-01T22:45:59.337Z (over 3 years ago)
- Topics: benchmark, java, jmh, microbenchmark
- Language: Java
- Homepage: https://github.com/bearmug/jmh-benches
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
[](https://www.codacy.com/app/pavel-fadeev/jmh-benches?utm_source=github.com&utm_medium=referral&utm_content=bearmug/jmh-benches&utm_campaign=Badge_Grade)
# jmh-benches
JMH benchmarks collection to evaluate interesting cases and pitfalls
## How to run
Simply clone repo and run gradle tasks from below:
- **benchMvel** or **bM** bench MVEL scripted execution vs. direct calls
- **benchBoxingUnboxing** or **bBU** evaluate boxing/unboxing efforts for primitives
- **benchFloatingPoint** or **bFP** compare performance for primitive math actions for double and BigDecimal
- **benchStreams** or **bS** compare streams performance over classic loop processing
- **benchMemoryContention** or **bMC** validate memory contention impact with primitive and concurrent atomic
- **benchUuidValidation** or **bUV** compare uuid strings validation performance in case of precompiled pattern and
`UUID.fromString(...)`
- **benchJsonPath** or **bJP** compare json-path nodes replacement performance for exact optional path and generic
recursive '..' pattern