Skip to content

Commit d81dfdb

Browse files
committed
Remove old size benchmarks filter
1 parent b539135 commit d81dfdb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

webdriver-ts-results/src/components/ResultTable/ResultTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const ResultTable = ({ type }: Props) => {
3939
!data ||
4040
data.frameworks.length === 0 ||
4141
(data.getResult(BenchmarkType.CPU).benchmarks.length === 0 &&
42-
data.getResult(BenchmarkType.STARTUP).benchmarks.length === 0 &&
42+
data.getResult(BenchmarkType.SIZE).benchmarks.length === 0 &&
4343
data.getResult(BenchmarkType.MEM).benchmarks.length === 0)
4444
) {
4545
return null;

webdriver-ts-results/src/components/SelectionToolbar/BenchmarkSelector/BenchmarkSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useState, useEffect } from "react";
66
const content = (
77
<>
88
<BenchmarkSelectorCategory benchmarkType={BenchmarkType.CPU} label="Duration" />
9-
<BenchmarkSelectorCategory benchmarkType={BenchmarkType.STARTUP} label="Startup" />
9+
<BenchmarkSelectorCategory benchmarkType={BenchmarkType.SIZE} label="Transferred size" />
1010
<BenchmarkSelectorCategory benchmarkType={BenchmarkType.MEM} label="Memory" />
1111
</>
1212
);

webdriver-ts-results/src/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const preInitialState: State = {
190190
benchmarkLists: {
191191
[BenchmarkType.CPU]: rawBenchmarks.filter((b) => b.type === BenchmarkType.CPU),
192192
[BenchmarkType.MEM]: rawBenchmarks.filter((b) => b.type === BenchmarkType.MEM),
193-
[BenchmarkType.STARTUP]: rawBenchmarks.filter((b) => b.type === BenchmarkType.STARTUP),
193+
[BenchmarkType.SIZE]: rawBenchmarks.filter((b) => b.type === BenchmarkType.SIZE),
194194
},
195195
frameworks: mappedFrameworks,
196196
frameworkLists: {

0 commit comments

Comments
 (0)