Skip to content

Commit

Permalink
Merge pull request #217 from graalvm/ls/update_java_simple_stream_ben…
Browse files Browse the repository at this point in the history
…chmark

Update Simple Java Stream Benchmark Demo
  • Loading branch information
olyagpl committed Dec 6, 2023
2 parents 4e0ce50 + eecacd4 commit e3bf0b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java-simple-stream-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
java-version: ['17', 'dev']
java-version: ['21', 'dev']
steps:
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
Expand Down
8 changes: 4 additions & 4 deletions java-simple-stream-benchmark/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Simple Java Stream Benchmark

This repository contains the code for a demo application for [GraalVM](graalvm.org).
This repository contains the code for a simple Java Stream benchmark to run on a [GraalVM JDK](http://graalvm.org).

## Prerequisites
- [GraalVM](http://graalvm.org)
- [GraalVM](https://www.graalvm.org/downloads/)

## Preparation

1. Download and install the latest GraalVM JDK using the [GraalVM JDK Downloader](https://github.com/graalvm/graalvm-jdk-downloader).
1. Download and install the latest GraalVM JDK using [SDKMAN!](https://sdkman.io/).
```bash
bash <(curl -sL https://get.graalvm.org/jdk)
sdk install java 21.0.1-graal
```

2. Download or clone the repository and navigate into the `java-simple-stream-benchmark` directory:
Expand Down
4 changes: 2 additions & 2 deletions java-simple-stream-benchmark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ questions.
<name>Simple Java stream benchmark</name>

<prerequisites>
<maven>3.0</maven>
<maven>4.0</maven>
</prerequisites>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jmh.version>1.21</jmh.version>
<jmh.version>1.37</jmh.version>
<javac.target>1.8</javac.target>
<uberjar.name>benchmarks</uberjar.name>
</properties>
Expand Down

0 comments on commit e3bf0b0

Please sign in to comment.