-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (27 loc) · 1.37 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Long tasks playground</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<h1>Long tasks playground</h1>
<h3>Evaluation/Compilation long tasks</h3>
<p>Links below lead to the same app but with different chunk splitting mechanism.</p>
<ul>
<li><a href="/single-sync">Single huge chunk</a></li>
<li><a href="/split-sync">Multiple small chunks loaded synchronously</a></li>
<li><a href="/split-sync-yield">Multiple small chunks loaded synchronously but proactively yielding to main</a></li>
<li><a href="/split-sync-yield-func">Multiple small chunks loaded synchronously but proactively yielding to main, while content of the chunks is functions rather than immediately executed JS</a></li>
<li><a href="/split-async">Multiple small chunks loaded asynchronously</a></li>
<li><a href="/split-async-preload">Multiple small chunks loaded asynchronously and preloaded on html</a></li>
<li><a href="/single-file">No Webpack, just a single huge file with only one function invoked</a></li>
</ul>
<h3>Expensive computations long tasks</h3>
<ul>
<li><a href="/function">Inefficient useless function</a></li>
<li><a href="/loaf">No long tasks, yes long animation frame</a></li>
</ul>
</body>
</html>