You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
On my MacBook Pro with 10 cores I see that only 4 of them are used. I guess this is because the number of workers is not configurable and set to a fixed 4. This should be configurable or at least use the number of CPU cores as a default.
Ok, I can see why making it configurable is a tough one since a companion object is used for that nice CoroutineWorker.execute() API. So I focused on just using the processor count as default for the workers on Apple targets.
StefanOltmann
changed the title
Make the number of workers configurable
The number of workers should default to the number of processors rather than a fixed 4
Jun 16, 2022
On my MacBook Pro with 10 cores I see that only 4 of them are used. I guess this is because the number of workers is not configurable and set to a fixed
4
. This should be configurable or at least use the number of CPU cores as a default.coroutineworker/src/nativeMain/kotlin/com/autodesk/coroutineworker/CoroutineWorker.kt
Line 50 in 57752c4
The text was updated successfully, but these errors were encountered: