Fix sample command in scripts/bench/README.md (#12853)

This commit is contained in:
Pete Nykänen
2018-05-18 11:18:35 +03:00
committed by Dan Abramov
parent 40addbd110
commit 972d209dcc

View File

@@ -5,7 +5,7 @@
In most cases, the only two commands you might want to use are:
- `yarn start`
- `yarn build core,dom-client --type=UMD_PROD && yarn start --skip-build`
- `yarn --cwd=../../ build core,dom-client --type=UMD_PROD && yarn start --skip-build`
The first command will run benchmarks with all the default settings. A local and remote build will occur on React and ReactDOM UMD bundles, both local and remote repos will be run against all benchmarks.
@@ -38,4 +38,4 @@ yarn start --headless
# runs only specific string matching benchmarks
yarn start --benchmark=hacker
```
```