Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.4.0, 1.5.0
-
None
-
None
Description
When there are massive tasks in the stage page (such as, running sc.parallelize(1 to 100000, 10000).count()), Event Timeline needs 15+ seconds to render the graph (drawTaskAssignmentTimeline) in my environment. The page is unresponsive until the graph is ready.
However, since Event Timeline is hidden by default, we can defer drawTaskAssignmentTimeline until page loaded to avoid freezing the page. So that the user can view the page while rendering Event Timeline in the background.
This PR puts drawTaskAssignmentTimeline into $(function(){}) to avoid blocking loading page.