Cleanup the code. Disable warmup in fastdoubleparserdemo Main.java. #456
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: Java CI build and test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
java: [ 23 ] | |
arch: [ x64 ] | |
dist: [ zulu ] | |
fail-fast: false | |
max-parallel: 4 | |
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}, ${{ matrix.arch }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
architecture: ${{ matrix.arch }} | |
distribution: ${{ matrix.dist }} | |
- name: Show where Java Home is | |
run: echo JAVA_HOME=$JAVA_HOME | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots --errors package | |
- name: Performance Test canada.txt | |
run: java -XX:CompileCommand=inline,java/lang/String.charAt --enable-preview -p ~/.m2/repository/com/ibm/icu/icu4j/75.1/icu4j-75.1.jar:fastdoubleparserdemo/target:fastdoubleparser/target -m ch.randelshofer.fastdoubleparserdemo/ch.randelshofer.fastdoubleparserdemo.Main fastdoubleparserdemo/data/canada.txt | |
... |