CPU timing summary for the last WebGPU frame rendered for one View.

interface WebGPUViewRenderCPUTimeStats {
    batchingMs: number;
    binningMs: number;
    commandEncodingMs: number;
    drawBatchMs: number;
    drawSubmissionMs: number;
    frameMs: number;
    prepareMs: number;
    renderBundleRecordMs: number;
    renderBundleReplayMs: number;
    renderPassEncodingMs: number;
    submitMs: number;
    triangleFillClassificationMs: number;
    uploadMs: number;
}

Properties

batchingMs: number

CPU time spent building per-view draw batches, in milliseconds.

binningMs: number

CPU time spent classifying renderable meshes into render bins, in milliseconds.

commandEncodingMs: number

CPU time spent encoding WebGPU commands, in milliseconds.

drawBatchMs: number

CPU time spent creating or updating packed draw-batch data, in milliseconds.

drawSubmissionMs: number

CPU time spent inside draw-operation batch submission, in milliseconds.

frameMs: number

Total CPU time spent preparing and rendering the frame, in milliseconds.

prepareMs: number

CPU time spent preparing render inputs before binning and batching, in milliseconds.

renderBundleRecordMs: number

CPU time spent recording WebGPU render bundles, in milliseconds.

renderBundleReplayMs: number

CPU time spent replaying WebGPU render bundles, in milliseconds.

renderPassEncodingMs: number

CPU time spent encoding render passes and post-process commands, in milliseconds.

submitMs: number

CPU time spent submitting encoded WebGPU commands, in milliseconds.

triangleFillClassificationMs: number

CPU time spent classifying triangle fill batches by draw technique, in milliseconds.

uploadMs: number

CPU time spent uploading changed GPU buffer data, in milliseconds.