https://github.com/pyvesb/jmh-replace-sample
Simple sample project benchmarking several replace methods using JMH.
https://github.com/pyvesb/jmh-replace-sample
benchmark jmh
Last synced: 9 months ago
JSON representation
Simple sample project benchmarking several replace methods using JMH.
- Host: GitHub
- URL: https://github.com/pyvesb/jmh-replace-sample
- Owner: PyvesB
- License: mit
- Created: 2019-09-11T09:58:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-11T10:24:59.000Z (over 6 years ago)
- Last Synced: 2025-01-26T00:17:42.723Z (11 months ago)
- Topics: benchmark, jmh
- Language: Java
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**A simple sample project benchmarking several replace methods using JMH.**
# Getting started
#### :heavy_check_mark: Requirements
To compile and run this project, you will need:
- JDK 1.8 or more recent
- Maven
#### :cd: Running the benchmark
Simply use the following commands:
```
mvn clean install
java -cp target/benchmarks.jar org.openjdk.jmh.Main
```
#### :earth_americas: Useful links
The following pages may be of interest:
- [JMH homepage](https://openjdk.java.net/projects/code-tools/jmh/)
- [JMH samples](https://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-samples/src/main/java/org/openjdk/jmh/samples/)
# Contributing
#### `$ code`
Want to make this JMH sample better, faster, stronger? Contributions are more than welcome, open a **pull request** and share your code! Simply **fork** the repository by clicking on the icon on the top right of this page and you're ready to go!
#### :speech_balloon: Support
Thought of a cool idea? Found a problem or need some help? Simply open an [**issue**](https://github.com/PyvesB/JavAssembly/issues)!
#### :star: Thanks
Find the project useful, fun or interesting? **Star** the repository by clicking on the icon on the top right of this page!
# License
MIT License