Expand description
How much the renderer can draw: each kind of work grows until a frame stops fitting.
The screens in scenes ask whether real screens are cheap; this asks where the renderer
itself becomes the bottleneck for whoever uses it. The time counted runs from handing the
scene over to the GPU having finished, because the GPU’s own clock is too coarse on short
passes, and because this is what a frame really has to fit in.
Structs§
Constants§
- BUDGET_
60 - A frame on a 60 Hz screen, in seconds.
- BUDGET_
120 - A frame on the 120 Hz screen, in seconds.
- LOADS
- Every kind of work measured, in the order reported.
Functions§
- drops_
from - The size at which shapes started being left out, for a load made of shapes.
- fits
- How much fits in
budgetseconds, between the sizes measured;Nonewhen all of it did.