Skip to content

Implement adaptive should_run policies based on graph characteristics to optimize parallel execution #157

@Adrija-verse

Description

@Adrija-verse

Problem
Currently, nx-parallel doesn't intelligently decide when parallelization is beneficial. This results in:

Wasted computational resources when parallel overhead exceeds any potential speedup
Suboptimal performance on small or dense graphs where sequential execution would be faster
Inconsistent user experience as speedup varies unpredictably across different graph types

Proposed Solution
Implement algorithm-specific should_run policies that dynamically determine whether to use parallelization based on graph characteristics and algorithm-specific heuristics.

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