Skip to content

Commit 1ae19e7

Browse files
committed
Update benchmark for OSX and chrome 103
1 parent ed33536 commit 1ae19e7

13 files changed

+4938
-4780
lines changed

webdriver-ts-results/src/App.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const App = () => {
1515
return (
1616
<div>
1717
{disclaimer}
18-
<p>The benchmark was run on a Razer Blade 15 Advanced (i7-8750H, 64 GB RAM, Fedora 36 (Linux 5.17.3, mitigations=off, Wayland), Chrome 101.0.4951.41 (64-bit))
19-
using the playwright benchmark driver with full tracing.
18+
<p>The benchmark was run on a MaBook Air M1 (16 GB RAM, OSX 12.4), Chrome 103.0.5060.53 (arm64))
19+
using the puppeteer benchmark driver with full tracing.
2020
</p>
2121
<SelectionBar/>
2222
<ResultTable type={FrameworkType.KEYED}/>

webdriver-ts-results/src/reducer.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ export const reducer = (state = initialState, action: Action): State => {
180180
}
181181
case 'SELECT_ALL_BENCHMARKS': {
182182
const newSelectedBenchmark = new Set(state.selectedBenchmarks);
183-
// action.data.benchmarkType
184-
for (const b of state.benchmarkLists[BenchmarkType.CPU]) {
183+
for (const b of state.benchmarkLists[action.data.benchmarkType]) {
185184
if (action.data.add) newSelectedBenchmark.add(b)
186185
else newSelectedBenchmark.delete(b)
187186
}

webdriver-ts-results/src/results.ts

+3,331-3,349
Large diffs are not rendered by default.

webdriver-ts-results/table.html

+1-1
Large diffs are not rendered by default.

webdriver-ts/package-lock.json

+1,455-1,033
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webdriver-ts/package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,34 @@
1717
"author": "",
1818
"license": "Apache-2.0",
1919
"devDependencies": {
20-
"@types/lodash": "4.14.181",
21-
"@types/node": "17.0.23",
22-
"@types/ramda": "^0.28.11",
23-
"@types/selenium-webdriver": "4.0.18",
24-
"@types/semver": "7.3.9",
20+
"@types/lodash": "4.14.182",
21+
"@types/node": "18.0.0",
22+
"@types/ramda": "^0.28.14",
23+
"@types/selenium-webdriver": "4.1.1",
24+
"@types/semver": "7.3.10",
2525
"@types/underscore": "^1.11.4",
2626
"@types/yargs": "17.0.10",
27-
"dockerode": "^3.3.1",
27+
"dockerode": "^3.3.2",
2828
"rimraf": "^3.0.2",
29-
"ts-node": "10.7.0",
30-
"typescript": "4.6.3"
29+
"ts-node": "10.8.1",
30+
"typescript": "4.7.4"
3131
},
3232
"dependencies": {
33-
"axios": "^0.26.1",
34-
"chromedriver": "^100.0.0",
33+
"axios": "^0.27.2",
34+
"chromedriver": "^102.0.0",
3535
"cross-env": "7.0.3",
3636
"dot": "1.1.3",
3737
"jstat": "1.9.5",
38-
"lighthouse": "9.5.0",
38+
"lighthouse": "9.6.2",
3939
"lodash": "4.17.21",
4040
"marky": "^1.2.4",
41-
"npm-check-updates": "12.5.4",
42-
"playwright": "^1.21.0",
43-
"puppeteer-core": "^13.5.1",
41+
"npm-check-updates": "14.0.1",
42+
"playwright": "^1.22.2",
43+
"puppeteer-core": "^14.4.1",
4444
"ramda": "^0.28.0",
45-
"selenium-webdriver": "4.1.1",
46-
"semver": "7.3.5",
47-
"underscore": "^1.13.3",
48-
"yargs": "17.4.0"
45+
"selenium-webdriver": "4.2.0",
46+
"semver": "7.3.7",
47+
"underscore": "^1.13.4",
48+
"yargs": "17.5.1"
4949
}
5050
}

webdriver-ts/results.json

+1-1
Large diffs are not rendered by default.

webdriver-ts/src/benchmarksCommon.ts

+2-8
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,15 @@ type ISlowDowns = {
8585
};
8686

8787
const slowDownsOSX: ISlowDowns = {
88-
[BENCHMARK_03]: 8,
89-
[BENCHMARK_04]: 8,
90-
[BENCHMARK_05]: 4,
91-
[BENCHMARK_08]: 2,
92-
[BENCHMARK_09]: 4,
93-
};
94-
95-
const slowDownsLinux: ISlowDowns = {
9688
[BENCHMARK_03]: 16,
9789
[BENCHMARK_04]: 16,
9890
[BENCHMARK_05]: 4,
9991
[BENCHMARK_08]: 2,
10092
[BENCHMARK_09]: 8,
10193
};
10294

95+
const slowDownsLinux: ISlowDowns = slowDownsOSX;
96+
10397
const slowDowns: ISlowDowns = process.platform == "darwin" ? slowDownsOSX : slowDownsLinux;
10498

10599
export function slowDownNote(benchmark: TBenchmarkID): string {

0 commit comments

Comments
 (0)