Skip to content

Conversation

@FrancescAlted
Copy link
Member

With this patch, the runtime when using latest pytest (9.x), the time is quite contained:

8193 passed, 7465 deselected in 101.11s (0:01:41)

which is pretty close the time for using 1 thread for all tests in tests/ndarray (95 sec in my box).

Using 2 threads combines testing the multithreading with contained run times for the test suite.

Closes #535

Copy link
Collaborator

@lshaw8317 lshaw8317 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FrancescAlted FrancescAlted merged commit f7a18e6 into main Nov 28, 2025
15 checks passed
@FrancescAlted FrancescAlted deleted the set_nthreads_tests branch November 28, 2025 15:23
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.

Using pytest >= 8 more than doubles test execution time

3 participants