ampproject / ampproject/worker-dom

Is there any chance to use thread pool?

Open
#1,099 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

If we can only use one work-thread, async/await may not be so useful. Using one work-thread for each individual work root might be wasting.Using multiple threads is not an urgent though. WASM is an option.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by tracing how work threads and individual work roots are currently handled, then investigate whether a thread pool or WASM approach fits the existing design. Done would require a decided, implemented approach for using multiple threads, with its behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, wasm
Domain
performance, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.