3 个仓库
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 是一个 JavaScript GIF 编码器和客户端颜色量化器,可在 Web 浏览器中直接生成动画 GIF 文件。它充当 HTML5 Canvas 导出器和图像处理器,允许从 Web 资源创建动画图像,而无需后端服务器。 该库利用 Web Workers 将繁重的图像编码任务卸载到后台线程,这防止了浏览器用户界面在生成过程中冻结。这种架构使该工具能够充当用于动态图像生成的 Web Worker 图像处理器。 该系统涵盖了将视频帧转换为 GIF 和导出 Canvas 动画的功能。它包括管理帧计时、配置全局输出属性(如尺寸和循环次数)以及执行基于调色板的颜色量化以确保 GIF 兼容性的功能。
Uses web workers to parallelize heavy encoding tasks and keep the browser UI responsive.