Skip to content

testing: reduce cpp test cost - #2140

Open
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-cpptest
Open

testing: reduce cpp test cost#2140
lgritz wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-cpptest

Conversation

@lgritz

@lgritz lgritz commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

The rendering tests that are using the cpp debugging output are even more expensive then those without, and are also more serialized (both due to the fact that they have to shell out to invoke the C++ compiler).

Bump up their "cost" and reduce their core allocation (i.e. let other tests be more inclined to parallelize against them) in the hopes of speeding up testing, especially on the CI runners.

Also I noticed that the "render-.cpp" tests were running their "unoptimized" variants (in addition to opt), whereas the regular render- tests only run the optimized version. So fix so that we don't need to run the render-*.cpp unoptimized tests, saving more time.

The rendering tests that are using the cpp debugging output are even
more expensive then those without, and are also more serialized (both
due to the fact that they have to shell out to invoke the C++
compiler).

Bump up their "cost" and reduce their core allocation (i.e. let other
tests be more inclined to parallelize against them) in the hopes of
speeding up testing, especially on the CI runners.

Also I noticed that the "render-*.cpp" tests were running their
"unoptimized" variants (in addition to opt), whereas the regular
render-* tests only run the optimized version. So fix so that we don't
need to run the render-*.cpp unoptimized tests, saving more time.

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