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

29 Коммитов

Автор SHA1 Сообщение Дата
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
Mike Hommey 4d1881e4dd Bug 1355731 - Move tooltool to mozbuild.action. r=gps
--HG--
rename : taskcluster/docker/recipes/tooltool.py => python/mozbuild/mozbuild/action/tooltool.py
extra : rebase_source : 6278d8692956a67f37fd788df894657d6eeb53e8
2017-02-22 17:20:41 +09:00
Bob Clary 4849aa94ec Bug 1344805 - Get AWSY running on Windows, r=jmaher,pyang,erahm. 2017-03-29 01:47:47 -07:00
Bob Clary d121f31c70 Bug 1344813 - Only start as many web servers as required, r=jmaher,pyang,erahm. 2017-03-29 01:47:46 -07:00
Bob Clary 90bbf056bc Bug 1344813 - remove template urls from awsy, r=jmaher,pyang,erahm. 2017-03-29 01:47:46 -07:00
Bob Clary 62e02ee002 Bug 1344813 - Implement AWSY as a marionette-based mach command, r=jmaher,pyang,erahm.
usage: mach [global arguments] awsy-test [command arguments]

mach awsy-test runs the in-tree version of the Are We Slim Yet
(AWSY) tests.

awsy-test is implemented as a marionette test and marionette
test arguments also apply although they are not necessary
since reasonable defaults will be chosen.

The AWSY specific arguments can be found in the Command
Arguments for AWSY section below.

awsy-test will automatically download the tp5n.zip talos
pageset from tooltool and install it under
topobjdir/_tests/awsy/html. You can specify your own page set
by specifying --web-root and --page-manifest.

The results of the test will be placed in the results
directory specified by the --results argument.

Command Arguments for AWSY:
  --web-root WEBROOTDIR
                        Path to web server root directory. If not specified,
                        defaults to topobjdir/_tests/awsy/html.
  --page-manifest PAGEMANIFEST
                        Path to page manifest text file containing a list of
                        urls to test. The urls must be served from localhost.
                        If not specified, defaults to
                        page_load_test/tp5b/tp5n.manifest under the web root.
  --results RESULTSDIR  Path to results directory. If not specified, defaults
                        to the parent directory of the web root.
  --quick               Set --entities=3, --iterations=1, --per-tab-pause=1,
                        --settle-wait-time=1 for a quick test. Overrides any
                        explicit argument settings.
  --entities ENTITIES   Number of urls to load. Defaults to the total number
                        of urls.
  --max-tabs MAXTABS    Maximum number of tabs to open. Defaults to 30.
  --iterations ITERATIONS
                        Number of times to run through the test suite.
                        Defaults to 5.
  --per-tab-pause PERTABPAUSE
                        Seconds to wait in between opening tabs. Defaults to
                        10.
  --settle-wait-time SETTLEWAITTIME
                        Seconds to wait for things to settled down. Defaults
                        to 30.
2017-03-29 01:47:46 -07:00
Bob Clary 286293c16e Bug 1344813 - prepare awsy for mach command, r=jmaher,pyang.
* parse_about_memory.py
  - remove extraneous data variable.
* test_memory_usage.py
  - get webRootDir, resultsDir from testvars to support mach command.
  - standardize directories.
  - catch exceptions thrown by marionette when closing tabs.
* awsy_script.py
  - change to use webRootDir, resultsDir and to pass to test_memory_usage.py
    in additional testvars.json file.
  - standardize directories.
  - set strict=False in StructuredOutputParser in order to prevent ascii
    encoding errors due to marionette loading csdn.net and outputing non-ascii
    to stdout.
2017-03-29 01:47:45 -07:00
Paul Yang 8b5af739b2 Bug 1272113: Adding awsy package into m-c r=erahm
MozReview-Commit-ID: GVtHMiipWBT

--HG--
extra : rebase_source : 51d1595d636cb34f7a707c7320d3ab7b3511f3c2
2017-03-11 02:33:19 +08:00