Tagged articles
bundle size
13 articles · Page 1 of 1
The article explains why Moment.js persists despite maintenance mode since 2020, shows how to audit its usage, and provides three migration paths — Day.js for minimal changes, date-fns for functional API, and native Intl for formatting-only needs — with concrete steps, plugin requirements, and bundle size comparisons.
Day.jsIntl APIJavaScript date handling
0 likes · 6 min read


21CTOJun 30, 2025 · Frontend Development
This article compares Tauri and Electron for building cross‑platform desktop applications, examining their architectural differences, benchmark results for startup time, memory usage and bundle size, and explains why the Hopp team ultimately chose Tauri for its low‑overhead Rust backend and native WebView approach.
ElectronRustTauri
0 likes · 10 min read

Tree shaking in React.js leverages ES6 static imports and named exports to eliminate dead code, reducing bundle size and improving load performance, while best practices such as modular design, avoiding side effects and dynamic imports ensure optimal dead‑code elimination across components and libraries.
ES6 ModulesReact.jsbundle size
0 likes · 7 min read

A 2024 analysis by Nikita Prokopov of uncompressed JavaScript file sizes across a range of popular websites shows sizes varying from a tiny 0.1 MB for jQuery to over 12 MB for heavyweight platforms like YouTube and Booking.com, highlighting the diversity of front‑end payloads.
JavaScriptWeb PerformanceWebsite Analysis
0 likes · 3 min read

es-toolkit is a modern JavaScript utility library that offers a tiny bundle—up to 97% smaller than lodash—built‑in TypeScript support, 100‑byte functions, and runtime performance that is 2‑3 times faster, with detailed size and speed benchmarks and installation guides for Node, Deno, and Bun.
JavaScriptTypeScriptbundle size
0 likes · 5 min read

In 2024, a survey of popular websites shows that uncompressed JavaScript bundle sizes vary widely—from as small as 0.2 MB for Wikipedia to over 12 MB for sites like YouTube and Booking.com—highlighting the importance of performance awareness in modern frontend development.
2024JavaScriptbundle size
0 likes · 4 min read

A 2024 survey of uncompressed JavaScript bundle sizes across various popular websites reveals that many sites far exceed the expected 1‑5 MB range, with static sites like Wikipedia at just 0.2 MB and multimedia giants like YouTube reaching 12 MB, highlighting the wide performance spectrum in modern web development.
JavaScriptWeb PerformanceWebsite Analysis
0 likes · 4 min read

The article details Baidu’s iOS bundle‑size reduction strategy by converting PNG/JPG assets to HEIC using macOS tools or ImageMagick, storing them in Asset Catalogs for iOS 10+ compatibility, handling alpha‑channel quirks, and employing combined static‑link‑map and runtime class‑initialization analysis to safely prune unused Objective‑C classes.
Dynamic AnalysisHEICUnused Class Detection
0 likes · 27 min read

This article examines why bundle size matters for front‑end performance and provides a step‑by‑step guide to reducing Webpack output by optimizing Babel polyfills, leveraging @babel/preset‑env, using @babel/runtime, applying tree‑shaking, and eliminating duplicate dependencies.
BabelFrontend OptimizationPolyfill
0 likes · 12 min read

This article explains how ByteDance's frontend monitoring SDK was systematically reduced in bundle size and runtime overhead through micro‑optimizations such as avoiding long class names, using functional patterns, minimizing polyfills, splitting files, leveraging Puppeteer‑based benchmarks, and applying requestIdleCallback scheduling to improve user experience on both web and mobile platforms.
SDKbenchmarkbundle size
0 likes · 19 min read

This article examines Svelte's key features—its compile‑time approach, lack of virtual DOM, and strong reactivity—compares its bundle size advantages over Vue and React, and details a real‑world mask‑machine H5 project that showcases setup, component structure, lifecycle, state management, routing, UI, testing, and performance optimizations.
Sveltebundle sizeperformance
0 likes · 12 min read

This article outlines practical webpack optimization methods—including bundle analysis, build‑time measurement, on‑demand loading, loader configuration, path resolution, source‑map handling, code compression, extracting common modules, CDN usage, and multi‑process builds—to improve page load speed, reduce bundle size, and enhance overall frontend performance.
Build Optimizationbundle sizefrontend
0 likes · 16 min read


21CTODec 20, 2017 · Frontend Development
This article evaluates popular front‑end frameworks by measuring real‑world performance, bundle size, and source‑code line counts using a medium‑scale blog project, providing practical insights to help developers choose the most suitable framework for their applications.
Frameworksbenchmarkbundle size
0 likes · 7 min read
