Skip to content

Commit 15f4288

Browse files
authored
Replace Speedometer with WebAI (#37)
Fix issue #26: - Add new logo.src.svg and favicon.src.svg and use their png version - Remove speedometer content from about.html - Replace "Speedometer" with "WebAI" - Change default color scheme to differentiate a bit more from Speedometer - More consistent main-page link button style
1 parent 0ab075f commit 15f4288

File tree

10 files changed

+193
-99
lines changed

10 files changed

+193
-99
lines changed

about.html

Lines changed: 2 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -3,94 +3,19 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="viewport" content="width=850" />
6-
<title>Speedometer About</title>
6+
<title>About</title>
77
<link rel="stylesheet" href="resources/main.css" />
88
<link rel="icon" href="resources/favicon.png" />
99
</head>
1010
<body>
1111
<main>
1212
<section id="about" class="visible" data-title="About">
1313
<a href="./" class="logo">
14-
<img srcset="resources/logo@2x.png 2x" src="resources/logo.png" alt="Speedometer" />
1514
<div class="version next">next</div>
1615
</a>
1716
<div class="section-grid">
18-
<h1 class="section-header">About Speedometer</h1>
17+
<h1 class="section-header">About WebAI Compute</h1>
1918
<div class="section-content">
20-
<p>Speedometer is a benchmark for web browsers that measures Web application responsiveness by timing simulated user interactions on various workloads.</p>
21-
<p>
22-
It's developed as an open source project, with decisions being made under a <a href="https://github.com/WebKit/Speedometer/blob/main/Governance.md">multistakeholder governance model</a> between the three widely distributed
23-
web browser engine projects.
24-
</p>
25-
<p>
26-
The following high level user journeys are implemented in the current version. Each of these journeys has one or more workloads which test important aspects of it — for example commonly used patterns, frameworks, or
27-
technologies.
28-
</p>
29-
<ul>
30-
<li>Working with a todo list</li>
31-
<ul>
32-
<li>Measures the time to add, complete, and remove 100 todo items in a basic list.</li>
33-
<li>Each example implements the same todo application (TodoMVC) using different techniques and frameworks.</li>
34-
<li>
35-
Workloads: <a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/vanilla-examples/javascript-es5" target="_blank">TodoMVC-JavaScript-ES5</a>,
36-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/vanilla-examples/javascript-es6-webpack-complex" target="_blank">TodoMVC-JavaScript-ES6-Webpack-Complex-DOM</a>,
37-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/vanilla-examples/javascript-web-components" target="_blank">TodoMVC-WebComponents</a>,
38-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/react-complex" target="_blank">TodoMVC-React-Complex-DOM</a>,
39-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/react-redux" target="_blank">TodoMVC-React-Redux</a>,
40-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/backbone" target="_blank">TodoMVC-Backbone</a>,
41-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/angular-complex" target="_blank">TodoMVC-Angular-Complex-DOM</a>,
42-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/vue" target="_blank">TodoMVC-Vue</a>,
43-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/jquery" target="_blank">TodoMVC-jQuery</a>,
44-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/preact-complex" target="_blank">TodoMVC-Preact-Complex-DOM</a>,
45-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/svelte-complex" target="_blank">TodoMVC-Svelte-Complex-DOM</a>,
46-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/todomvc/architecture-examples/lit-complex" target="_blank">TodoMVC-Lit-Complex-DOM</a>
47-
</li>
48-
</ul>
49-
<li>Editing rich text</li>
50-
<ul>
51-
<li>Loading and styling text inside WYSIWYG and code editors.</li>
52-
<li>
53-
Workloads: <a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/editors" target="_blank">Editor-CodeMirror</a>,
54-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/editors" target="_blank">Editor-TipTap</a>
55-
</li>
56-
</ul>
57-
<li>Rendering charts</li>
58-
<ul>
59-
<li>Loading and interacting with SVG and canvas charts.</li>
60-
<li>
61-
Workloads: <a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/charts" target="_blank">Charts-observable-plot</a>,
62-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/charts" target="_blank">Charts-chartjs</a>,
63-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/react-stockcharts" target="_blank">React-Stockcharts-SVG</a>,
64-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/perf.webkit.org" target="_blank">Perf-Dashboard</a>
65-
</li>
66-
</ul>
67-
<li>Reading a news site</li>
68-
<ul>
69-
<li>Navigating across pages and interacting with a typical looking news site.</li>
70-
<li>
71-
Workloads: <a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/newssite/news-next" target="_blank">NewsSite-Next</a>,
72-
<a href="https://github.com/WebKit/Speedometer/tree/release/3.0/resources/newssite/news-nuxt" target="_blank">NewsSite-Nuxt</a>
73-
</li>
74-
</ul>
75-
</ul>
76-
77-
<p class="note"><strong>Notes about methodology</strong></p>
78-
<ul>
79-
<li>Although user-driven actions like mouse movements and keyboard input cannot be fully emulated in JavaScript, Speedometer does its best to faithfully replay a typical workload within the demo applications.</li>
80-
<li>To make the run time long enough to measure with the limited precision, we synchronously execute a large number of the operations, such as adding one hundred to-do items.</li>
81-
<li>
82-
Modern browser engines execute some work asynchronously as an optimization strategy to reduce the run time of synchronous operations. While returning control back to JavaScript execution as soon as possible is worth
83-
pursuing, the run time cost of such an asynchronous work should still be taken into a holistic measurement of web application performance. In addition, some JavaScript frameworks call into DOM APIs asynchronously as an
84-
optimization technique. Speedometer approximates the run time of this asynchronous work in the UI thread with a zero-second timer that is scheduled immediately after each execution of synchronous operations.
85-
</li>
86-
<li>Speedometer does not attempt to measure concurrent asynchronous work (e.g. in Web Workers).</li>
87-
<li>Speedometer should not be used as a way to compare the performance of different JavaScript frameworks.</li>
88-
<li>
89-
The goal of all workloads is to represent a scenario that could be found on the Web. Although all workloads strive to use patterns that are commonly used, some implementation details are Speedometer specific and should
90-
not be used as a guideline on how to implement and deploy a standalone app. For example, due to constraints within the test harness, workloads must not depend on a server infrastructure to function properly and are
91-
built as static files ahead of time.
92-
</li>
93-
</ul>
9419
</div>
9520
<div class="buttons section-footer">
9621
<div class="button-row">

index.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="viewport" content="width=850" />
6-
<title>Speedometer Next</title>
6+
<title>WebAI Compute Next</title>
77
<link rel="stylesheet" href="resources/main.css" />
88
<link rel="icon" href="resources/favicon.png" />
9+
<link rel="preload" as="image" href="resources/logo.png">
910
<script src="resources/main.mjs" type="module"></script>
1011
</head>
1112
<body>
1213
<main>
1314
<section id="home">
1415
<a href="#home" class="logo">
15-
<img srcset="resources/logo@2x.png 2x" src="resources/logo.png" alt="Speedometer" />
1616
<div class="version next">next</div>
1717
</a>
1818
<div class="content">
19-
<p>Speedometer is a browser benchmark that measures the responsiveness of Web applications. It uses demo web applications to simulate user actions such as adding to-do items.</p>
19+
<p>WebAI Benchmark.</p>
2020
<p id="screen-size-warning">
2121
<strong>
2222
Your browser window is too small. For most accurate results, please make the view port size at least <span id="min-screen-width">850px</span> by <span id="min-screen-height">650px</span>.<br />
@@ -29,15 +29,14 @@
2929
<button class="start-tests-button">Start Test</button>
3030
</div>
3131
<div class="button-row">
32-
<a href="about.html">About Speedometer</a>
33-
<a href="instructions.html">Test Instructions</a>
32+
<a class="button" href="about.html">About</a>
33+
<a class="button" href="instructions.html">Test Instructions</a>
3434
</div>
3535
</div>
3636
</section>
3737

3838
<section id="running">
3939
<a href="#home" class="logo">
40-
<img srcset="resources/logo@2x.png 2x" src="resources/logo.png" alt="Speedometer" />
4140
<div class="version next">next</div>
4241
</a>
4342
<div id="testContainer"></div>
@@ -52,7 +51,6 @@
5251

5352
<section id="summary" data-title="Results Summary" class="valid">
5453
<a href="#home" class="logo">
55-
<img srcset="resources/logo@2x.png 2x" src="resources/logo.png" alt="Speedometer" />
5654
<div class="version next">next</div>
5755
</a>
5856
<h1>Score</h1>
@@ -75,7 +73,6 @@ <h1>Score</h1>
7573

7674
<section id="details" data-title="Results Details">
7775
<a href="#home" class="logo">
78-
<img srcset="resources/logo@2x.png 2x" src="resources/logo.png" alt="Speedometer" />
7976
<div class="version next">next</div>
8077
</a>
8178
<div class="section-grid">
@@ -84,7 +81,7 @@ <h1 class="section-header">Detailed Results</h1>
8481
<div class="non-standard-params">
8582
<h2>Non-standard Parameters</h2>
8683
<p>
87-
Speedometer ran with non-standard parameters.<br />
84+
Benchmark ran with non-standard parameters.<br />
8885
The results are likely not comparable to default runs.
8986
</p>
9087
<table id="non-standard-params-table">

instructions.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="viewport" content="width=850" />
6-
<title>Speedometer Test Instructions</title>
6+
<title>Test Instructions</title>
77
<link rel="stylesheet" href="resources/main.css" />
88
<link rel="icon" href="resources/favicon.png" />
99
</head>
@@ -12,19 +12,18 @@
1212
<main>
1313
<section id="instructions" class="visible" data-title="Test Instructions">
1414
<a href="./" class="logo">
15-
<img srcset="resources/logo@2x.png 2x" src="resources/logo.png" alt="Speedometer" />
1615
<div class="version next">next</div>
1716
</a>
1817
<div class="section-grid">
19-
<h1 class="section-header">Speedometer General Instructions</h1>
18+
<h1 class="section-header">General Instructions</h1>
2019
<div class="section-content">
2120
<p>To get reasonably accurate results your device and browser need to be focused on the benchmark. Here are some basic instructions to allow that:</p>
2221
<ul class="compact">
2322
<li>Ensure you are running the latest stable browser version.</li>
2423
<li>Prefer using a separate clean browser profile — extensions and non-default browser settings can have a large impact on the score.</li>
2524
<li>Don't run any programs in the background.</li>
2625
<li>Restart the browser and close all other tabs and windows.</li>
27-
<li>Keep the Speedometer page focused and do not interact with the device while running the benchmark.</li>
26+
<li>Keep the page focused and do not interact with the device while running the benchmark.</li>
2827
<li>Keep your battery-powered device plugged into a charger.</li>
2928
<li>Some devices might need time to cool down between consecutive runs.</li>
3029
</ul>

resources/favicon.png

-594 Bytes
Loading

resources/favicon.src.svg

Lines changed: 59 additions & 0 deletions
Loading

resources/logo.png

-3.47 KB
Loading

0 commit comments

Comments
 (0)