| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -164,6 +164,19 @@ First build two versions of Node.js, one from the master branch (here called | |||
| 164 | 164 | `./node-master`) and another with the pull request applied (here called | |
| 165 | 165 | `./node-pr-5134`). | |
| 166 | 166 | ||
| 167 | + To run multiple compiled versions in parallel you need to copy the output of the | ||
| 168 | + build: `cp ./out/Release/node ./node-master`. Check out the following example: | ||
| 169 | + | ||
| 170 | + ```console | ||
| 171 | + $ git checkout master | ||
| 172 | + $ ./configure && make -j4 | ||
| 173 | + $ cp ./out/Release/node ./node-master | ||
| 174 | + | ||
| 175 | + $ git checkout pr-5134 | ||
| 176 | + $ ./configure && make -j4 | ||
| 177 | + $ cp ./out/Release/node ./node-pr-5134 | ||
| 178 | + ``` | ||
| 179 | + | ||
| 167 | 180 | The `compare.js` tool will then produce a csv file with the benchmark results. | |
| 168 | 181 | ||
| 169 | 182 | ```console | |
| Back | FazBrowse Home | New Git URL |
0 commit comments