blob: b72abae3f75c1be45586fb7b57d31c24138807bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>
Main frame for test browser_aboutperformance.js
</title>
</head>
<body>
<p>
Mostly empty document, the script creates a big array.
</p>
</body>
<script>
var big_array = [];
for (let i = 0; i < 4 * 1024 * 1024; i++) {
big_array[i] = i*i;
}
window.waitForTestReady = async () => {
// big_array is created so we are ready.
};
</script>
</html>
|