performance-profiling
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePerformance Profiling
性能分析(Performance Profiling)
Áreas
关注领域
- CPU — clinic.js, flame graphs
- Memoria — heap snapshots, memory leaks
- Base de datos — pg_stat_statements, EXPLAIN ANALYZE
- Bundle — análisis de tamaño
- Core Web Vitals — LCP, CLS, INP
- CPU — clinic.js、flame graphs
- 内存 — heap snapshots、内存泄漏
- 数据库 — pg_stat_statements、EXPLAIN ANALYZE
- 打包文件 — 大小分析
- Core Web Vitals — LCP、CLS、INP
Principio
原则
Medir primero, optimizar después.
先测量,再优化。
Cuándo activarme
触发场景
- "El endpoint X tarda demasiado"
- "La memoria sube sin parar"
- "El LCP es > 3s"
- "接口X响应时间过长"
- "内存持续攀升"
- "LCP 大于3秒"