Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Benchmark of Java configuration libraries

License

NotificationsYou must be signed in to change notification settings

joel-jeremy/java-config-library-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Each push to the repository will trigger a benchmark run. The project uses a special build task which merges all the benchmark results into a single report file. Latest benchmark results will be viewable via GitHub Pages:https://joel-jeremy.github.io/java-config-library-benchmarks/

Libraries

(Alphabetical order)

Benchmark Setup

Each library is setup with its "default" configurations. In addition to the defaults, additional configuration/setup is done to "load" a single.properties file. For the benchmark runs, each library will load properties/configuration from the loaded.properties file (all with exactly the same file contents).

Benchmark Run

Benchmarks require Java 11.

To run the benchmarks and generate reports, use therunAllJmh.sh script.

Adding New Benchmarks

To introduce a new benchmark, create a new gradle subproject and:

  1. Create anBenchmark abstract class underio.github.joeljeremy7.java.config.lib.benchmarks package.
  2. Create benchmark methods inBenchmark class
    • Minimum required methods are:
      1. Retrieve aString property/configuration
      2. Retrieve anint property/configuration
  3. Create anAvgt andThrpt nested class withinBenchmark which extends the abstractBenchmark class so that they execute the same benchmarks.
  4. AnnotateAvgt andThrpt nested classes with appropriate JMH annotations to record results: avgt (ns) and thrpt (ms).
  5. Add the subproject'sjmh task to therunAllJmh.sh script.
  6. Add project repository link toLibraries section.

About

Benchmark of Java configuration libraries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp