JanusGraph / JanusGraph/janusgraph

Create Benchmark tests with jmh

Open
#1,395 3 comments 2 reactions 0 assignees View on GitHub
kind/performance
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

I switched janusgraph from junit4 to junit5 during these process. I had to delete some old benchmark tests which are no longer runnable with junit5. These benchmark tests are written with a deprecated framework called `com.carrotsearch.junitbenchmarks` which is no longer in development.

Therefore, I would prefer to rewrite all with the framework jmh: https://openjdk.java.net/projects/code-tools/jmh/.

- [ ] #2861
- [ ] #2862
- [ ] #2863
- [ ] #2864

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the four checklist issues (#2861, #2862, #2863, and #2864) and the existing benchmark tests that used com.carrotsearch.junitbenchmarks. Read the JMH project documentation, then determine the benchmark scope covered by each checklist item. Done means the old benchmark tests are rewritten with JMH and run successfully under the current JUnit 5-based project.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.