Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[profile.release]
debug = true
lto = "thin"
panic = "abort"

[profile.bench]
debug = true
Expand Down
Loading