Open Bug 1604318 Opened 5 years ago Updated 2 years ago

get Blink's layout microbenchmarks running in Gecko

Categories

(Core :: Layout, task)

task

Tracking

()

People

(Reporter: heycam, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

It would be great to get Blink's benchmarks they developed during their LayoutNG rewrite running in Gecko.

Flags: needinfo?(emilio)

I poked a bit at this. They're regular HTML / JS files so they just run in other browsers.

See http://crisal.io/tmp/blink-perf-tests/layout for some of them.

So AFAICT this is just a matter of getting them landed and hooked properly into Talos / Raptor if we wanted... Joel, do you know who's the right person to do this / guide me doing this?

In particular, this seems to be just using WebKit's perf runner, with some minor tweaks.

  • Do we have similar hooks for other WebKit / Blink perf tests?
  • Does this seem too hard? AFAIK, apart from all the raptor plumbing and such, we'd need to hook into finish in their runner.js file. How would raptor read the measurements? These tests seem to mostly measure runs/s (more is better).
Flags: needinfo?(emilio) → needinfo?(jmaher)

This is also interesting.

It seems like Blink has added missing descriptions for some tests, unprefixed some bits, and tweaked some of them.

WebKit has added more tests, looks like.

Comment on attachment 9116495 [details] [diff] [review] Diff between Chromium's and WebKit's perf tests. Trying to convince Bugzilla to show me a nicer UI.
Attachment #9116495 - Attachment is patch: true

(According to Jesup, Dave may be a better person to answer the questions in comment 2?)

Flags: needinfo?(dave.hunt)

Thanks for looking into this Emilio. Your added details make this much more actionable.

I believe speedometer and stylebench will have reasonable prior art to work from:
https://searchfox.org/mozilla-central/search?q=perftestrunner&path=

and yes, :davehunt will be the right person to look into this (his team manages talos/raptor for the last year)

Flags: needinfo?(jmaher)

I suggest looking over the relatively recent addition of Jetstream 2 for an example of adding a benchmark to Raptor. This was added via bug 1542046. If you have further questions you can reach out to :rwood or :sparky.

Flags: needinfo?(dave.hunt)

Ok I'll give that a shot.

Flags: needinfo?(emilio)

Waiting on bug 1604860 for now.

Flags: needinfo?(emilio)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: