Migrate Font constructor from bools to enums
[WebKit-https.git] / Websites / browserbench.org / Speedometer / Full.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5     <title>Speedometer 1.0</title>
6     <link rel="stylesheet" href="resources/main.css">
7     <script src="resources/main.js" defer></script>
8     <script src="resources/benchmark-runner.js" defer></script>
9     <script src="resources/benchmark-report.js" defer></script>
10     <script src="resources/statistics.js" defer></script>
11     <script src="resources/tests.js" defer></script>
12 </head>
13 <body>
14 <main>
15     <a id="logo-link" href="javascript:showHome()"><img id="logo" src="resources/logo.png"></a>
16
17     <section id="home" class="selected">
18         <p>
19             Speedometer is a browser benchmark that measures the responsiveness of Web applications.
20             It uses demo web applications to simulate user actions such as adding to-do items.
21         </p>
22         <p id="screen-size-warning"><strong>
23             Your browser window is too small. For most accurate results, please make the view port size at least 850px by 650px.<br>
24             It's currently <span id="screen-size"></span>.
25         </strong></p>
26         <div class="buttons">
27             <button onclick="startTest()">Start Test</button>
28         </div>
29         <p class="show-about"><a href="javascript:showAbout()">About Speedometer</a></p>
30     </section>
31
32     <section id="running">
33         <div id="testContainer"></div>
34         <div id="progress"><div id="progress-completed"></div></div>
35         <div id="info"></div>
36     </section>
37
38     <section id="summarized-results">
39         <h1>Runs / Minute</h1>
40         <div class="gauge"><div class="window"><div class="needle"></div></div></div>
41         <hr>
42         <div id="result-number"></div>
43         <div id="confidence-number"></div>
44         <div class="buttons">
45             <button onclick="startTest()">Test Again</button>
46             <button class="show-details" onclick="showResultDetails()">Details</button>
47         </div>
48     </section>
49
50     <section id="detailed-results">
51         <h1>Detailed Results</h1>
52         <table class="results-table"></table>
53         <table class="results-table"></table>
54         <div class="arithmetic-mean"><label>Arithmetic Mean:</label><span id="results-with-statistics"></span></div>
55         <div class="buttons">
56             <button onclick="startTest()">Test Again</button>
57             <button id="show-summary" onclick="showResultsSummary()">Summary</button>
58         </div>
59         <p class="show-about"><a href="javascript:showAbout()">About Speedometer</a></p>
60     </section>
61
62     <section id="about">
63         <h1>About Speedometer</h1>
64
65         <p>Speedometer measures simulated user interactions in web applications.</p>
66
67         <p>
68             The current benchmark uses TodoMVC to simulate user actions for adding, completing, and removing to-do items.
69             Speedometer repeats the same actions using DOM APIs &mdash;
70             a core set of web platform APIs used extensively in web applications &mdash;
71             as well as six popular JavaScript frameworks: Ember.js, Backbone.js, jQuery, AngularJS, React, and Flight.
72             Many of these frameworks are used on the most popular websites in the world, such as Facebook and Twitter.
73             The performance of these types of operations depends on the speed of the DOM APIs, the JavaScript engine,
74             CSS style resolution, layout, and other technologies.
75         </p>
76
77         <p>
78             Although user-driven actions like mouse movements and keyboard input cannot be accurately emulated in JavaScript,
79             Speedometer does its best to faithfully replay a typical workload within the demo applications.
80             To make the run time long enough to measure with the limited precision,
81             we synchronously execute a large number of the operations, such as adding one hundred to-do items.
82         </p>
83
84         <p>
85             Some browser engines use an optimization strategy of doing some work asynchronously to reduce the run time of synchronous operations.
86             While returning control back to JavaScript execution as soon as possible is worth pursuing,
87             a holistic, accurate measurement of web application performance involves measuring
88             when these related, asynchronous computations actually complete.
89             Thus, Speedometer measures the time browser spends executing those asynchronous tasks in Speedometer,
90             estimated as the time between when a zero-second delay timer is scheduled and when it is fired.</p>
91
92         <p class="note">
93             <strong>Note:</strong> Speedometer is not meant to compare the performance of different JavaScript frameworks.
94             The mechanism we use to simulate user actions is different for each framework,
95             and we’re forcing frameworks to do more work synchronously than needed in some cases to ensure run time can be measured.
96         </p>
97     </section>
98 </main>
99 </body>
100 </html>