Add JMH benchmark to measure multi-producer batch publication performance. #114
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JCStress Testing - commit-level quick check | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 11, 17 ] | |
name: Java ${{ matrix.java }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up java | |
uses: actions/setup-java@v2 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'zulu' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew jcstress -Pmode=quick | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: jcstress-report-quick | |
path: build/reports/jcstress |