WecTeam
Sep 27, 2019 · Backend Development
How We Reduced Server CPU Usage by 20% with Vue Render Function Optimizations
This article details how the MPM page rendering service at JD.com was profiled with v8‑profiler, identified heavy replace and compile calls, and applied string‑splitting, Vue transformCode hooks, and a custom lightweight compiler to cut CPU consumption by roughly 20%, improving stability during traffic spikes.
CPU profilingNode.jsPerformance Optimization
0 likes · 24 min read
