Skip to content

Commit b2550e2

Browse files
committed
Add VSuspense node in benchmark
1 parent b36bfc8 commit b2550e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/benchmark-core/benches/vnode.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ fn vnode_clone(bencher: divan::Bencher) {
1818
<span>{"Hello"}</span>
1919
<strong style="color:red">{"World"}</strong>
2020
<Stuff />
21+
<Suspense fallback={html!("Loading...")}>
22+
<Stuff />
23+
</Suspense>
2124
</div>
2225
};
2326

0 commit comments

Comments
 (0)