GitHub - joeljeremy7/java-config-library-benchmarks: Benchmark of Java libraries
source link: https://github.com/joeljeremy7/java-config-library-benchmarks
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Benchmarks Results
Each push to the repository will trigger a benchmark run. Latest benchmark results will be viewable via GitHub Pages: https://joeljeremy7.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 the runAllJmh.sh
script.
Adding New Benchmarks
To introduce a new benchmark, create a new gradle subproject and:
- Create an
Benchmark
abstract class underio.github.joeljeremy7.java.config.lib.benchmarks
package. - Create benchmark methods in
Benchmark
class- Minimum required methods are:
- Retrieve a
String
property/configuration - Retrieve an
int
property/configuration
- Retrieve a
- Minimum required methods are:
- Create an
Avgt
andThrpt
nested class withinBenchmark
which extends the abstractBenchmark
class so that they execute the same benchmarks. - Annotate
Avgt
andThrpt
nested classes with appropriate JMH annotations to record results: avgt (ns) and thrpt (ms). - Add the subproject's
jmh
task to therunAllJmh.sh
script. - Add project repository link to Libraries section.
Recommend
-
60
PHP ORM Benchmark The benchmark to compare performance of PHP ORM solutions. Initially this project used Docker to facilitate PHP ORM benchmarks. But after
-
117
rpc-benchmark - java rpc benchmark, 灵感源自 https://www.techempower.com/benchmarks/
-
69
README.md cni-benchmarks
-
7
JavaScript Confetti library Zero d...
-
13
Benchmark React Native benchmarking library inspired by benchmark.js Apr 18, 20...
-
3
compiler-benchmark Benchmarks compilation speeds of different combinations of languages and compilers. Supported languages are: Languages with Natives Compilers
-
1
Features Blazing fast builds
-
5
React Native Style Libraries Benchmark Original reproducer was created by @tj-mc: https://github.com/tj-mc/styled-components-native-perf-reproduce...
-
1
Page not found · GitHub Pages There isn't a GitHub Pages site here. Did you mean to visit schacon.github.io?...
-
8
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK