https://github.com/tangbc/worker-transferable-perfs
🚀 Simple demo to feel the excellent performance of Transferable in Web Workers.
https://github.com/tangbc/worker-transferable-perfs
Last synced: 8 months ago
JSON representation
🚀 Simple demo to feel the excellent performance of Transferable in Web Workers.
- Host: GitHub
- URL: https://github.com/tangbc/worker-transferable-perfs
- Owner: tangbc
- Created: 2019-09-08T02:18:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-08T02:33:33.000Z (almost 7 years ago)
- Last Synced: 2025-01-13T14:52:36.422Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://tangbc.github.io/worker-transferable-perfs/.
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## worker-transferable-perfs
A simple demo to feel the power of Transferable in Web Workers.
## Run in local
```bash
git clone https://github.com/tangbc/worker-transferable-perfs.git
cd worker-transferable-perfs
npm install
npm run server
```
Open `http://localhost:8090` in browser.
## Reference & thanks
https://developer.mozilla.org/en-US/docs/Web/API/Transferable
https://developers.google.com/web/updates/2011/12/Transferable-Objects-Lightning-Fast
https://stackoverflow.com/questions/16071211/using-transferable-objects-from-a-web-worker