Skip to content

ci: Try to reduce costs and timeouts for expensive tests in debug mode#5150

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

ci: Try to reduce costs and timeouts for expensive tests in debug mode#5150
lgritz wants to merge 1 commit intoAcademySoftwareFoundation:mainfrom
lgritz:lg-testspeed

Conversation

@lgritz
Copy link
Copy Markdown
Collaborator

@lgritz lgritz commented Apr 20, 2026

  • Fix setting and response of OIIO_CI -- it was less functional before than I had thought because we didn't actually define the symbol for compilation.

  • More aggressive cost reduction when combining CI + Debug builds, reduce resolution of some benchmarks, etc., in addition to reducing iterations as we had done before.

  • Mark the most expensive unit tests with a cost, so CTest knows to start them first. (more explanation below)

  • Add Testing/Temporary/CTestCostData.txt to the cache-save paths -- that preserves CTest's understanding of how much each test costs so it can schedule it more intellegently for the next run.

* Fix setting and response of OIIO_CI -- it was less functional before
  than I had thought because we didn't actually define the symbol for
  compilation.

* More aggressive cost reduction when combining CI + Debug builds,
  reduce resolution of some benchmarks, etc., in addition to reducing
  iterations as we had done before.

* Mark the most expensive unit tests with a cost, so CTest knows to
  start them first to maximize core efficiency.

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