3 repository-uri
Implementations of background threading to offload intensive tasks from the main execution thread.
Distinguishing note: Focuses on browser-based multi-threading for UI responsiveness.
Explore 3 awesome GitHub repositories matching web development · Parallel Processing Workers. Refine with filters or upvote what's useful.
Tesseract.js is a JavaScript library that provides optical character recognition capabilities directly within web browsers and Node.js environments. It functions as a client-side engine, enabling the conversion of images containing printed text into machine-readable strings without the need for external APIs or server-side infrastructure. The library distinguishes itself by running the original C++ optical character recognition engine within the browser through WebAssembly modules. To maintain interface responsiveness during intensive computation, it utilizes background threads for parallel p
Offloads heavy image analysis tasks to background threads to keep the main browser interface responsive during intensive computation.
Fuse is a JavaScript fuzzy search library and client-side search engine designed to index and query JSON data. It provides utilities for approximate string matching and ranking results by relevance, allowing applications to perform fast filtering and searching of datasets without a dedicated backend. The library distinguishes itself through a token-based search implementation that supports word-order independence and relevance weighting. It utilizes edit-distance scoring to handle typos and insertions, and employs a system of field weighting to prioritize matches in high-value data keys. The
Uses background workers to process search tasks, preventing the browser's main thread from freezing.
gif.js este un encoder GIF JavaScript și un cuantizator de culori client-side care generează fișiere GIF animate direct în browser-ul web. Acesta funcționează ca un exportator HTML5 canvas și procesor de imagini, permițând crearea de imagini animate din surse web fără a fi nevoie de un server backend. Biblioteca utilizează web workers pentru a descărca sarcinile grele de codificare a imaginilor către thread-uri de fundal, ceea ce previne înghețarea interfeței browser-ului în timpul procesului de generare. Această arhitectură permite instrumentului să acționeze ca un procesor de imagini web worker pentru generarea dinamică de imagini. Sistemul acoperă capabilități pentru conversia cadrelor video în GIF-uri și exportul animațiilor canvas. Include funcționalități pentru gestionarea temporizării cadrelor, configurarea proprietăților globale de ieșire, cum ar fi dimensiunile și numărul de bucle, și efectuarea cuantizării culorilor bazată pe paletă pentru a asigura compatibilitatea GIF.
Uses web workers to parallelize heavy encoding tasks and keep the browser UI responsive.