Skip to content

testing: speed up exr-decreasingy test#5121

Open
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-testspeed
Open

testing: speed up exr-decreasingy test#5121
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-testspeed

Conversation

@lgritz
Copy link
Copy Markdown
Collaborator

@lgritz lgritz commented Mar 30, 2026

This test did more than was really necessary. It resized a small image (twice) to get big images, but the contents didn't matter, so just using a gradient is good enough. Also, we can check results just by using the hash of the image contents, don't need to do extra idiff calls.

It's barely noticeable on a regular release build, since the whole test was only a couple seconds on my laptop and maybe 15 seconds on the GH runners. But for the CI "sanitize" test, this cuts about 30 seconds from this test! Every little bit helps, the sanitize tests are usually the last to complete in a CI run.

This test did more than was really necessary. It resized a small
image (twice) to get big images, but the contents didn't matter, so
just using a gradient is good enough. Also, we can check results
just by using the hash of the image contents, don't need to do
extra idiff calls.

It's barely noticeable on a regular release build, since the whole
test was only a couple seconds on my laptop and maybe 15 seconds on the
GH runnners. But for the CI "sanitize" test, this cuts about 30
seconds from this test! Every little bit helps, the sanitize tests
are usually the last to complete in a CI run.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant