3 repositorios
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 es un codificador de GIF en JavaScript y cuantificador de color del lado del cliente que genera archivos GIF animados directamente dentro del navegador web. Funciona como un exportador de canvas HTML5 y procesador de imágenes, permitiendo la creación de imágenes animadas desde fuentes web sin necesidad de un servidor backend. La biblioteca utiliza web workers para descargar tareas pesadas de codificación de imágenes a hilos en segundo plano, lo que evita que la interfaz de usuario del navegador se congele durante el proceso de generación. Esta arquitectura permite que la herramienta actúe como un procesador de imágenes web worker para la generación dinámica de imágenes. El sistema cubre capacidades para convertir fotogramas de video a GIFs y exportar animaciones de canvas. Incluye funcionalidad para gestionar el tiempo de los fotogramas, configurar propiedades de salida globales como dimensiones y conteos de bucle, y realizar cuantificación de color basada en paleta para garantizar la compatibilidad con GIF.
Uses web workers to parallelize heavy encoding tasks and keep the browser UI responsive.