Closed
Bug 1494678
Opened 6 years ago
Closed 6 years ago
[BinAST] Benchmark for BinAST
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1499463
People
(Reporter: Yoric, Unassigned)
References
Details
We want to benchmark BinAST speedups on a variety of site.
Protocol:
- snapshot a site;
- instrument load times;
- convert JS to BinAST;
- compare load times.
We need to determine the list of websites.
Reporter | ||
Comment 1•6 years ago
|
||
Florian, do we already have tooling that would work for instrumenting/comparing load times?
Flags: needinfo?(florian)
Reporter | ||
Comment 2•6 years ago
|
||
Vladan, do you have a framework for such measures that we could use to instrument other websites?
Flags: needinfo?(vladan.bugzilla)
Comment 3•6 years ago
|
||
(In reply to David Teller [:Yoric] (please use "needinfo") from comment #1)
> Florian, do we already have tooling that would work for
> instrumenting/comparing load times?
I don't have a good answer to this question unfortunately. The closest I can think of would be talos, where you would have a test that loads the page several times in a row without BinAST (record the average load time), and then with BinAST (also record the average load time), substracts the second value from the first one, and report that. This doesn't feel like a great solution, but I have no other idea at the moment.
Flags: needinfo?(florian)
Reporter | ||
Comment 4•6 years ago
|
||
Yeah, that's not a great solution, but if it's the only path, that's the one we'll take.
I thought I had heard about someone on your team (or a contractor?) working on a new generation benchmark for websites, but I apparently misheard/misunderstood.
Comment 5•6 years ago
|
||
(In reply to David Teller [:Yoric] (please use "needinfo") from comment #4)
> I thought I had heard about someone on your team (or a contractor?) working
> on a new generation benchmark for websites, but I apparently
> misheard/misunderstood.
This may be refering to raptor. I don't know much details, but I think Joel knows enough to help you decide if raptor can be helpful for your use case.
Flags: needinfo?(jmaher)
Reporter | ||
Comment 6•6 years ago
|
||
Ah, yes, this was raptor. I have no details about it, though.
Comment 7•6 years ago
|
||
We have raptor to handle the use case of AWFY where we can run a benchmark or a webpage (via mitmproxy) and compare it over time. This is designed to run on firefox and chrome. I assume you would record a webpage normally, then either convert it to binast, or run the pageload test with different preferences. In the end you would have two data points and you could compare those. Raptor is similar to Talos except that it is more lightweight and focuses on specific scenarios.
If you want to load a page normally, then load it with different prefs, then compare the data, that doesn't exist today and we would have to determine how we want to do that and add that scenario to an existing benchmark.
If we were to add features to a harness is this something that will live for a long time, or is this a short term project?
Flags: needinfo?(jmaher)
Reporter | ||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Comment 9•6 years ago
|
||
> Vladan, do you have a framework for such measures that we could use to instrument other websites?
No I didn't have a general-purpose framework. Andrew Comminos (he's on Bugzilla, currently works at FB) did write a proxy that was general purpose
Flags: needinfo?(vladan.bugzilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•