Skip to content

add scenario 2 benchmarks #73

add scenario 2 benchmarks

add scenario 2 benchmarks #73

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: install without tests
run: mvn -B install -DskipTests
- name: Build with Maven
run: mvn -B test
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B install -Pbenchmarks -DskipTests
- name: Run benchmarks
working-directory: ./arebac-neo4j
run: java -cp target/classes:target/test-classes:target/all-dependencies/*:target/arebac-neo4j-0.0.1-SNAPSHOT.jar org.openjdk.jmh.Main
benchmarks-graal:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up JDK
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
cache: maven
- name: Build with Maven
run: mvn -B install -Pbenchmarks -DskipTests
- name: Run benchmarks
working-directory: ./arebac-neo4j
run: java -cp target/classes:target/test-classes:target/all-dependencies/*:target/arebac-neo4j-0.0.1-SNAPSHOT.jar org.openjdk.jmh.Main