Skip to content

Commit fe831fe

Browse files
chore(package): fix benchmark script
1 parent d5ac943 commit fe831fe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,12 +611,12 @@ Run benchmark:
611611
npm run benchmark
612612
```
613613

614-
Output of benchmark run on MacBook Pro 2021:
614+
Output of benchmark run on MacBook Pro 2024:
615615

616616
```
617-
html-to-react - Single x 1,018,239 ops/sec ±0.43% (94 runs sampled)
618-
html-to-react - Multiple x 380,037 ops/sec ±0.61% (97 runs sampled)
619-
html-to-react - Complex x 35,091 ops/sec ±0.50% (96 runs sampled)
617+
html-to-react - Single x 1,230,874 ops/sec ±0.21% (97 runs sampled)
618+
html-to-react - Multiple x 502,028 ops/sec ±0.89% (94 runs sampled)
619+
html-to-react - Complex x 54,401 ops/sec ±0.76% (93 runs sampled)
620620
```
621621

622622
Run [Size Limit](https://github.com/ai/size-limit):

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
},
2828
"scripts": {
29-
"benchmark": "ts-node benchmark",
29+
"benchmark": "ts-node --project tsconfig.test.json benchmark",
3030
"build": "npm run build:cjs && npm run build:umd",
3131
"build:cjs": "tsc --project tsconfig.build.json",
3232
"build:umd": "rollup --config --failAfterWarnings",

0 commit comments

Comments
 (0)