Skip to content

Severe slowdown in scipy.stats.pearsonr calls when using Dask (via result_caching) #241

@BKHMSI

Description

@BKHMSI

When the dask library is installed as a dependency (through the result_caching module, see here), calls to scipy.stats.pearsonr become significantly slower. This slowdown notably impacts performance during ceiling calculations, which rely on result_caching. Removing or bypassing dask in this workflow returns pearsonr to its expected speed. We need to investigate why dask is causing this overhead and how to mitigate it without sacrificing functionality in result_caching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions