An open API service indexing awesome lists of open source software.

https://github.com/sethfalco/java-microbenchmarks

Benchmarks I've written during development both professionally and during Open Source contributions.
https://github.com/sethfalco/java-microbenchmarks

benchmark java microbenchmark

Last synced: about 1 year ago
JSON representation

Benchmarks I've written during development both professionally and during Open Source contributions.

Awesome Lists containing this project

README

          

# Java Microbenchmarks

[![](https://gitlab.com/SethFalco/java-microbenchmarks/badges/main/pipeline.svg)](https://gitlab.com/SethFalco/java-microbenchmarks)

The motivation and structure of this repository is almost identical to my Node.js equivalent. Read the [README of Node.js Microbenchmarks](https://gitlab.com/SethFalco/nodejs-microbenchmarks) for context.

## Running Benchmarks

To see a list of microbenchmarks available, either:

* Look in `src/jmh/fun/falco/microbenchmarks/`.
* Or execute `./gradlew jmh` on its own, which will list them for you.

Run the relevant benchmark with Gradle:

```sh
./gradlew jmh --rerun -P benchmark=CssToJavaColor
```

## Related

I've made a similar repository for Node.js microbenchmarks:

* [Node.js Microbenchmarks](https://gitlab.com/SethFalco/nodejs-microbenchmarks)