JavaScript budget
Pixel 02Tune the parts. Turn every goal green.
- Traffic
- 20 req/s · reads only
- Limit
- Node API answers about 8,000 req/s
- Bill
- Node API32 USD/mo
32 of 200 USD/mo
Goals
Not tested yet
Phones on 4G at 9 Mbps open the shop app. The web server sends 1.5 MB of JavaScript, and a mid phone needs 1 s to parse and run each MB. The page is ready after 2.9 s at p99. Get it under 1.5 s. Tune only the payload factor and the compression level.
Calls per page: 20 · 18% of pages wait 2.0 s