-
Notifications
You must be signed in to change notification settings - Fork 21
/
speedTest.html
40 lines (40 loc) · 1.5 KB
/
speedTest.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
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Enyo 2 Sampler Speed Test</title>
<link rel="shortcut icon" href="assets/favicon.ico"/>
<!-- -->
<meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="format-detection" content="telephone=no"/>
<meta name="google" value="notranslate"/>
<!-- enyo (debug) -->
<!-- css -->
<link href="build/enyo.css" rel="stylesheet"/>
<link href="build/app.css" rel="stylesheet"/>
<!-- js -->
<script src="consoleShim.js"></script>
<script src="build/enyo.js"></script>
<!-- disable DOM operations -->
<script src="disableEnyoDom.js"></script>
<!-- first benchmark: loading enyo library code and app code -->
<script>
enyo.log("Starting benchmarks...");
var total = enyo.dev.bench({name: "Total", autostart: true, logging: false, average: true});
enyo.log("Loading framework...");
var loadAndInit = enyo.dev.bench({name: "Framework Load & Initialize", autostart: true, logging: false, average: true});
</script>
<!-- application (debug) -->
<script src="build/app.js"></script>
<!-- end of first benchmark -->
<script>
loadAndInit.stop();
</script>
</head>
<body>
<script src="speedTest.js"></script>
</body>
</html>