3 个仓库
Techniques for executing JavaScript in parallel using background threads.
Distinct from Parallel Task Spawning: Candidates focus on general task orchestration or build systems; this is specifically about browser-based thread parallelism.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Web Worker Parallelism. Refine with filters or upvote what's useful.
This project is a technical interview preparation resource focused on JavaScript. It provides a collection of common technical questions, detailed answers, and conceptual quizzes designed to help users master core language fundamentals and browser APIs. The resource utilizes an interactive infrastructure that includes a coding workspace with in-browser runtime execution and an automated test suite to validate code correctness. It organizes content through curated learning paths and modular concept mapping to decompose complex language fundamentals into searchable study modules. The curriculu
Teaches how to use Web Workers to perform heavy computations in parallel without blocking the UI.
Pica 是一个用于基于浏览器的图像缩放、格式转换和文件优化的客户端实用程序。它作为一个 Canvas 图像处理器,在 Canvas 元素、位图和 Blob 之间转换数据,以便在 Web 浏览器内进行本地操作。 该库通过使用 Lanczos 重采样的高质量缩小和多线程处理模型脱颖而出。它利用 Web Workers 将图像处理拆分为跨 CPU 核心的瓦片,以提高调整大小的速度。 该项目涵盖了广泛的图像操作功能,包括高质量缩放和用于边缘增强的非锐化掩码过滤。它支持多种输入格式,并提供用于将处理后的数据导出为二进制 Blob 对象的实用程序。为了在不导致浏览器崩溃的情况下处理大图像,该库采用了分块内存管理和瓦片处理技术。
Distributes image processing tasks across multiple CPU cores using background web worker threads.
Parallel.js is a JavaScript library for running computational tasks concurrently across background worker threads and multi-core environments in browsers and Node. It wraps web worker management into a framework that offloads heavy computations without blocking the main event loop. The library initializes parallel jobs by wrapping serializable data in memory and configuring worker threads, execution timeouts, and synchronous fallback behavior. It supports mapping functions across datasets and reducing dataset values to scalar results by distributing work across separate threads. Operations ex
Offloads heavy computations to background worker threads or multi-core environments in Node and browsers as a JavaScript parallel processing library.