Skip to content

Commit 1040de1

Browse files
committed
Move JHM Binary Tree to native-image/benchmark category
1 parent e1e43ee commit 1040de1

File tree

11 files changed

+15
-1364
lines changed

11 files changed

+15
-1364
lines changed
Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,45 @@
1-
name: jmh/benchmark-binary-tree
1+
name: native-image/benchmark/jmh/binary-tree
22
on:
33
push:
44
paths:
5-
- 'jmh/benchmark-binary-tree/**'
6-
- '.github/workflows/jmh-binary-tree.yml'
5+
- 'native-image/benchmark/jmh/binary-tree/**'
6+
- '.github/workflows/native-image-jmh-binary-tree.yml'
77
pull_request:
88
paths:
9-
- 'jmh/benchmark-binary-tree/**'
10-
- '.github/workflows/jmh-binary-tree.yml'
9+
- 'native-image/benchmark/jmh/binary-tree/**'
10+
- '.github/workflows/native-image-jmh-binary-tree.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:
1414
permissions:
1515
contents: read
1616
jobs:
1717
build:
18-
name: GraalVM Binary Tree Benchmark
18+
name: JMH Binary Tree Benchmark
1919
runs-on: ubuntu-latest
2020
timeout-minutes: 45
21+
strategy:
22+
matrix:
23+
java-version: ['21', '24-ea']
2124
steps:
2225
- uses: actions/checkout@v4
2326
- uses: graalvm/setup-graalvm@v1
2427
with:
25-
java-version: '21.0.2'
28+
java-version: ${{ matrix.java-version }}
2629
distribution: 'graalvm'
2730
github-token: ${{ secrets.GITHUB_TOKEN }}
2831
- name: Build and Test Java Code
2932
run: |
30-
cd jmh/benchmark-binary-tree
31-
# build the Java code
33+
cd native-image/benchmark/jmh/binary-tree
34+
# Build the Java code
3235
./mvnw --no-transfer-progress clean package
33-
# build the native exe
36+
# Build the native executable
3437
./mvnw --no-transfer-progress -Pnative -DskipNativeTests package
3538
# Could just replace with a check that the binary exists?
3639
./target/benchmark-binary-tree
37-
# build and run the instrumented native exe
40+
# Build and run the instrumented native executable
3841
./mvnw --no-transfer-progress -Pinstrumented -DskipNativeTests package
3942
./target/benchmark-binary-tree-instr
40-
# build and run the optimised native exe
43+
# Build and run the optimized native executable
4144
./mvnw --no-transfer-progress -Poptimised -DskipNativeTests package
4245
./target/benchmark-binary-tree-opt

jmh/benchmark-binary-tree/.gitignore

Lines changed: 0 additions & 32 deletions
This file was deleted.

jmh/benchmark-binary-tree/.mvn/wrapper/maven-wrapper.properties

Lines changed: 0 additions & 18 deletions
This file was deleted.

jmh/benchmark-binary-tree/README.md

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)