Skip to content

Added the parallel implementation for triangles() in cluster.py in NetworkX #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

akshitasure12
Copy link
Contributor

@akshitasure12 akshitasure12 commented Apr 7, 2025

This PR introduces a parallelized implementation of triangles() from cluster.py in networkx.

Performance :

  1. across 6 cores
    image

  2. across 4 cores
    image

[EDIT] : The heatmap uploaded is for n_jobs=-1

@Schefflera-Arboricola Schefflera-Arboricola added the type: Enhancement New feature or request label Apr 8, 2025
@akshitasure12 akshitasure12 marked this pull request as ready for review April 13, 2025 18:43
@akshitasure12 akshitasure12 marked this pull request as draft June 6, 2025 11:04
@dschult dschult force-pushed the triangles-parallel branch from e1694ad to 258bd13 Compare June 6, 2025 11:45
@akshitasure12 akshitasure12 marked this pull request as ready for review June 6, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: Enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants