Telemetry: Record a Page Set
To record a Page Set use the record_wpr script. Your command will look something like this:
$ tools/perf/record_wpr --browser=(release|system) page_set
For example, to record the top_25.json file:
$ tools/perf/record_wpr --browser=system tools/perf/page_sets/top_25.json
To record only some pages in the Page Set, use --page-filter, for example this command will just record the wikipedia page:
$ tools/perf/record_wpr --browser=system --page-filter=wikipedia tools/perf/page_sets/top_25.json
record_wpr generates a .wpr file, which is the recorded data, a corresponding .wpr.sha1 file, and a .json metadata file. Check in the .sha1 and .json files to make the recording available to other users and the bots. The PRESUBMIT script will automatically upload the .wpr file to Google Storage.
We record page sets so we can run benchmarks stably over the same web content. By recording live sites, we can control variables such as the website itself changing or network conditions.
Web Page Replay is a service that allows us to capture and store HTTP requests and responses.