All Projects → niutech → Vue In Web Worker

niutech / Vue In Web Worker

Vue.js in Web Worker

Projects that are alternatives of or similar to Vue In Web Worker

Hamsters.js
100% Vanilla Javascript Multithreading & Parallel Execution Library
Stars: ✭ 517 (+246.98%)
Mutual labels:  web-worker
Flexsearch
Next-Generation full text search library for Browser and Node.js
Stars: ✭ 8,108 (+5341.61%)
Mutual labels:  web-worker
Webworkify Webpack
launch a web worker at runtime that can require() in the browser with webpack
Stars: ✭ 105 (-29.53%)
Mutual labels:  web-worker
Thread
Simply, lightweight and easy multi-thread JavaScript library
Stars: ✭ 17 (-88.59%)
Mutual labels:  web-worker
Hotcold
Smart touch typing learning with instant key glow indications, live statistics, live graphs and dynamic course creation.
Stars: ✭ 12 (-91.95%)
Mutual labels:  web-worker
Assassin
Assassin is a decentralized database that uses background threads to kill slow JavaScript.
Stars: ✭ 57 (-61.74%)
Mutual labels:  web-worker
Workerize
🏗️ Run a module in a Web Worker.
Stars: ✭ 4,134 (+2674.5%)
Mutual labels:  web-worker
Worker Plugin
👩‍🏭 Adds native Web Worker bundling support to Webpack.
Stars: ✭ 1,840 (+1134.9%)
Mutual labels:  web-worker
System dashboard
Boilerplate project - Cross-Platform System Dashboard using Flask, React, Mobx and Web-Workers
Stars: ✭ 13 (-91.28%)
Mutual labels:  web-worker
Threads.js
🧵 Make web workers & worker threads as simple as a function call.
Stars: ✭ 1,328 (+791.28%)
Mutual labels:  web-worker
Defiant.js
http://defiantjs.com
Stars: ✭ 907 (+508.72%)
Mutual labels:  web-worker
Montecarlo
Portfolio simulation running in a OCaml web worker
Stars: ✭ 10 (-93.29%)
Mutual labels:  web-worker
Sobel
Sobel Filter algorithm in JavaScript.
Stars: ✭ 69 (-53.69%)
Mutual labels:  web-worker
React Native Threads
Create new JS processes for CPU intensive work
Stars: ✭ 527 (+253.69%)
Mutual labels:  web-worker
Pokemon63
「みんなの63 - スクリーンショットから自動解析できるポケモンの選出投稿サイト」のソースコード
Stars: ✭ 107 (-28.19%)
Mutual labels:  web-worker
Greenlet
🦎 Move an async function into its own thread.
Stars: ✭ 4,511 (+2927.52%)
Mutual labels:  web-worker
Angular2 Web Worker
Web worker for Angular 2
Stars: ✭ 53 (-64.43%)
Mutual labels:  web-worker
Vuex Search
Vuex binding for client-side search with indexers and Web Workers 📗🔍
Stars: ✭ 147 (-1.34%)
Mutual labels:  web-worker
Stockroom
🗃 Offload your store management to a worker easily.
Stars: ✭ 1,745 (+1071.14%)
Mutual labels:  web-worker
Webworker Promise
Promise based wrapper for webworkers
Stars: ✭ 77 (-48.32%)
Mutual labels:  web-worker

Vue.js in Web Worker

This is a starter app of Vue.js working in Web Worker using WorkerDOM, bundled by Rollup.js. This allows Vue.js to offload its work to a background thread and send updates back to the main thread asyncronously, which should greatly increase rendering performance. See this blog post for details.

Benchmarks

Compare these rendering performance tests:

Developing

Develop you Vue.js app as always, using main.js as an entry point. In index.html, add a wrapper around #app pointing to main.js and inject worker-dom.js library like this:

<main src="dist/main.js">
  <div id="app"></div>
</main>
<script src="dist/worker-dom.js"></script>

Building

First run npm install to set up the project. To build the files in dest folder, run npm run build or rollup -c. Then start the local web server e.g. python -m http.server and go to http://localhost:8000. Your index.html page should load worker-dom.js, which should asynchronously fetch and load both worker.mjs and main.js modules into Web Worker.

License

© 2020 Jerzy Głowacki under Apache Lincese 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].