Update npm packages to get new renderer and update benchmark for Bob Ross 🌲 (#1443)

This commit is contained in:
Mx Corey Frang 2018-08-13 10:47:41 -04:00 committed by GitHub
parent ec41b4a113
commit 30892dfd43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1716 additions and 1235 deletions

2902
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -29,7 +29,7 @@
"version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\""
},
"dependencies": {
"arraybuffer-loader": "^1.0.3",
"arraybuffer-loader": "^1.0.6",
"atob": "2.1.1",
"btoa": "1.2.1",
"canvas-toBlob": "1.0.0",
@ -51,17 +51,17 @@
"devDependencies": {
"adm-zip": "0.4.7",
"babel-core": "^6.24.1",
"babel-eslint": "^8.0.1",
"babel-loader": "^7.0.0",
"babel-preset-env": "^1.6.1",
"copy-webpack-plugin": "^4.5.1",
"babel-eslint": "^8.2.6",
"babel-loader": "^7.1.5",
"babel-preset-env": "^1.7.0",
"copy-webpack-plugin": "^4.5.2",
"docdash": "^0.4.0",
"eslint": "^5.0.1",
"eslint": "^5.3.0",
"eslint-config-scratch": "^5.0.0",
"expose-loader": "0.7.5",
"file-loader": "^1.1.6",
"format-message-cli": "5.2.1",
"gh-pages": "^1.1.0",
"gh-pages": "^1.2.0",
"in-publish": "^2.0.0",
"jsdoc": "^3.5.5",
"json": "^9.0.4",
@ -74,10 +74,10 @@
"scratch-svg-renderer": "latest",
"script-loader": "0.7.2",
"stats.js": "^0.17.0",
"tap": "^11.0.1",
"tap": "^11.1.5",
"tiny-worker": "^2.1.1",
"webpack": "^4.8.0",
"webpack-cli": "^2.0.15",
"webpack-dev-server": "^3.1.3"
"webpack": "^4.16.5",
"webpack-cli": "^2.1.5",
"webpack-dev-server": "^3.1.5"
}
}

View file

@ -591,17 +591,24 @@ window.onload = function () {
// recordingTime: 5000
// }));
suite.add(new BenchFixture({
projectId: 219313833,
warmUpTime: 0,
recordingTime: 5000
}));
const standard = projectId => {
suite.add(new BenchFixture({
projectId,
warmUpTime: 0,
recordingTime: 5000
}));
suite.add(new BenchFixture({
projectId: 219313833,
warmUpTime: 5000,
recordingTime: 5000
}));
suite.add(new BenchFixture({
projectId,
warmUpTime: 5000,
recordingTime: 5000
}));
};
standard(219313833); // sensing_touching benchmark
standard(236115215); // touching color benchmark
standard(238750909); // bob ross painting (heavy pen stamp)
const frame = document.getElementsByTagName('iframe')[0];
const runner = new BenchRunner({frame, suite});