Commit Graph

1418 Commits

Author SHA1 Message Date
Luca Greco
9da421d8fc Bug 1698158 - part 3.3 - Remove unnecessary imports from talos testharness addons experimental API. r=mixedpuppy,perftest-reviewers,sparky
Depends on D108229

Differential Revision: https://phabricator.services.mozilla.com/D108230
2021-03-16 18:15:42 +00:00
Jon Coppeard
d8f842d8c1 Bug 1697479 - Turn extra GC poisoning off by default in nightly builds r=sfink,perftest-reviewers,sparky
This changes the default so that extra GC poisoning is off in nightly opt builds unless enabled by an environment variable. This should give us more useful telemetry on nightly performance and make it easier for people trying to benchmark our browser. The poisoning is still enabled in debug builds.

The variable is renamed from JSGC_DISABLE_POISONING to JSGC_EXTRA_POISONING.

Differential Revision: https://phabricator.services.mozilla.com/D108419
2021-03-16 17:44:38 +00:00
Dave Hunt
a51eb65163 Bug 1697594 - Migrate static wiki content for Talos tests to PerfDocs r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D107896
2021-03-15 18:09:58 +00:00
Dave Hunt
9e3ef144c3 Bug 1697772 - Replace uses of "whitelist" with "allowlist" in Talos r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D108163
2021-03-12 22:04:46 +00:00
Gregory Mierzwinski
6b41079a2e Bug 1694172 - Decrease test timeout for some talos tests. r=perftest-reviewers,alexandru.irimovici
Differential Revision: https://phabricator.services.mozilla.com/D106638
2021-03-11 14:12:35 +00:00
Julian Descottes
01718819b8 Bug 1694906 - [devtools] Use descriptors instead of targets in all toolbox APIs r=ochameau,nchevobbe,rpl,perftest-reviewers,sparky
Depends on D107051

Differential Revision: https://phabricator.services.mozilla.com/D106426
2021-03-10 18:22:02 +00:00
Brendan Dahl
ffe8c908cc Bug 1694189 - Don't wait for timeout to add pagerendered event listener. r=emilio,perftest-reviewers,sparky
It appears we were missing some pagerendered events because we weren't
attaching the listener until after a setTimeout in contentLoadHandlerCallback.
Further, the test wasn't really waiting until idle to load the next round, so we
can remove that part for now. This may be something we want to fix in the
future though.

Differential Revision: https://phabricator.services.mozilla.com/D106849
2021-03-04 16:58:37 +00:00
Noemi Erli
c24ecdc6f5 Backed out changeset f7fa859944a3 (bug 1694172) for causing talos crashes CLOSED TREE 2021-03-02 02:18:41 +02:00
Gregory Mierzwinski
0e78f47e46 Bug 1694172 - Decrease test timeout for some talos tests. r=perftest-reviewers
This patch decreases the test timeout for some Talos tests which are hitting task timeouts. It also increases the task timeout for one of the tests.

Differential Revision: https://phabricator.services.mozilla.com/D106638
2021-03-01 15:17:29 +00:00
Julian Descottes
d0f4645a76 Bug 1694140 - [devtools] Stop using TargetFactory.forTab in devtools code r=perftest-reviewers,ochameau
Depends on D105998

Differential Revision: https://phabricator.services.mozilla.com/D105999
2021-02-25 18:02:51 +00:00
Brindusan Cristian
39abcde940 Backed out 10 changesets (bug 1694140, bug 1694886, bug 1688688) for devtools failures on browser_CORS-console-warnings.js. CLOSED TREE
Backed out changeset 1b7367a27d9a (bug 1694886)
Backed out changeset d5a70a3143ad (bug 1694140)
Backed out changeset 74adaced5c0a (bug 1694140)
Backed out changeset 0b8f857e3f90 (bug 1694140)
Backed out changeset 45a8dc952aba (bug 1694140)
Backed out changeset 299f17e9cb6f (bug 1694140)
Backed out changeset 6beb9dd48ef3 (bug 1694140)
Backed out changeset 5f6688e8fe4c (bug 1694140)
Backed out changeset ae1fa0484c91 (bug 1688688)
Backed out changeset 8a0f5c24ed9a (bug 1688688)
2021-02-25 16:07:39 +02:00
Julian Descottes
5b183d1d77 Bug 1694140 - [devtools] Stop using TargetFactory.forTab in devtools code r=perftest-reviewers,ochameau
Depends on D105998

Differential Revision: https://phabricator.services.mozilla.com/D105999
2021-02-25 12:58:14 +00:00
Gregory Mierzwinski
57fa6fcce0 Bug 1693042 - Decrease default timeout for talos tests to 10 minutes. r=jmaher
This patch decreases the default timeout to 10 minutes (from 2 hours) and also fixes an issue in mozcrash.

Differential Revision: https://phabricator.services.mozilla.com/D105356
2021-02-16 22:45:48 +00:00
Brendan Dahl
5ec0872fef Bug 1692140 - Fix talos test pdfpaint measurement. r=emilio,perftest-reviewers
Now that we delay the load event for pdf.js, the pagerendered event listener
was being added too late and we were catching the second page rendered event.
Also, add a check to ensure the page rendered is the first page.

Differential Revision: https://phabricator.services.mozilla.com/D104866
2021-02-12 17:34:06 +00:00
Nika Layzell
646fdbd459 Bug 1681529 - Part 12: Use rootURI for talos-powers frame script instead of baseURI, r=kmag,perftest-reviewers
The baseURI is a moz-extension: URI, which does not support being loaded
synchronously from a content process, as framescripts are.

This patch does not attempt to prohibit future synchronous uses of
moz-extension: URIs, as that is outside of the scope of this issue, but we
should likely do so in a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D104081
2021-02-05 16:06:23 +00:00
Kimberly Sereduck
02d7cf31ed Bug 1680766 - Improvements to profile markers for Talos tests; r=perftest-reviewers,gregtatum,sparky
This patch is to add more profile markers to Talos tests, and improve existing ones, by grouping all Talos markers together under "Talos", using more descriptive labels, and employing interval markers where applicable.

Differential Revision: https://phabricator.services.mozilla.com/D98774
2021-01-26 16:49:42 +00:00
Julian Descottes
1234cfd373 Bug 1688169 - [devtools] Use Cu.now to generate marker timestamps in DAMP r=ladybenko,perftest-reviewers
Using performance.now will generate incorrect markers because the timestamps are not in sync with the ones used internally by the ChromeUtils.addProfilerMarker API.

Differential Revision: https://phabricator.services.mozilla.com/D102704
2021-01-26 10:45:45 +00:00
Florian Quèze
87d8f32132 Bug 1687687 - Using the profiler for Talos tests should enable the CPU Utilization feature, r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D102450
2021-01-21 12:58:33 +00:00
Nicolas Chevobbe
cc40f9a712 Bug 1686659 - Add a DAMP test for the fullpage screenshot tool. r=jdescottes,perftest-reviewers,sparky.
The test loads the bild.de homepage and measures how long
it takes until the screenshot is available for the user.

Differential Revision: https://phabricator.services.mozilla.com/D101725
2021-01-20 17:23:46 +00:00
Doug Thayer
ab6de08ee9 Bug 1686066 - Use multiple domains when running tp5n and similar tests r=sparky,perftest-reviewers
Currently most talos tests to not use multiple domains when testing across
many different recorded web pages. We have talos set up to be able to serve
these to ourself under different domains though - this patch simply sets us
up to do so with the tp5n and tp5o tests. This should just give us a little
bit more coverage of changes which may introduce overhead on a per-domain
basis, such as Fission or Network Partitioning.

Differential Revision: https://phabricator.services.mozilla.com/D101379
2021-01-20 23:38:24 +00:00
Julian Descottes
d1a229c1ee Bug 1673308 - [devtools] Enable DAMP complicated tests with Fission r=ochameau,perftest-reviewers
The skipped tests were timing out on page load, and are not trying to set breakpoints.
The fix landed in Bug 1682780 should be enough to fix them on fission platforms.

Differential Revision: https://phabricator.services.mozilla.com/D101140
2021-01-19 15:09:11 +00:00
Julian Descottes
a3709d6c16 Bug 1684857 - [devtools] Export current DAMP runner from damp.js r=ochameau,perftest-reviewers,kimberlythegeek
Depends on D97733

Exporting the current DAMP runner as a singleton from damp.js simplifies the dependency management between damp.js and head.js

Differential Revision: https://phabricator.services.mozilla.com/D100670
2021-01-06 08:26:52 +00:00
Julian Descottes
d2fbfdfcbf Bug 1684963 - [devtools] Disable overlay scrollbars for webconsole.complicated DAMP test r=nchevobbe,perftest-reviewers,kimberlythegeek
Overlay scrollbars make this test timeout while waiting on a "force layout" message which never appears.

Differential Revision: https://phabricator.services.mozilla.com/D100724
2021-01-05 08:30:05 +00:00
Dorel Luca
0cb892b99b Backed out changeset 655f3c4bd5a3 (bug 1684857) for DUMP failures. CLOSED TREE 2021-01-04 23:16:46 +02:00
Julian Descottes
cf92aea59a Bug 1684857 - [devtools] Export current DAMP runner from damp.js r=ochameau,perftest-reviewers,kimberlythegeek
Depends on D97733

Exporting the current DAMP runner as a singleton from damp.js simplifies the dependency management between damp.js and head.js

Differential Revision: https://phabricator.services.mozilla.com/D100670
2021-01-04 16:36:36 +00:00
Julian Descottes
f928b04c35 Bug 1678550 - [devtools] Add proper linting to damp.js and damp-test.js r=perftest-reviewers,nchevobbe,ochameau
Depends on D97732

Differential Revision: https://phabricator.services.mozilla.com/D97733
2021-01-04 13:28:48 +00:00
Julian Descottes
c02f0ed974 Bug 1678550 - [devtools] Move nested require calls to the top of damp.js r=perftest-reviewers,nchevobbe,ochameau
Depends on D97731

We used to delay those calls because they needed rootURI to be set. This is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D97732
2021-01-04 13:09:44 +00:00
Julian Descottes
c8ceefd607 Bug 1678550 - [devtools] Use require instead of ChromeUtils.import in damp.js r=perftest-reviewers,nchevobbe,ochameau,AlexandruIonescu
Depends on D97729

Remove some leftover ChromeUtils.import usage

Differential Revision: https://phabricator.services.mozilla.com/D97731
2021-01-04 13:08:40 +00:00
Julian Descottes
0b41d10929 Bug 1678550 - [devtools] Use absolute paths in DAMP require calls r=perftest-reviewers,AlexandruIonescu,ochameau,nchevobbe
Depends on D97727

Similar to what was done for the devtools/ folder, we should use absolute paths in all our require calls.

Differential Revision: https://phabricator.services.mozilla.com/D97729
2021-01-04 13:07:25 +00:00
Julian Descottes
d8c21acf2f Bug 1678550 - [devtools] Load damp.js using the main DevTools Loader r=perftest-reviewers,nchevobbe,ochameau
Depends on D97626

Differential Revision: https://phabricator.services.mozilla.com/D97727
2021-01-04 13:07:08 +00:00
Nicolas Chevobbe
b45dc96375 Bug 1681285 - [devtools] Modify objectexpand DAMP test to have better perf coverage. r=jdescottes,perftest-reviewers.
We now print a thousand object in a console.log message
before doing the console.dir call and measure how long it takes.
Having multiple ObjectInspector instances can have dramatic
impact on the expand performance of a single instance (See Bug 1599317).

Differential Revision: https://phabricator.services.mozilla.com/D99203
2021-01-04 13:32:52 +00:00
Mike Conley
5073b76a30 Bug 1579683 - Disable the about:home startup cache for startup_about_home_paint_realworld_webextensions. r=sparky,perftest-reviewers
The root cause of the intermittens on startup_about_home_paint_realworld_webextensions is
the same as bug 1220362. Fixing that should fix this one too. In the mean time, we'll
disable the configuration for this test.

Differential Revision: https://phabricator.services.mozilla.com/D99960
2020-12-17 21:57:06 +00:00
Bob Clary
05d29ba882 Bug 1681096 - python3 - pylint --py3k - W1633: round built-in referenced (round-builtin) r=marionette-reviewers,perftest-reviewers,aki,gbrown,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D99067
2020-12-09 15:10:53 +00:00
Bob Clary
9e125ea710 Bug 1681096 - python3 - pylint --py3k - W1619: from __future__ import division r=marionette-reviewers,perftest-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D98938
2020-12-11 16:05:25 +00:00
Julian Descottes
df6261692f Bug 1678379 - [devtools] Replace DAMP framescript by js window actors r=perftest-reviewers,ochameau
This doesn't fix anything, but it would be cleaner to remove some framescript/mm usage from DAMP

Differential Revision: https://phabricator.services.mozilla.com/D97626
2020-12-07 17:08:26 +00:00
Victor Porof
86fb638006 Bug 1654192 - Part 2: Update xulstore to use RKV in safe mode, r=nanj,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D85315
2020-12-07 07:24:40 +00:00
Mihai Alexandru Michis
d88071abc9 Backed out 5 changesets (bug 1654192, bug 1680230) for causing tsan bc failures in RWLock.
CLOSED TREE

Backed out changeset 804ccdf33ae8 (bug 1680230)
Backed out changeset 2ced955ab891 (bug 1680230)
Backed out changeset b09ca0548784 (bug 1654192)
Backed out changeset a92f0deb07b2 (bug 1654192)
Backed out changeset 26abc175808e (bug 1654192)
2020-12-07 09:21:15 +02:00
Victor Porof
13845b7762 Bug 1654192 - Part 2: Update xulstore to use RKV in safe mode, r=nanj,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D85315
2020-12-07 06:29:40 +00:00
Mike Conley
4a36b77818 Bug 1651311 - Make sure TART test waits until browser window idle tasks have finished running before starting. r=sparky,perftest-reviewers
In bug 1633635, tabs were altered so that they don't animate during the first
few event loop ticks of a new window. This made it so that TART would sometimes
race the function that resumed tab animations. When TART won the race, it would
open a tab that would open without animation, and then timeout waiting for that
animation to complete.

This patch makes it so that TART waits until the first window has completed its
idle tasks, meaning that tab animations should be enabled for the window.

Differential Revision: https://phabricator.services.mozilla.com/D98399
2020-12-02 20:22:39 +00:00
Julian Descottes
88119f7f9e Bug 1574417 - [devtools] Disable netmonitor/compicated DAMP test on Fission platform r=bomsy,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97821
2020-11-30 13:12:22 +00:00
Julian Descottes
5840da2993 Bug 1677587 - [devtools] Disable DAMP inspector & styleeditor complicated tests if fission.autostart is true r=ochameau,perftest-reviewers,sparky
Leverage the "disabled" property available on the DAMP test index to conditionally skip inspector/complicated on fission platforms.

Differential Revision: https://phabricator.services.mozilla.com/D97219
2020-11-17 16:19:11 +00:00
Sylvestre Ledru
c0f6fe8caf Bug 1562642 - Add missing license headers r=mhoye,marionette-reviewers,webdriver-reviewers,perftest-reviewers,tarek
Differential Revision: https://phabricator.services.mozilla.com/D97138
2020-11-17 02:06:54 +00:00
Andreea Pavel
1cde5c0d67 Bug 1503499 - disable damp | inspector/complicated.js for frequent failures r=intermittent-reviewers,perftest-reviewers,sparky,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D96330
2020-11-09 12:34:01 +00:00
Gijs Kruitbosch
a6e8f36d35 Bug 1674053 - do not toggle the bookmarks toolbar in the middle of the tabswitch test, r=mconley,perftest-reviewers,kimberlythegeek
Differential Revision: https://phabricator.services.mozilla.com/D96263
2020-11-06 22:24:14 +00:00
Gregory Mierzwinski
5bedaec4dc Bug 1562883 - Handle when a talos result is written on two lines. r=perftest-reviewers,Bebe
This patch takes care of a case where a talos result line is written on two lines rather than one. The reason for why it's being written on two lines needs to be investigated in the future. There doesn't seem to be any hidden characters in the lines so it's likely related to `dump` or the `MozillaFileLogger`.

Differential Revision: https://phabricator.services.mozilla.com/D96120
2020-11-06 15:40:20 +00:00
Greg Tatum
3986877f46 Bug 1674219 - Provide the basic documentation for Talos; r=sparky,perftest-reviewers
This patch adds the basic docs for Talos using the PerfDocs system. It
includes a high-level overview of what Talos is, and how to interact with
it.

Differential Revision: https://phabricator.services.mozilla.com/D95604
2020-11-05 15:42:35 +00:00
Geoff Brown
7df7df7e85 Bug 1674736 - [talos] Import Structure and pointer directly from ctypes; r=perftest-reviewers,Gijs,sparky
Differential Revision: https://phabricator.services.mozilla.com/D95603
2020-11-03 13:46:42 +00:00
Geoff Brown
e83b64c0b7 Bug 1638986 - Run 'mach talos-test' with python 3; r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94770
2020-10-29 00:23:51 +00:00
Ricky Stewart
210585edd2 Bug 1672023 - Remove excluded files from black.yml
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94052

Depends on D94045
2020-10-26 18:21:44 +00:00
Ricky Stewart
02a7b4ebdf Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00