measure until immediately after render, not allowing the browser the “variable time” to GC/paint