10 repository-uri
Tools for offloading tasks to background threads.
Explore 10 awesome GitHub repositories matching part of an awesome list · Web Worker Management. Refine with filters or upvote what's useful.
Partytown is a main thread performance optimizer and web worker script orchestrator. It functions as a third party script offloader that relocates resource-intensive external JavaScript from the browser's main thread into a sandboxed web worker environment. The project focuses on improving core web vitals and overall page responsiveness by reducing main thread blocking time. This isolation ensures that heavy third party scripts do not interfere with the execution of core application code and page loading speed. The system provides infrastructure for client-side script offloading through DOM
Relocating third-party scripts to web workers.
Comlink is a remote procedure call library that transforms message-based communication into asynchronous function calls between the main thread and web workers. It provides a proxy-based interface that allows multiple threads to interact with a single object instance without manual message handling. The project enables the execution of functions across separate browser windows, iframes, and web workers, making external calls behave like local asynchronous operations. It supports the transfer of non-cloneable data through custom serialization handlers and allows for the movement of ownership f
Simplifying postMessage communication with workers.
Greenlet este un executor asincron multi-threaded și un runner de sarcini pentru web workers. Servește ca wrapper de execuție care descarcă sarcinile computaționale grele către worker-i de fundal pentru a menține responsivitatea interfeței utilizator și a preveni blocarea thread-ului principal de execuție. Proiectul include un handler de obiecte transferabile conceput pentru a muta buffere mari de date între thread-uri. Acest mecanism evită overhead-ul copierii memoriei pentru a optimiza transferul de date. Biblioteca acoperă gestionarea web worker-ilor, facilitând izolarea sarcinilor asincrone și descărcarea thread-ului principal.
Moving async functions to separate threads.
Workerize este un încărcător de module web worker și un instrument de offloading pentru thread-ul principal. Funcționează ca un wrapper proxy asincron care permite modulelor JavaScript să ruleze în background workers, prevenind înghețarea UI-ului browserului prin delegarea sarcinilor computaționale costisitoare către thread-uri separate. Proiectul utilizează o interfață bazată pe proxy pentru a apela funcții în interiorul unui background worker ca și cum ar fi apeluri asincrone locale. Acest mecanism permite execuția modulelor în worker-i paraleli pentru a menține responsivitatea thread-ului principal. Sistemul acoperă execuția asincronă a modulelor și integrarea web worker, concentrându-se pe optimizarea thread-ului principal prin mutarea logicii grele în afara thread-ului de execuție primar.
Automatically moving modules into web workers.
threads.js is a JavaScript worker thread library and asynchronous task orchestrator designed to offload CPU-intensive tasks to background threads. It functions as a cross-platform worker pool and a TypeScript worker runner that automatically transpiles and executes TypeScript files within separate threads. The project distinguishes itself by providing a unified worker API that allows for cross-platform execution across different JavaScript environments. It includes a specialized worker data serialization tool to pass complex class instances and binary data between threads, and supports inlini
Uniform API for worker threads.
The same DOM API and Frameworks you know, but in a Web Worker.
Running DOM APIs within a web worker.
Offload tasks to a pool of workers on node.js and in the browser
Managing pools of workers.
A really simple way to move a function or class to a web worker. 🏋️♀️→ 😄
Moving functions or classes to web workers.
🗃 Offload your store management to a worker easily.
Offloading store management to workers.
Clooney is an actor library for the web. Use workers without thinking about workers.
Actor library for web workers.