Skip to content

Speedup tests by putting physical devices in a map#1752

Merged
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:speedup_tests
Aug 6, 2025
Merged

Speedup tests by putting physical devices in a map#1752
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:speedup_tests

Conversation

@charles-lunarg

Copy link
Copy Markdown
Collaborator

Requires extensive modifications to the tests since previously many tests accessed the physical device array directly.

The CreateDevice.ConsecutiveCreate test on linux-arm was taking +180s, with this PR only takes ~20s. 6x isn't a bad uplift (even if it is because of some naive test framework code being the culprit).

Requires extensive modifications to the tests since previously many tests accessed
the physical device array directly.
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 502803.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 502820.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3143 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3143 passed.

@charles-lunarg charles-lunarg merged commit 07aa865 into KhronosGroup:main Aug 6, 2025
45 checks passed
@charles-lunarg charles-lunarg deleted the speedup_tests branch August 6, 2025 14:38
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.

2 participants