Skip to content

Commit 3f9d47b

Browse files
committed
docs(readme): add example benchmark output and script
1 parent 0e75740 commit 3f9d47b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,20 @@ npm test
173173
npm run lint # npm run lint:fix
174174
```
175175

176+
## Benchmarks
177+
178+
```sh
179+
npm run test:benchmark
180+
```
181+
182+
Here's an example output of the benchmarks run on a MacBook Pro 2017:
183+
184+
```
185+
html-to-react - Single x 415,186 ops/sec ±0.92% (85 runs sampled)
186+
html-to-react - Multiple x 139,780 ops/sec ±2.32% (87 runs sampled)
187+
html-to-react - Complex x 8,118 ops/sec ±2.99% (82 runs sampled)
188+
```
189+
176190
## Release
177191

178192
```sh

0 commit comments

Comments
 (0)