Skip to content
New issue

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

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

Already on GitHub? # to your account

[RFC] 0014 Task Workers #897

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

[RFC] 0014 Task Workers #897

wants to merge 14 commits into from

Conversation

RandomByte
Copy link
Member

@RandomByte RandomByte commented Nov 10, 2023

Concept for a new API provided to UI5 Tooling build tasks, enabling easy use of Node.js Worker Threads to execute CPU intensive operations outside of the main thread.

View rendered version

PoC: SAP/ui5-builder#955
JIRA: CPOUI5FOUNDATION-751

@RandomByte RandomByte changed the title Add RFC0014: Task Workers [RFC] 0014 Task Workers Nov 10, 2023
@flovogt flovogt added the RFC Request for Comment (pull request) label Nov 22, 2023
RandomByte added a commit to SAP/ui5-project that referenced this pull request Nov 26, 2023
RandomByte added a commit to SAP/ui5-builder that referenced this pull request Nov 26, 2023
@RandomByte RandomByte marked this pull request as ready for review November 27, 2023 13:37
```

**TODO:** Decide on configuration style. Option 1 does not allow for introducing additional per-processor configuration in the future (e.g. max CPU threads, priority, etc.)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find option 3 the most consistent one, as it has a very similar structure as the task itself, and order does not matter (right?), so there's no reason for option 2.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree and updated that part

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
RFC Request for Comment (pull request)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants