Main-thread blocking time occurs when a long task runs on the main thread for over 50ms.