Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make webworker-threads an optional dependency.
If WebWorker Threads is unavailable, use vm.createContext as a same-thread fallback as before. Initial micro-benchmark shows that threads offer 2x throughput even when concurrency=1.
- Loading branch information
Showing
6 changed files
with
513 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.