Skip to content

Commit 6613f38

Browse files
committed
chore: update benchmark
1 parent 30521b2 commit 6613f38

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ module.exports = {
8686
{
8787
"compilerOptions": {
8888
// ...
89-
"types": ["unplugin-jsx-string" /* ... */]
90-
}
89+
"types": ["unplugin-jsx-string" /* ... */],
90+
},
9191
}
9292
```
9393

@@ -118,16 +118,16 @@ jsxToString(
118118
<br />
119119
<div />
120120
123
121-
</div>
121+
</div>,
122122
)
123123
// "<div><p>foo</p><p>bar</p><br/><div/>123</div>"
124124
```
125125

126126
## Benchmark
127127

128128
```
129-
<div>Hello World</div> x 89,429 ops/sec ±0.88% (95 runs sampled)
130-
<div><img src={'foo'} /><div></div></div> x 62,522 ops/sec ±0.62% (93 runs sampled)
129+
<div>Hello World</div> x 99,362 ops/sec ±0.55% (92 runs sampled)
130+
<div><img src={'foo'} /><div></div></div> x 66,281 ops/sec ±0.63% (95 runs sampled)
131131
```
132132

133133
<small>

0 commit comments

Comments
 (0)