Format and lint script fixes (#560)

- Ignore all node_modules folders
- fix "npm run lint:check"
3 files changed
tree: 26dd41b8467d36f947467381110dc9bab0587e8e
  1. .github/
  2. resources/
  3. suites/
  4. suites-experimental/
  5. tests/
  6. .eslintignore
  7. .eslintrc
  8. .gitignore
  9. .npmrc
  10. .prettierignore
  11. .prettierrc
  12. about.html
  13. babel.config.json
  14. Development.md
  15. Governance.md
  16. index.html
  17. instructions.html
  18. LICENSE
  19. netlify.toml
  20. package-lock.json
  21. package.json
  22. README.md
  23. Testing.md
README.md

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.

Score and Test Measurement

Each test can contain several steps who contributed to the test duration. Note that the prepare step of a test is unmeasured and thus does not contribute to the score. All following test steps are measured and summed up in the test step time.

Each step consists of the following phases:

Score

The final benchmark score is calculated based of the inverse of geomean of all tests. We average the score over multiple iterations with the arithmetic mean. By using the geomean to combine the test durations we maintain the invariant that relative improvements are favoured equally amongst all tests, even though they can have vastly different durations.