Skip to content

Commit

Permalink
Merge pull request #69 from dalenberg/benchmark
Browse files Browse the repository at this point in the history
docs(readme): add example benchmark output and script
  • Loading branch information
remarkablemark authored Sep 1, 2018
2 parents a153697 + 3f9d47b commit 9de3e12
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,20 @@ npm test
npm run lint # npm run lint:fix
```

## Benchmarks

```sh
npm run test:benchmark
```

Here's an example output of the benchmarks run on a MacBook Pro 2017:

```
html-to-react - Single x 415,186 ops/sec ±0.92% (85 runs sampled)
html-to-react - Multiple x 139,780 ops/sec ±2.32% (87 runs sampled)
html-to-react - Complex x 8,118 ops/sec ±2.99% (82 runs sampled)
```

## Release

```sh
Expand Down

0 comments on commit 9de3e12

Please sign in to comment.