Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
camillobruni committed Jan 7, 2025
1 parent f8eca57 commit 6844b2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ benchmark, actual users should benefit. In order to achieve this, it should:
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
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.

<img src="./resources/measurement-timeline.svg" />

Each step consists of the following phases:

<dl>
<dt>Sync:</dt>
<dd>Time spent in synchronous JS execution.</dd>
Expand All @@ -35,4 +35,4 @@ Each step consists of the following phases:

The final benchmark score is calculated based of the inverse of [geomean](https://en.wikipedia.org/wiki/Geometric_mean) of all tests. We average the score over multiple iterations with the [arithmetic mean](https://en.wikipedia.org/wiki/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.

<img src="./resources/score.svg" />
<img src="./resources/score.svg" />

0 comments on commit 6844b2d

Please sign in to comment.