Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Simple Java Stream Benchmark Demo #217

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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