Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 0820be3463 Bug 1474208: Use median of all process values for AWSY base content. r=erahm
MozReview-Commit-ID: DBiJjeTlyZE

--HG--
extra : rebase_source : deb1d6265e3d2d77a85e3c5f1b32f274c866a623
2018-07-08 11:50:46 -07:00
Venkatesh Pitta 514d9d09b5 Bug 1452490 - Remove marionetteScriptFinished. r=whimboo
MozReview-Commit-ID: CdQCmtaodww

--HG--
extra : rebase_source : a950bc89194a866c4fa27fded1d2aed707ee750f
2018-07-08 14:52:49 +10:00
Eric Rahm d545dc0998 Bug 1470831 - Only disable sandboxing in dmd builds. r=bc
Disabling sandboxing seems to cause a memory regression for win32 builds which
affects our AWSY numbers. This switches over to only disabling sandboxing if
using a DMD build so that we can still run without crashing.

--HG--
extra : rebase_source : 9887c19cdd746aec9f6d9e64561f2226cd1ce443
2018-06-25 11:52:21 -07:00
Henrik Skupin 894f69b8b2 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6

--HG--
extra : rebase_source : 1c6c8de55def6026da467d589ec3a8b511986125
2018-06-22 13:32:05 +02:00
Margareta Eliza Balazs 38873b16e7 Backed out changeset 52e86ed85e54 (bug 1470414) for bustage in ./config/tests/test_mozbuild_reading.py::TestMozbuildReading on a CLOSED TREE 2018-06-25 17:29:18 +03:00
Henrik Skupin df65676052 Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal
MozReview-Commit-ID: F5vHc4G13v6

--HG--
extra : rebase_source : c39293be7a60ecc22be2f385671769f371dca06b
2018-06-22 13:32:05 +02:00
Eric Rahm e6892b931a Bug 1442361 - Track explicit memory usage in the base content memory test. r=mccr8
--HG--
extra : rebase_source : f6ef9d4f541c7df1dfbb0297613ec0c011688d29
2018-06-21 14:57:12 -07:00
Eric Rahm 5ab7117b5c Bug 1395540 - Part 5: Enable DMD in automation. r=bc
This adds support running AWSY with DMD in automation via mozharness. We use
existence of dmd.py to detect whether or not dmd should be enabled.
Additionally sandboxing has to be disabled in order to avoid crashes on Windows
and OSX.

--HG--
extra : rebase_source : 1576dbb98bc2cff565ea5055daaec5a44aed88a8
2018-06-15 09:59:18 -07:00
Ryan Hunt b00603123d Bug 1426499 - Add an error message for unzipping tp5n on windows. r=erahm
--HG--
extra : rebase_source : e6999c6a418acc3ff616d4e79977d08fb0e49187
2018-05-16 13:55:37 -05:00
Ryan Hunt 4846d7b517 Bug 1426499 - Disable windows content process sandbox when using DMD with AWSY. r=erahm
--HG--
extra : rebase_source : 9af460b07207c8bd2b0187b41ba65fe00c03871a
2018-05-17 13:46:29 -05:00
Eric Rahm 1ff3563202 Bug 1457243 - Part 7: Followup - Setup base case testvars. r=me
We need testvars for the base case as well.

--HG--
extra : rebase_source : 0fbe7b3e206262d47f78e1289dceb02878ad987b
extra : histedit_source : fd1eabcc887e91dff8f4ec2e00b03fcd8bb68c9b
2018-05-11 14:33:12 -07:00
Eric Rahm 9b852df17e Bug 1457243 - Part 6: Hook in the about:blank awsy test to automation. r=bc
--HG--
extra : rebase_source : 9eb7f7bb6609c1aa20fdf1ef3395ce91e5b8afeb
2018-05-08 16:05:33 -07:00
Eric Rahm 72e5391ee5 Bug 1457243 - Part 5: Add base case AWSY test that just measures about:blank. r=bc
--HG--
extra : rebase_source : 7be4c67e6de6c482bbb7741c5a307d32246f177b
2018-05-09 16:48:49 -07:00
Eric Rahm 9370dfd92b Bug 1457243 - Part 4: Support filtering on process names and limit process count. r=bc
This adds support for only gathering data for a given process type. It also
allows you to limit the number of processes included in a measurement.

--HG--
extra : rebase_source : f4c172ff151f6739f0222f0e1c36bc299fe1d3d7
2018-05-09 16:33:42 -07:00
Eric Rahm 02116be10a Bug 1457243 - Part 3: Split out a base awsy test case. r=bc
--HG--
extra : rebase_source : b90844900688c78acc32cc337d7e78b022a2244f
2018-05-09 16:37:21 -07:00
Eric Rahm f02182a347 Bug 1457243 - Part 2: Allow checkpoints and perf_suites to be passed in to process_perf_data. r=bc
--HG--
extra : rebase_source : 6079a2ed599647b1bb0631c3542f475c457d94d0
2018-05-09 16:42:32 -07:00
Eric Rahm c8048bf57a Bug 1457243 - Part 1: Support zero values for awsy params in mach_commands. r=bc
--HG--
extra : rebase_source : cd9006c267e627ad4ab75eb997145cf4489dc21c
2018-05-09 16:31:52 -07:00
Emilio Cobos Álvarez 24cf27d33c Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 19:13:26 +01:00
Csoregi Natalia d6c6d38406 Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez 330ddd82bf Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 17:24:41 +01:00
Emilio Cobos Álvarez e9676561ce Bug 1446954: Remove support for running tests on automation without stylo configurations. r=froydnj
You can still run them on a --disable-stylo build, as long as that works
(presumably not for long).

I think I haven't missed anything, but please double-check.

MozReview-Commit-ID: 3BIAEjgTLo5
2018-03-20 11:29:08 +01:00
Bob Clary 120bb04de2 Bug 1437215 - Measure WebRender memory usage on Linux x86_64 using AWSY tests, r=jmaher 2018-02-21 05:52:04 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Mike Hommey 2b2a874b47 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 8e7cf975d096116b666532f3fe8aa5a7f61b5725
2017-11-28 08:10:48 +09:00
Mike Hommey 1e631092c5 Bug 1420355 - Don't initialize DMD if the DMD environment variable is not given. r=njn
This makes things slightly more inconvenient (having to set two
environment variables instead of one for the simplest case) until a few
patches down the line, when DMD is statically linked, at which point it
will get down to one environment variable every time.

--HG--
extra : rebase_source : 08dc3c05318b572ae1026227d0369fa8bf21b20f
2017-11-28 08:10:07 +09:00
Csoregi Natalia 4ce8d0124c Backed out 7 changesets (bug 1420355) for mass failures on OS X and Android. r=backout on a CLOSED TREE
Backed out changeset a7ed89e13a4c (bug 1420355)
Backed out changeset fd6702e6e0a0 (bug 1420355)
Backed out changeset 0479dda078a2 (bug 1420355)
Backed out changeset e69357ccca9e (bug 1420355)
Backed out changeset 3742a4b69ba2 (bug 1420355)
Backed out changeset 451cd087922f (bug 1420355)
Backed out changeset d80b5c4e1dd0 (bug 1420355)
2017-11-29 03:08:46 +02:00
Mike Hommey 7c62087a43 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 46800c9c0c5006a5a32f11abc209da27e65ae0f5
2017-11-28 08:10:48 +09:00
Mike Hommey 0a3b6c9813 Bug 1420355 - Don't initialize DMD if the DMD environment variable is not given. r=njn
This makes things slightly more inconvenient (having to set two
environment variables instead of one for the simplest case) until a few
patches down the line, when DMD is statically linked, at which point it
will get down to one environment variable every time.

--HG--
extra : rebase_source : 08dc3c05318b572ae1026227d0369fa8bf21b20f
2017-11-28 08:10:07 +09:00
Eric Rahm 4ee0f7aef5 Bug 1395540 - Part 4: Fix the DMD stacks. r=njn
This runs the DMD files through the DMD stack fixer so that we end up with
usable stacks instead of just offsets into libxul.

--HG--
extra : rebase_source : 486a9e0f97e9a0b5374784c8c5986449a7c12478
2017-09-21 14:41:44 -07:00
Eric Rahm 8ac1b58cf5 Bug 1395540 - Part 3: Move DMD files to results dir. r=bc
Adds logic to copy the DMD files that are generated in the temp dir to the
proper results dir.

--HG--
extra : rebase_source : 25ec05673db10654b86004e820bac1628c8a2382
2017-09-21 12:41:57 -07:00
Eric Rahm eb23156a98 Bug 1395540 - Part 2: Add support for dumping DMD reports. r=bc
This updates `test_memory_usage.py` to handle generating DMD reports.

--HG--
extra : rebase_source : e61a89d6b81602548aac2af847c9b417185e4eab
2017-09-21 12:15:45 -07:00
Eric Rahm 18943cf448 Bug 1395540 - Part 1: Add support for --dmd to awsy. r=bc
This adds a '--dmd' param to the |mach awsy-test| command. It checks that the
build is in fact a DMD build and then adds the appropriate env vars to run with
DMD enabled.

--HG--
extra : rebase_source : 944fbe847ea22d4980f79333c0d86c0c490cefea
2017-09-20 18:35:10 -07:00
J. Ryan Stinnett 2b8c3809c2 Bug 1393234 - Add --disable-stylo for AWSY. r=jmaher
MozReview-Commit-ID: Ap1BbJja358

--HG--
extra : rebase_source : 344b53eed4c1d25978ded238d5720b013e1515b0
2017-08-24 17:48:58 -05:00
Eric Rahm 3b76eb5771 Bug 1386828 - Use marionette.close to close tabs. r=whimboo
MozReview-Commit-ID: AL5yTSbX5Mn
2017-08-10 11:19:08 -07:00
Bob Clary 8d2f89877e Bug 1378526 - Measure Stylo memory usage using AWSY tests, r=erahm, kmoir. 2017-08-01 15:59:22 -07:00
Eric Rahm 9ccb00f361 Bug 1386407 - Part 2: Use prefs.json when testing locally. r=bc
We specify '--preferences' in `awsy_script.py`, but weren't doing so for
local testing. This uses 'conf/prefs.json' by default, but lets the user
override that by specifying '--preferences'.

MozReview-Commit-ID: 5j7a1LA4e8a
2017-08-01 15:55:45 -07:00
Eric Rahm d38798a2a9 Bug 1386407 - Part 1: Disable javascript.options.asyncstack during AWSY testing. r=bc
This avoids the extra memory overhead from providing debug information for
promises. The `javascript.options.asyncstack` pref is disabled by default in
release and beta so this better mirrors what users will see.

MozReview-Commit-ID: 5H8Kc08hjq9
2017-08-01 15:55:44 -07:00
Eric Rahm 6d3d4f0f2d Bug 1382889 - Part 2: Add a checkpoint between closing tabs and clearing the preloaded process. r=bc
This adds an additional measurement before we clear the preloaded process. It
will allow us to track future regressions within the preloaded process.

MozReview-Commit-ID: Bza7VscEqH3
2017-07-26 12:07:17 -07:00
Eric Rahm 494d797d52 Bug 1382889 - Part 1: Clear the preloaded process after closing tabs. r=bc
Clears the preloaded process that can be kept alive by various new features so
that our 'TabsClosed' metrics continue to measure the same thing, mainly 1
chrome process and 1 content process sticking around.

MozReview-Commit-ID: L4g45o4mTzR
2017-07-26 12:07:16 -07:00
Henrik Skupin 9b6fba71c7 Bug 1366199 - Relax marionette-harness depencency for AWSY. r=erahm
MozReview-Commit-ID: Js5ppUYSSpn

--HG--
extra : rebase_source : 49bcf0fb53157dedbf1bfcad49f4684dfe610a7c
2017-06-28 14:57:03 -07:00
Andrew McCreight 9407ff76bb Bug 1372714 - Add an option to output parse_about_memory.py results in mebibytes. r=erahm
This makes it easier to compare results to about:memory.
2017-06-14 10:30:00 -07:00
Eric Rahm 225659c3fd Bug 1372667 - Part 2: Clean up path_total. r=mccr8
This attempts to make the path_total function more legible.

MozReview-Commit-ID: 4quRaQ4DV9j
2017-06-14 15:09:49 -07:00
Andrew McCreight 1c02e9be58 Bug 1372667 - Only count heap memory once in totals_heap. r=erahm 2017-06-13 11:59:00 -07:00
Eric Rahm 61c1bb639a Bug 1372437 - Part 2: Update paths to include slash for prefix match. r=mccr8
MozReview-Commit-ID: Br5FN3mOzYD
2017-06-14 15:09:47 -07:00
Eric Rahm a60afc36f3 Bug 1372437 - Part 1: Perform an exact match if path does not end in a slash. r=mccr8
This changes the about memory parser to only perform prefix matches if the
path ends in a '/'. For example:

> parse_about_memory.py memory-report.json.gz 'resident'

Will match the 'resident' node, but not 'resident-unique'.

MozReview-Commit-ID: CK2jAemGNDn
2017-06-14 15:09:46 -07:00
Greg Mierzwinski 970a7becae Bug 1370242 - Prevent performance data from being uploaded when collecting code coverage. r=jmaher
This patch is to prevent performance data from being collected when code coverage is running. It uses the environment variables that are set when code coverage is being collected to detect when it shouldn't gather the data.

MozReview-Commit-ID: 777vfmwYbe0

--HG--
extra : rebase_source : 3cf5acb78b6ca93468d3dc78f8266c0a056a75b1
2017-06-07 10:35:04 -04:00
Bob Clary ede18a1fad Bug 1368751 - AWSY - use proper Windows paths in checkpoint script, r=jmaher 2017-05-31 06:44:14 -07:00
Marco Bonardo 91ef3de4ff Bug 1368114 - Don't mesure memory added by a notification shown only a few times to the user in AWSY. r=jmaher
MozReview-Commit-ID: 78qq7liztWw

--HG--
extra : rebase_source : 47cde0aedbeaf1c13a29b2281a69f2364e2b6d53
2017-05-27 10:38:46 +02:00
Mike Hommey b40c223d77 Bug 1356683 - Use new tooltool wrapper in AWSY jobs. r=chmanchester
--HG--
extra : rebase_source : d6886900951d0b26a43c6b5e1ff2dcb2cee5c81c
2017-04-12 18:01:46 +09:00
Bob Clary 42eac0f31a Bug 1352054 - Support mach awsy-test on Windows, r=erahm, jmaher. 2017-04-20 16:07:07 -07:00