TerminalOutputTiming
One burst of output: writes that arrive with less than quietMs between them. All times are
performance.now() values in this window’s clock.
Properties
Section titled “Properties”desynchronized
Section titled “desynchronized”
readonlydesynchronized:boolean
The canvas presents without waiting for the browser’s compositor, as diagnostics.desynchronized.
drawnAt?
Section titled “drawnAt?”
readonlyoptionaldrawnAt?:number
When the first frame holding the last output was drawn: WebGPU commands submitted, WebGL or canvas draw calls issued, or DOM rows written. In a worker terminal, when the frame’s notice reached this window. Missing when no frame drew it, such as output that changed nothing visible.
firstOutputAt
Section titled “firstOutputAt”
readonlyfirstOutputAt:number
hidden
Section titled “hidden”
readonlyhidden:boolean
No frame drew this output because the terminal was hidden when it ended.
inputAt?
Section titled “inputAt?”
readonlyoptionalinputAt?:number
The last typed, pasted, mouse or sendInput input within inputWindowMs before this output began.
lastOutputAt
Section titled “lastOutputAt”
readonlylastOutputAt:number
presentation
Section titled “presentation”
readonlypresentation:NonNullable<TerminalPresentation|undefined>
presentedAt?
Section titled “presentedAt?”
readonlyoptionalpresentedAt?:number
When the browser finished the page update that carries the drawn frame: the first task after
that update. The display shows it at its next refresh. A desynchronized canvas can appear
before this. Missing in worker terminals and when drawnAt is missing.
rendererBackend
Section titled “rendererBackend”
readonlyrendererBackend:"webgpu"|"dom"|"canvas2d"|"webgl2"|undefined
writes
Section titled “writes”
readonlywrites:number