We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4a7b4c commit 442cd41Copy full SHA for 442cd41
1 file changed
tests/conftest.py
@@ -14,6 +14,14 @@
14
15
def pytest_configure(config):
16
blosc2.print_versions()
17
+ # Using the defaults for nthreads can be very time consuming for tests.
18
+ # Fastest runtime (95 sec) for the whole test suite (Mac Mini M4 Pro)
19
+ # blosc2.set_nthreads(1)
20
+ # Second best runtime (101 sec), but still contained, and
21
+ # actually tests multithreading.
22
+ blosc2.set_nthreads(2)
23
+ # This makes the worst time (242 sec)
24
+ # blosc2.set_nthreads(blosc2.nthreads) # worst runtime ()
25
26
27
@pytest.fixture(scope="session")
0 commit comments