frame budget

The time available to produce one frame, about 16.7 milliseconds at 60 frames per second, shared by your code and the browser's own work.

In more detail

The browser needs several milliseconds for style, layout and paint, so JavaScript should use far less than the whole budget. Exceeding it drops frames.

Related terms

Taught in

References