From fb5b85d0b28b882320e06de0b63e108119dbe0ad Mon Sep 17 00:00:00 2001 From: Lesia Chaban Date: Tue, 5 Dec 2023 11:59:23 +0200 Subject: [PATCH 1/2] Update Simple Java Stream Benchmark Demo --- .github/workflows/java-simple-stream-benchmark.yml | 2 +- java-simple-stream-benchmark/README.md | 4 ++-- java-simple-stream-benchmark/pom.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/java-simple-stream-benchmark.yml b/.github/workflows/java-simple-stream-benchmark.yml index 058d940f0..b642936de 100644 --- a/.github/workflows/java-simple-stream-benchmark.yml +++ b/.github/workflows/java-simple-stream-benchmark.yml @@ -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 diff --git a/java-simple-stream-benchmark/README.md b/java-simple-stream-benchmark/README.md index 12f20ffef..a8da7dc8b 100644 --- a/java-simple-stream-benchmark/README.md +++ b/java-simple-stream-benchmark/README.md @@ -7,9 +7,9 @@ This repository contains the code for a demo application for [GraalVM](graalvm.o ## 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: diff --git a/java-simple-stream-benchmark/pom.xml b/java-simple-stream-benchmark/pom.xml index 307f0e06b..dfdb132f9 100644 --- a/java-simple-stream-benchmark/pom.xml +++ b/java-simple-stream-benchmark/pom.xml @@ -35,12 +35,12 @@ questions. Simple Java stream benchmark - 3.0 + 4.0 UTF-8 - 1.21 + 1.37 1.8 benchmarks From eecacd4368219b8dd2e34e82fedd9124b685ead4 Mon Sep 17 00:00:00 2001 From: Olya Gupalo Date: Wed, 6 Dec 2023 17:06:05 +0100 Subject: [PATCH 2/2] Minor update --- java-simple-stream-benchmark/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-simple-stream-benchmark/README.md b/java-simple-stream-benchmark/README.md index a8da7dc8b..1a83c0886 100644 --- a/java-simple-stream-benchmark/README.md +++ b/java-simple-stream-benchmark/README.md @@ -1,9 +1,9 @@ # 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