Tagged articles
33 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Jan 2, 2026 · Frontend Development

Boost Web App Performance with Web Workers: A Practical Guide

This article explains how JavaScript's single‑threaded nature can freeze UI during heavy calculations and shows step‑by‑step how to offload work to Web Workers, integrate external libraries, configure build tools, and follow best practices for smooth, responsive web applications.

JavaScriptWeb DevelopmentWeb Workers
0 likes · 10 min read
Boost Web App Performance with Web Workers: A Practical Guide
JavaScript
JavaScript
Dec 31, 2025 · Frontend Development

Unlock Hidden Performance Gains in Front‑End Apps with Web Workers

Web Workers let JavaScript run heavy computations in background threads, freeing the main UI thread, boosting multi‑core utilization, and improving memory management, which together dramatically enhance front‑end performance for tasks like data processing, image filtering, media handling, and AI inference.

JavaScriptPerformance OptimizationWeb Workers
0 likes · 5 min read
Unlock Hidden Performance Gains in Front‑End Apps with Web Workers
JavaScript
JavaScript
Dec 7, 2025 · Frontend Development

Unlock Faster Frontend Performance with Underused Web Workers

Web Workers, an often‑overlooked browser API, let JavaScript run in background threads, freeing the main thread, leveraging multi‑core CPUs, and improving memory management, with practical use‑cases ranging from large data processing to image filtering and AI inference, dramatically boosting frontend responsiveness.

JavaScriptWeb Workersmultithreading
0 likes · 5 min read
Unlock Faster Frontend Performance with Underused Web Workers
JavaScript
JavaScript
Nov 16, 2025 · Frontend Development

Boost JavaScript Deserialization: Overcome JSON.parse Limits and Performance Bottlenecks

This article explains how JSON.parse and JSON.stringify work, outlines their performance, type, and security limitations, and presents practical strategies such as reviver functions, streaming parsers, binary formats, Web Workers, and incremental loading to achieve faster and safer JavaScript deserialization.

Binary FormatDeserializationJSON
0 likes · 6 min read
Boost JavaScript Deserialization: Overcome JSON.parse Limits and Performance Bottlenecks
JavaScript
JavaScript
Oct 30, 2025 · Frontend Development

Unlock Hidden Performance: How Web Workers Supercharge Frontend Apps

Web Workers, an often‑overlooked browser API, enable JavaScript to run heavy computations in background threads, freeing the main UI thread, boosting multi‑core utilization, improving memory management, and powering use‑cases such as big data processing, image filtering, AI inference, and encryption, dramatically enhancing frontend performance.

JavaScriptPerformance OptimizationWeb Workers
0 likes · 5 min read
Unlock Hidden Performance: How Web Workers Supercharge Frontend Apps
JavaScript
JavaScript
Oct 13, 2025 · Frontend Development

When JSON.parse Slows You Down: Faster Deserialization Strategies

This article explains how JSON.parse and JSON.stringify work, outlines their performance, type, and security limitations, and presents advanced techniques such as reviver functions, streaming parsers, binary formats, Web Workers, and incremental loading to achieve faster and safer JavaScript deserialization.

DeserializationJSONJavaScript
0 likes · 6 min read
When JSON.parse Slows You Down: Faster Deserialization Strategies
JavaScript
JavaScript
Oct 2, 2025 · Frontend Development

Unlock Hidden Performance: How Web Workers Supercharge Frontend Apps

This article explains why Web Workers, an often‑overlooked browser API, can free the main thread, leverage multi‑core CPUs, and improve memory management, offering concrete scenarios and code examples to dramatically boost JavaScript performance in modern front‑end applications.

JavaScriptPerformance OptimizationWeb Workers
0 likes · 5 min read
Unlock Hidden Performance: How Web Workers Supercharge Frontend Apps
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 3, 2025 · Frontend Development

10 Must‑Know Vue3 Tricks to Supercharge Your Frontend Projects

Discover ten practical Vue3 techniques—including shallowRef, shallowReactive, toRef/toRefs, watchPostEffect, v‑for keys, custom hooks, v‑model modifiers, keep‑alive, and Web Workers—that boost performance, simplify data handling, and enhance component development for modern frontend projects.

Component DesignReactivityVue3
0 likes · 15 min read
10 Must‑Know Vue3 Tricks to Supercharge Your Frontend Projects
JavaScript
JavaScript
May 21, 2025 · Fundamentals

Boost JavaScript Deserialization: When JSON.parse Falls Short and Faster Alternatives

While JSON.parse() and JSON.stringify() are the default methods for JavaScript data serialization, they can become performance bottlenecks and lack support for special types, so this guide explores their limitations and presents strategies such as reviver functions, streaming parsers, binary formats, Web Workers, and incremental loading to improve deserialization efficiency.

Binary FormatJSONJavaScript
0 likes · 6 min read
Boost JavaScript Deserialization: When JSON.parse Falls Short and Faster Alternatives
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 13, 2025 · Frontend Development

A Practical Guide to Using Web Workers for Front‑End Performance Optimization

This article introduces Web Workers as an HTML5 API for running background threads, explains their creation and communication mechanisms, provides a complete Fibonacci calculation demo with full source code, and discusses common pitfalls such as asynchronous postMessage behavior, data serialization, and proper thread termination.

HTML5JavaScriptWeb Workers
0 likes · 9 min read
A Practical Guide to Using Web Workers for Front‑End Performance Optimization
Code Mala Tang
Code Mala Tang
Jul 17, 2024 · Artificial Intelligence

Run Transformers.js in the Browser with Google’s window.ai – Live Demo

This article introduces how to use the JavaScript library transformers.js directly in the browser, leveraging Google’s built‑in window.ai models, outlines supported AI tasks, demonstrates a live demo, and provides the core implementation code for model loading, worker communication, and text generation.

Text GenerationTransformers.jsWeb Workers
0 likes · 5 min read
Run Transformers.js in the Browser with Google’s window.ai – Live Demo
vivo Internet Technology
vivo Internet Technology
Nov 8, 2023 · Frontend Development

Design and Performance Optimization of a Cross‑Tab Component in Vivo's Agile BI Visualization Platform

This article details the design evolution and performance optimization of Vivo's Agile BI cross‑tab component—from a jQuery prototype to a React‑based solution—highlighting worker‑offloaded preprocessing, virtual scrolling, and micro‑frontend integration that enable sub‑second rendering of massive data sets and match or surpass competing BI tools.

Cross TabData visualizationReact
0 likes · 16 min read
Design and Performance Optimization of a Cross‑Tab Component in Vivo's Agile BI Visualization Platform
Bilibili Tech
Bilibili Tech
Jun 9, 2023 · Artificial Intelligence

Implementing Face Blocking Danmaku Using Machine Learning in Browser

Liu Jun explains how Bilibili’s engineers replaced traditional pre‑processed SVG masks with a real‑time, browser‑based machine‑learning pipeline—using MediaPipe SelfieSegmentation, OffscreenCanvas, and Web Workers—to extract human contours and block faces in danmaku, achieving roughly 5 % CPU load on a 2020 M1 MacBook.

Face DetectionMediaPipeWeb Workers
0 likes · 9 min read
Implementing Face Blocking Danmaku Using Machine Learning in Browser
政采云技术
政采云技术
Apr 26, 2022 · Frontend Development

Understanding Web Workers, SharedWorker, and ServiceWorker in Frontend Development

This article explains the concepts, creation methods, communication APIs, debugging techniques, and typical use cases of ordinary Web Workers, SharedWorkers, and ServiceWorkers, illustrating how they enable multithreaded computation, cross‑tab data sharing, and offline caching to improve web performance and user experience.

Service WorkerSharedWorkerWeb Workers
0 likes · 13 min read
Understanding Web Workers, SharedWorker, and ServiceWorker in Frontend Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 15, 2022 · Frontend Development

Designing a Unified Browser Message Communication Library (rpc-shooter) with TypeScript Interfaces and JSON-RPC

This article explains how to build a versatile browser message‑communication library that works across iframes, Web Workers, ServiceWorkers, BroadcastChannel and other MessagePort‑like objects, using a unified interface design, TypeScript typings, event‑driven architecture and JSON‑RPC for reliable remote procedure calls.

JSON-RPCRPCWeb Workers
0 likes · 13 min read
Designing a Unified Browser Message Communication Library (rpc-shooter) with TypeScript Interfaces and JSON-RPC
WeChat Client Technology Team
WeChat Client Technology Team
Jan 14, 2022 · Frontend Development

How a Chromium‑Based Framework Bridges Mini‑Programs and PWA for Faster, Safer Apps

This article explains the design of a new Chromium‑based mini‑program framework that decouples from the main client, adopts Web features, integrates Node for richer JS APIs, implements custom XWeb Workers and sandboxing, and extends to games and cross‑platform SDKs, delivering higher performance and lower memory usage.

ChromiumNode IntegrationPWA
0 likes · 13 min read
How a Chromium‑Based Framework Bridges Mini‑Programs and PWA for Faster, Safer Apps
DeWu Technology
DeWu Technology
Dec 23, 2021 · Frontend Development

Canvas Performance Optimization Techniques

Canvas performance hinges on the number and size of drawn shapes, so optimizing by reducing draw‑calls, using layered or clipped rendering, and offloading heavy drawing to OffscreenCanvas or Web Workers can preserve frame rates and keep the UI responsive.

CanvasJavaScriptWeb Workers
0 likes · 15 min read
Canvas Performance Optimization Techniques
Alibaba Terminal Technology
Alibaba Terminal Technology
Jun 12, 2020 · Frontend Development

How to Optimize Front-End Memory Usage for Massive Map Annotations

This article explores front‑end memory challenges when rendering large numbers of map annotations, explains heap vs. stack storage, hash‑based object handling, TypedArray/DataView usage, shared memory with Web Workers, and provides performance test results and practical optimization recommendations.

Memory OptimizationWeb Workersfrontend
0 likes · 17 min read
How to Optimize Front-End Memory Usage for Massive Map Annotations
UC Tech Team
UC Tech Team
Oct 18, 2018 · Frontend Development

New Developer Features in Chrome 70: PWA Support on Windows, Credential Management API, and Named Workers

Chrome 70 introduces several developer‑focused enhancements including Windows desktop support for Progressive Web Apps, added public‑key certificate support in the Credential Management API, and the ability to assign names to Web Workers, along with other updates such as Web Bluetooth and reporting APIs.

Chrome70PWAWeb Workers
0 likes · 5 min read
New Developer Features in Chrome 70: PWA Support on Windows, Credential Management API, and Named Workers
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 20, 2018 · Frontend Development

Mastering Browser Processes, Threads, and the JavaScript Event Loop

This comprehensive guide walks you through browser multi‑process architecture, the relationship between processes and threads, the rendering pipeline, Web Workers, and the intricacies of JavaScript's single‑threaded execution and event‑loop mechanisms, providing a solid knowledge framework for front‑end developers.

BrowserJavaScriptWeb Workers
0 likes · 33 min read
Mastering Browser Processes, Threads, and the JavaScript Event Loop
Yuewen Technology
Yuewen Technology
Aug 8, 2018 · Frontend Development

How Frontend Zip Compression Can Boost Performance and Reduce Server Load

This article explores the history of ZIP, the challenges of exporting large Excel files from PHP front‑ends, and how using zip.js with HTML5 File API and web workers enables a half‑asynchronous, client‑side compression workflow, outlining its benefits, limitations, and practical considerations for frontend developers.

Web Workersasynchronous exportfrontend
0 likes · 12 min read
How Frontend Zip Compression Can Boost Performance and Reduce Server Load
Ctrip Technology
Ctrip Technology
Jun 22, 2017 · Frontend Development

Common Front‑End Data Exchange Methods and Their Use Cases with Code Examples

This article reviews various front‑end data exchange techniques—including HTTP methods, form encodings, AJAX, fetch, Server‑Sent Events, WebSocket, postMessage, and Web Workers—explaining when to use each, providing practical examples and code snippets for real‑world scenarios.

HTTPServer‑Sent EventsWeb Workers
0 likes · 16 min read
Common Front‑End Data Exchange Methods and Their Use Cases with Code Examples
Java High-Performance Architecture
Java High-Performance Architecture
Feb 6, 2016 · Frontend Development

How Web Workers Unblock JavaScript: Solving the Single‑Threaded Bottleneck

This article explains why JavaScript’s single‑threaded nature can freeze the UI during heavy calculations like recursive Fibonacci, and demonstrates how using HTML5 Web Workers moves such tasks to background threads, keeping the interface responsive and allowing multiple workers for intensive operations.

AsynchronousJavaScriptWeb Workers
0 likes · 3 min read
How Web Workers Unblock JavaScript: Solving the Single‑Threaded Bottleneck