...

/

Multithread Processing

Multithread Processing

Learn how to measure our animation's performance by measuring our application's thread activity using the browser's devtools.

The main thread is responsible for a lot of things, such as layout and paint (in terms of UI) and also evaluating JavaScript. We want to keep this to a minimum to free up the main thread for our application to perform other tasks that do require the main thread.

How to check thread activity

We can use Chrome’s and Safari’s developer tools to test this metric, with each tool giving us a different but equally useful insight into it. ...