A script to facilitate importing browsertime results into a google sheet
process_vm.py {results path}
will process browsertime results in our traditional experiment structure, i.e.
.
└── browsertime-results
├── accounts.google.com
│ ├── fenix_beta
│ │ ├── browsertime.json
│ │ └── pages
│ └── fennec68
│ ├── browsertime.json
│ └── pages
├── m.facebook.com_Cristiano
│ ├── fenix_beta
│ │ ├── browsertime.json
│ │ └── pages
│ └── fennec68
│ ├── browsertime.json
│ └── pages
Usage
- Process browsertime-results to a text file
$ python process_vm.py browsertime-results/ > out.txt
- Make a copy of this google sheets tab template
- In your new tab,
File | Import | Upload
the text outputout.txt
into the top-left blue cell
Choose optionsReplace data at selected cell
andSeperator Type | Custom
,|
- Columns that are expressed as percentages will need to have the google docs styling
%
applied - You can remove or add metrics by modifying
process_vm.py