https://github.com/twistedpair/benchmark-jvm-modulo
Microbenchmarking of JVM Modulo Implementations
https://github.com/twistedpair/benchmark-jvm-modulo
Last synced: 2 months ago
JSON representation
Microbenchmarking of JVM Modulo Implementations
- Host: GitHub
- URL: https://github.com/twistedpair/benchmark-jvm-modulo
- Owner: twistedpair
- License: gpl-3.0
- Created: 2016-08-01T03:04:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-15T17:56:19.000Z (almost 10 years ago)
- Last Synced: 2025-01-10T16:44:39.794Z (over 1 year ago)
- Language: Scala
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# branchmark-jvm-modulo
Microbenchmarking of JVM Modulo Implementations
## For Scala-Meter
Set SBT to get a lot of memory, so we minimize GC overhead. Resize heap to max size on start.
```bash
cd scala-meter/
SBT_OPTS="-Xms1G -Xmx1G -Xss1M"
sbt test
```
## For JMH
```bash
cd jmh/
mvn install
java -Xmx1G -Xms1G -jar target/benchmarks.jar -wi 5 -i 1000 -f 1 -bs 1000000
```