Closed hans-lizihan closed 6 years ago
benchmark lib: https://github.com/AndreasMadsen/htmlparser-benchmark
for htmlparser2-without-node-native:
htmlparser2-without-node-native
7.46853 ms/file ± 5.47285
for htmlparser2:
htmlparser2
5.37445 ms/file ± 4.75978
好像差别并不大
Coverage remained the same at 99.034% when pulling db8dab16e6d42e2ec5c8ce31bb349c45d883de0b on hans-lizihan:master into e9fab791add0afe529bc35350294f18a2999fb08 on island205:master.
或者考虑换一个bundler?browserify和react-native似乎兼容性有问题
https://github.com/calvinmetcalf/rollup-plugin-node-builtins
好的,欢迎提交 PR
benchmark lib: https://github.com/AndreasMadsen/htmlparser-benchmark
for
htmlparser2-without-node-native
:for
htmlparser2
:好像差别并不大