Skip to content

Commit f22f9fd

Browse files
committed
chore: add new bench suite
1 parent 0f56dbe commit f22f9fd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/benchmark/index.bench.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,12 @@ describe('run rslib in examples', () => {
1818
},
1919
{ time: 5 },
2020
);
21+
bench(
22+
'examples/react-component-bundle-false',
23+
async () => {
24+
const cwd = getCwdByExample('react-component-bundle-false');
25+
await rslibBuild(cwd);
26+
},
27+
{ time: 5 },
28+
);
2129
});

0 commit comments

Comments
 (0)