Manual-sync mirror of chromium.googlesource.com/external/github.com/WebKit/Speedometer.git
Find a file
Camillo Bruni 9384787e42 Add debug features
- Subdomain running options:
  - hosted: using `-$ITER` subdomain suffix
  - local: using increasing port numbers
- Add measure prepare phase for "loading" style metric
- Move the warmup suite to the main config
- Display all top level metrics directly in the details view


The subdomain runner works by the outer default runner communicating
with the inner (embedded) runner via postMessage. There are 2 new
runners

- SubdomainBenchmarkRunner: the outer runner
- EmbeddedBenchmarkRunner: the inner runner

The main page switches over to the SubdomainBenchmarkRunner if the
corresponding param is set.
The EmbeddedBenchmarkRunner is then used by setting `?embedded` and
we end up with double wrapped workload (easy right...):

  SubdomainBenchmarkRunner:
    iframe:
      EmbeddedBenchmarkRunner:
        iframe:
           Suite

This approach doesn't require changing the current workloads and we
can still easily measure framework setup time. Hopefully this can
be cleaned up in the future by refactoring the runner.

Change-Id: Ib813e8d83fd164fb2849b6889f187c1904b21965
2024-03-28 07:22:47 +00:00
.github/workflows Fix Cross-platform issue with npm script (#397) 2024-03-07 01:41:02 -08:00
resources Add debug features 2024-03-28 07:22:47 +00:00
tests Fix Cross-platform issue with npm script (#397) 2024-03-07 01:41:02 -08:00
.eslintignore Remove tentative from the prettier and eslint ignore lists 2024-01-23 14:07:58 +01:00
.eslintrc Add root: true to the top level eslint configuration file 2024-01-23 14:07:58 +01:00
.gitignore Add Web Components and LIT versions of Complex-DOM TodoMVC (#285) 2023-09-06 09:23:41 -07:00
.npmrc Dev setup (#55) 2023-01-30 14:52:46 -08:00
.prettierignore Remove tentative from the prettier and eslint ignore lists 2024-01-23 14:07:58 +01:00
.prettierrc Add Eslint & Prettier (#57) 2023-02-08 13:53:53 -08:00
about.html Update about.html to link to each test's GitHub directories instead of directly linking to README.md files. (#384) 2024-02-29 17:56:23 -08:00
babel.config.json Ember - Step 2 - format from root / cleanup (#119) 2023-03-30 18:13:18 +02:00
Development.md Add Eslint & Prettier (#57) 2023-02-08 13:53:53 -08:00
Governance.md Add Eslint & Prettier (#57) 2023-02-08 13:53:53 -08:00
index.html Add debug features 2024-03-28 07:22:47 +00:00
instructions.html Update General Instructions (#377) 2024-02-27 10:50:10 +01:00
InteractiveRunner.html Add a meta viewport tag so that the viewport ias always the same size on all mobile browsers (#183) 2023-05-24 10:52:02 -07:00
LICENSE Update license dates, add Microsoft (#393) 2024-03-05 12:09:16 -08:00
package-lock.json Npm audit fix (#360) 2024-01-30 14:28:55 -08:00
package.json Fix Cross-platform issue with npm script (#397) 2024-03-07 01:41:02 -08:00
README.md run format command from root (#387) 2024-03-01 16:53:11 -05:00
Testing.md Update Testing.md to include Microsoft Edge (#392) 2024-03-04 10:40:16 -08:00

What is Speedometer?

Speedometer is a benchmark for web browsers that measures Web application responsiveness by timing simulated user interactions on various workloads. Our primary goal is to make it reflect the real-world Web as much as possible. When a browser improves its score on the benchmark, actual users should benefit. In order to achieve this, it should:

  • Test end-to-end user journeys instead of testing specific features in a tight loop. Each test should exercise the full set of what’s needed from the engine in order for a user to accomplish a task.
  • Evolve over time, adapting to the present Web on a regular basis. This should be informed by current usage data, and by consensus about features which are important for engines to optimize to provide a consistent experience for users and site authors.
  • Be accessible to the public and useful to browser engineers. It should run in every modern browser by visiting a normal web page. It should run relatively quickly, while providing enough test coverage to be reflective of the real-world Web.