Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The writeTimestamp() method of the GPUCommandEncoder interface encodes a command that writes a timestamp into a GPUQuerySet once the previous commands recorded into the same queued GPUCommandBuffer have been executed by the GPU.