This example processes an stream of inputs using a TransformStream inside a page script. A small delay is added between each chunk using setTimeout, such that the page can be repainted after receiving a result. However, the page is still unresponsive while processing each chunk, since all processing happens on the main thread.

JANK METER