Skip to content
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

Speed-up dagre.Graph #1294

Closed
wants to merge 2 commits into from
Closed

Speed-up dagre.Graph #1294

wants to merge 2 commits into from

Conversation

beru
Copy link

@beru beru commented Jun 13, 2024

I've noticed that using Map instead of Object for node's predecessors and successors speeds-up the layouting time.

model Worker before (ddd5f6f) [ms] Worker after [ms]
retinanet_resnet50_fpn_v2_Opset18.onnx 1984 1073
yolov9-c.onnx 1045 697
yolov5n.onnx 184 145

(CPU : AMD Ryzen 9 7900X)

lutzroeder added a commit that referenced this pull request Jun 14, 2024
lutzroeder added a commit that referenced this pull request Jun 14, 2024
@lutzroeder lutzroeder closed this Jun 14, 2024
@beru beru deleted the perf_opt branch June 14, 2024 08:08
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.

None yet

2 participants