The WebGLQuery interface is part of the WebGL 2 API and provides ways to asynchronously query for information.

MDN Reference