Skip to content

Commit

Permalink
fix: bump speedline to fix perceptual speed index (#2046)
Browse files Browse the repository at this point in the history
* fix: bump speedline to fix perceptual speed index

* test: update tests for speedline bump
  • Loading branch information
patrickhulce authored and paulirish committed Apr 21, 2017
1 parent 8a0a04e commit d90bce3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lighthouse-core/test/gather/computed/speedline-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('Speedline gatherer', () => {

return speedlineGather.request({traceEvents: threeFrameTrace}).then(speedline => {
assert.equal(Math.floor(speedline.speedIndex), 2040);
return assert.equal(Math.floor(speedline.perceptualSpeedIndex), 2066);
return assert.equal(Math.floor(speedline.perceptualSpeedIndex), 2030);
});
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"opn": "4.0.2",
"rimraf": "2.2.8",
"semver": "5.3.0",
"speedline": "1.0.3",
"speedline": "1.1.1",
"update-notifier": "^2.1.0",
"whatwg-url": "4.0.0",
"ws": "1.1.1",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2870,9 +2870,9 @@ spdx-license-ids@^1.0.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57"

speedline@1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/speedline/-/speedline-1.0.3.tgz#ee1d98c18d583a2d8488aaded2db9334b943dbbd"
speedline@1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/speedline/-/speedline-1.1.1.tgz#d70d7bfbe630eb63424a830ec0e02ddfcc6051b7"
dependencies:
babar "0.0.3"
image-ssim "^0.2.0"
Expand Down

0 comments on commit d90bce3

Please sign in to comment.