Run talos tests with Activity Stream enabled/disabled #2006
Comments
|
How to make sense of Talos: https://wiki.mozilla.org/Buildbot/Talos/Tests |
|
Tracking some issues from running talos + mochitests: |
|
Below is a table of talos results (osx-10-10 opt) with the activity stream add-on mostly disabled (returns early from main but sdk still loaded and
There's a few @jmaher / @mikeconley anything else we should focus on first (probably in parallel with #1999 removing SDK)? |
|
I did many retriggers on the base and try pushes, I believe what you have listed is pretty accurate, you can always revisit the perfherder compare links to see the updated data :) My familiarity with activity stream and the work here is close to nil, but that doesn't mean it should remain there. Since almost all tests (not graphics related ones) are showing a regression, that is cause for concern- possibly we just focus on tpaint (as that might help the startup tests in general), tabpaint, and svgx- either way all need some love. There is --spsProfiling available on try, that is useful to see where time is spent- delaying initialization/loading/work is helpful, and if there are changes to talos (preferences, delaying load, more initialization on the first load), we should consider that as well. |
|
I ran the worst offender on this list (tsvg_static, e10s disabled) locally, with the Activity Stream code both applied and unapplied. I was able to reproduce the regression, which is good. After I applied the fix for bug 1340267, I was able to get some profiles from the test runs. I arbitrarily picked the "gearflowers" subtest from tsvg_static. Here are the profiles: With Activity Streams activated I'll now attempt an analysis. Gimme a few moments. |
|
So the regression in here doesn't seem to be called by any one thing, but I definitely see Activity Streams taking up time doing a few things, spread out over the test run
I would be very interesting to see what the delta tends to be between this time and this time. I may be missing something, but it looks as if the meta data parser is operating in the main thread. If that's the case... I think you're going to have a really bad time there, especially for large documents. Even if the parser is running in the parent process (which it might be? I think I see it being messaged up), then sending up the string representation of a large document is still going to come with a cost. |
|
@sarracini mentioned that there's some work going on to add a metadata parsing capability to Places that could be used instead. Do we know what that bug is? |
|
Probably #2163 to land https://github.com/mozilla/page-metadata-parser |
|
I see. Is the parser going to be running on the main thread? |
|
Perhaps I should direct that at @jaredkerim |
|
I pushed a try version that pointed try: https://hg.mozilla.org/try/rev/5442a42878e4384952f7871a123d56a8d6baa6b5#l4.12 This means the add-on is basically just running the SDK's bootstrap.js, processing package.json, and loading
So it looks like the earlier attempt to |
|
@Mardak Please run a TALOS run with a build of activity stream with all features turned on that includes this commit on top: This will move metadata parsing out of the main thread and into the content threads, as per feedback from multiple Firefox developers. Let's see if and how this affects our TALOS performance. Please post the results in here so we can compare them in Perfherder. |
|
@jaredkerim Here's the results relative to activity stream enabled: And relative to mozilla-central: Plain activity-stream enabled has |
|
@Mardak Thanks so much! I expected that this would increase the regression, I think that TALOS is optimized to monitor content process heavy workloads, not necessarily main process workloads. I think we will need to develop a TALOS test which is specifically designed to monitor the impact of activity stream. Can you please run two more for me if you have a chance:
I want to know which one of those makes a bigger impact on performance. If it's true that TALOS is weighted more heavily to towards content space processing, then #2 should show a lower regression than #1 I suspect. Thanks! |
Split from #1977. We'll want to do some runs to see how Firefox performance is impacted both enabled and disabled to get a sense of what issues we'll need to fix/optimize or defer.
http://trychooser.pub.build.mozilla.org/
The text was updated successfully, but these errors were encountered: