Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Improve thread utilization by fixing an incorrect capacity setting#15

Open
s417-lama wants to merge 1 commit intofarkhor:masterfrom
s417-lama:master
Open

Improve thread utilization by fixing an incorrect capacity setting#15
s417-lama wants to merge 1 commit intofarkhor:masterfrom
s417-lama:master

Conversation

@s417-lama
Copy link

I noticed that not all threads were working during graph generation.
This was because the per-thread capacity (standardCapacity variable) was incorrectly specified as the global capacity, which is shared by all threads.

This fix improved overall performance by about 3x in my use case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant