Performance Blog

学习 JavaScript 和 TypeScript 性能优化技术、最佳实践和真实案例

共 12 篇文章(包含中英文内容)

English精选
Performance

Debounce vs Throttle: Performance Optimization for Event Handling

Master debouncing and throttling techniques to optimize JavaScript event handlers. Learn the differences, when to use ea...

13 min read
javascriptdebouncethrottle
English精选
Performance

TypeScript vs JavaScript: Performance Comparison and Analysis

Comprehensive performance analysis of TypeScript vs JavaScript. Learn about runtime performance, compilation overhead, b...

13 min read
typescriptjavascriptperformance
English精选
Performance

Async/Await vs Promises: Performance Analysis and Best Practices

Deep dive into the performance differences between async/await and Promises in JavaScript. Learn when to use each patter...

11 min read
javascriptasyncpromises
English精选
Performance

JavaScript Bundle Size Optimization: Reduce Your App's Footprint

Complete guide to reducing JavaScript bundle size. Learn tree-shaking, code-splitting, dynamic imports, and compression ...

13 min read
javascriptbundle-sizeoptimization
English精选
Performance

React Performance: useMemo vs useCallback - When and How to Use Them

Master React performance optimization with useMemo and useCallback. Learn when to use each hook, avoid common pitfalls, ...

13 min read
reactperformanceusememo
English精选
Performance

Service Workers for Performance: Build Lightning-Fast Progressive Web Apps

Master Service Workers to create blazing-fast web applications. Learn caching strategies, offline functionality, backgro...

13 min read
service-workerspwaperformance
English精选
Performance

Web Workers: Boost JavaScript Performance with Multi-Threading

Learn how to use Web Workers to offload heavy computations and keep your UI responsive. Comprehensive guide with real-wo...

12 min read
javascriptweb-workersperformance
English
Performance Optimization

10 JavaScript Performance Optimization Techniques You Need to Know

Master essential JavaScript performance optimization techniques to make your web applications faster. Learn debouncing, ...

11 min read
javascriptperformanceoptimization
English精选
Performance

Array Methods Performance: map vs forEach vs for loop - Which is Fastest?

Comprehensive performance comparison of JavaScript array iteration methods. Learn when to use map, forEach, for loop, an...

15 min read
javascriptperformancearrays
English精选
Performance Testing

How to Measure JavaScript Performance: A Complete Guide

Learn the best practices for measuring JavaScript performance using browser APIs, performance testing tools, and real-wo...

7 min read
javascriptperformanceweb vitals
English精选
Performance Optimization

JavaScript Memory Leaks: Detection and Prevention

Learn how to detect and prevent memory leaks in JavaScript applications using Chrome DevTools, performance.memory API, a...

10 min read
javascriptmemory leaksperformance
中文精选
Performance

V8 内存管理原理深度解析

深入解析V8内存管理机制:涵盖对象分配策略、垃圾回收算法(Scavenge 标记清除、标记整理)、隐藏类优化及 JavaScript 性能最佳实践。...

27 min read
v8memory managementgarbage collection
博客 | Perf Lens | Perf Lens