diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0a63939e2..b27f2d0b9 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -254,14 +254,23 @@ jobs: - name: Install jxl-perfhistory run: cargo install --git https://github.com/zond/jxl-perfhistory - - name: Select a few test images + - name: Select benchmark corpus id: select-images run: | - mkdir testimages - cp jxl/resources/test/conformance_test_images/sunset_logo.jxl testimages - cp jxl/resources/test/conformance_test_images/bike.jxl testimages - cp jxl/resources/test/green_queen_modular_e3.jxl testimages - cp jxl/resources/test/green_queen_vardct_e3.jxl testimages + mkdir -p testimages + + # Keep this aligned with the autoresearch image set so CI numbers stay + # comparable while avoiding benchmark timeouts. + cp jxl/resources/test/conformance_test_images/sunset_logo.jxl testimages/sunset_logo.jxl + cp jxl/resources/test/conformance_test_images/bike.jxl testimages/bike.jxl + cp jxl/resources/test/green_queen_modular_e3.jxl testimages/green_queen_modular_e3.jxl + cp jxl/resources/test/green_queen_vardct_e3.jxl testimages/green_queen_vardct_e3.jxl + cp jxl/resources/test/conformance_test_images/bicycles.jxl testimages/bicycles.jxl + cp jxl/resources/test/conformance_test_images/delta_palette.jxl testimages/delta_palette.jxl + cp jxl/resources/test/conformance_test_images/lz77_flower.jxl testimages/lz77_flower.jxl + cp jxl/resources/test/conformance_test_images/patches.jxl testimages/patches_lossless.jxl + + echo "Selected $(find testimages -maxdepth 1 -name '*.jxl' | wc -l) images for benchmark" - name: Cache benchmark binaries uses: actions/cache@v4 diff --git a/Cargo.toml b/Cargo.toml index 4409589fa..8d53f406c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,7 @@ [profile.release] debug = true +lto = "thin" +panic = "abort" [profile.bench] debug = true