3 Repos
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 ist ein JavaScript-GIF-Encoder und clientseitiger Farbquantisierer, der animierte GIF-Dateien direkt im Webbrowser generiert. Er fungiert als HTML5-Canvas-Exporter und Bildprozessor, der die Erstellung animierter Bilder aus Webquellen ohne die Notwendigkeit eines Backend-Servers ermöglicht. Die Bibliothek nutzt Web-Worker, um rechenintensive Bildkodierungsaufgaben auf Hintergrund-Threads auszulagern, was verhindert, dass die Benutzeroberfläche des Browsers während des Generierungsprozesses einfriert. Diese Architektur ermöglicht es dem Tool, als Web-Worker-Bildprozessor für die dynamische Bildgenerierung zu fungieren. Das System deckt Funktionen zur Konvertierung von Videoframes in GIFs und zum Exportieren von Canvas-Animationen ab. Es enthält Funktionalitäten zur Verwaltung von Frame-Timings, zur Konfiguration globaler Ausgabeeigenschaften wie Abmessungen und Schleifenzahlen sowie zur Durchführung einer palettenbasierten Farbquantisierung, um die GIF-Kompatibilität sicherzustellen.
Uses web workers to parallelize heavy encoding tasks and keep the browser UI responsive.