WebKit / Speedometer

An open source repository for the Speedometer benchmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to report scores to an endpoint

hotsphink opened this issue · comments

The situation is that I work on a laptop but want timings from my build workstation, without it getting slowed down by sending the display back to my laptop (via X11 forwarding, vnc, or whatever).

The straightforward solution would be to add a report parameter POSTs the timing data back to the server. Then I can run the browser either headless or using its local display. I'm running this locally, and am wondering if there would be interest in adding it (the report parameter as well as a simple server that appends the timing data to a file) to the repository here? I can make a PR.

I don't think we want to add the support for such an exotic testing setup.

Having an opt-in report parameter with a URL endpoint could be a convenient and lightweight way to collect submitted scores - both in a local setup as described, or for coordinating manual testing / collection across a variety of devices. When manual testing on a phone, for example, I've resorted to pastebin-ing scores which is time consuming and error prone.

I'm not sure about the "simple server that appends the timing data to a file" piece though - that seems like something that could be run independently based on specific needs.

I can only advocate my crossbench script which automates this for a big part across many devices and browsers.