没有合适的资源?快使用搜索试试~ 我知道了~
react-benchmark:用于对React组件的渲染性能进行基准测试的工具
共26个文件
js:11个
jsx:2个
json:2个
需积分: 9 0 下载量 162 浏览量
2021-01-31
02:20:56
上传
评论
收藏 310KB ZIP 举报
温馨提示
React基准 基准化React组件渲染性能的工具。 它将使用Webpack将基准代码编译成精简版产品包,然后在无头Chrome中运行它,以在实际生产环境中对实际生产代码进行基准测试。 注意:基准数字并非完全准确,只能用于比较代码更改或不同实现的性能差异。 安装 yarn global add react-benchmark # or npm install -g react-benchmark 用法 Usage $ react-benchmark <path> Options <path> Path to a JavaScript or TypeScript file that exports the function to be benchmarked. --debug, -d Run a development build instead of a production build to aid debugging. --devtools, -t Run Chrome in windowed mode with the devto
资源推荐
资源详情
资源评论
收起资源包目录
react-benchmark-master.zip (26个子文件)
react-benchmark-master
.gitattributes 12B
.github
workflows
ci.yml 667B
yarn.lock 301KB
lib
chrome.js 2KB
server.js 622B
format-benchmark.js 495B
index.d.ts 1KB
client.js 883B
webpack.js 3KB
index.js 2KB
cli.js 2KB
tsconfig.json 257B
LICENSE 747B
test
format-benchmark.js 2KB
fixtures
benchmark.js 121B
benchmark.jsx 140B
benchmark.tsx 145B
.babelrc 48B
test.jsx 87B
index.js 1KB
cli.js 392B
README.md 3KB
.editorconfig 166B
.gitignore 13B
demo.gif 252KB
package.json 2KB
共 26 条
- 1
资源评论
观察社
- 粉丝: 21
- 资源: 4689
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功