| OLD | NEW |
| 1 # Web Page Replay | 1 # Web Page Replay |
| 2 Web Page Replay (WprGo) is a performance testing tool written in Golang for | 2 Web Page Replay (WprGo) is a performance testing tool written in Golang for |
| 3 recording and replaying web pages. WprGo is currently used in Telemetry for | 3 recording and replaying web pages. WprGo is currently used in Telemetry for |
| 4 Chrome benchmarking purposes. This requires go 1.8 and above. This has not been | 4 Chrome benchmarking purposes. This requires go 1.8 and above. This has not been |
| 5 tested with earlier versions of go. It is supported on Windows, MacOS and Linux. | 5 tested with earlier versions of go. It is supported on Windows, MacOS and Linux. |
| 6 | 6 |
| 7 ## Set up GOPATH | 7 ## Set up GOPATH |
| 8 | 8 |
| 9 There are two ways to setup your GOPATH. The first is to use the `go get` | 9 There are two ways to setup your GOPATH. The first is to use the `go get` |
| 10 command to fetch this directory. This will use your default GOPATH, which | 10 command to fetch this directory. This will use your default GOPATH, which |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 ``` | 27 ``` |
| 28 mkdir -p $HOME/go/src/github.com/catapult-project | 28 mkdir -p $HOME/go/src/github.com/catapult-project |
| 29 ln -s $CATAPULT $HOME/go/src/github.com/catapult-project/catapult | 29 ln -s $CATAPULT $HOME/go/src/github.com/catapult-project/catapult |
| 30 ``` | 30 ``` |
| 31 | 31 |
| 32 If you take this second approach, you will need to manually fetch the required | 32 If you take this second approach, you will need to manually fetch the required |
| 33 packages: | 33 packages: |
| 34 | 34 |
| 35 ``` | 35 ``` |
| 36 go get github.com/codegangsta/cli | 36 go get github.com/urfave/cli |
| 37 go get golang.org/x/net/http2 | 37 go get golang.org/x/net/http2 |
| 38 ``` | 38 ``` |
| 39 | 39 |
| 40 ## Sample usage | 40 ## Sample usage |
| 41 | 41 |
| 42 ### Record mode | 42 ### Record mode |
| 43 * Terminal 1: | 43 * Terminal 1: |
| 44 | 44 |
| 45 Start wpr in record mode. | 45 Start wpr in record mode. |
| 46 | 46 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 Please read [contributor's guide][contribute]. We use the Catapult | 175 Please read [contributor's guide][contribute]. We use the Catapult |
| 176 [issue tracker][tracker] for bugs and features. Once your change is reviewed | 176 [issue tracker][tracker] for bugs and features. Once your change is reviewed |
| 177 and ready for landing, please run `telemetry/bin/update_wpr_go_binary` to update | 177 and ready for landing, please run `telemetry/bin/update_wpr_go_binary` to update |
| 178 binaries in Google cloud storage. | 178 binaries in Google cloud storage. |
| 179 | 179 |
| 180 ## Contact | 180 ## Contact |
| 181 Please email telemetry@chromium.org. | 181 Please email telemetry@chromium.org. |
| 182 | 182 |
| 183 [contribute]: https://github.com/catapult-project/catapult/blob/master/CONTRIBUT
ING.md | 183 [contribute]: https://github.com/catapult-project/catapult/blob/master/CONTRIBUT
ING.md |
| 184 [tracker]: https://github.com/catapult-project/catapult/issues | 184 [tracker]: https://github.com/catapult-project/catapult/issues |
| OLD | NEW |