Commit Graph

1403 Commits

Author SHA1 Message Date
Greg Mierzwinski
daeb6dd2b4 Bug 1930248 - Use ms for cpuTime, and wallclock metrics. r=perftest-reviewers,afinder
Differential Revision: https://phabricator.services.mozilla.com/D228487
2024-11-13 20:01:04 +00:00
Greg Mierzwinski
3cda73cabd Bug 1928140 - Rename power usage metric to powerUsage, and only gather one version of it. r=fbilt,perftest-reviewers
This patch renames the power usage metrics to be only `powerUsage` and removes the `Support`/`Pageload` suffixes. At the same time, it makes sure that only one type of these measuerments is ever recorded.

Differential Revision: https://phabricator.services.mozilla.com/D227379
2024-11-07 12:20:19 +00:00
Greg Mierzwinski
19a9e0227e Bug 1927863 - Rename cpu time metric to cpuTime, and only gather one version of it. r=fbilt,perftest-reviewers
This patch changes the names of the cpu time metric to only be `cpuTime`, and removes the cpuTimePageload, and cpuTimeSupport metric. Also, only one version of it will ever be gathered (benchmark one if it exists, otherwise the pageload one).

Differential Revision: https://phabricator.services.mozilla.com/D227276
2024-11-07 12:20:18 +00:00
Greg Mierzwinski
03c257d609 Bug 1925593 - Enable power testing for pageload on Windows 11. r=perftest-reviewers,kshampur
This patch enables power testing for pageload tests on windows 11. It also fixes a couple issues related to gathering additional metrics for pageloads.

Differential Revision: https://phabricator.services.mozilla.com/D227188
2024-11-07 12:20:18 +00:00
Greg Mierzwinski
169156f38e Bug 1926288 - Gather power usage profile from android support measurements. r=perftest-reviewers,afinder
This patch adds the ability to gather a power profile for support measurements. This power profile is produced in the browsertime results directory.

Differential Revision: https://phabricator.services.mozilla.com/D227187
2024-11-07 12:20:18 +00:00
Greg Mierzwinski
06a71d19d9 Bug 1926930 - Move power profile artifacts to browsertime-results directory. r=perftest-reviewers,kshampur
This patch moves the power_profile_* artifacts from the upload directory to the browsertime results directory when the test is finished. It also adds a new method that can be used in other areas to generate the correct path to the result directory.

Differential Revision: https://phabricator.services.mozilla.com/D227186
2024-11-07 12:20:17 +00:00
KS
0555343742 Bug 1922364 - remove loadtime metric in tp6-bench r=perftest-reviewers,sparky
The loadtime metric has not been to useful so let's remove it

Differential Revision: https://phabricator.services.mozilla.com/D227754
2024-11-06 21:18:52 +00:00
Sylvestre Ledru
d35ba16a18 Bug 1918098 - ruff: fix the errors identified by 0.6.4 r=linter-reviewers,taskgraph-reviewers,releng-reviewers,webdriver-reviewers,perftest-reviewers,migration-reviewers,jmaher,whimboo,sparky,xpcom-reviewers,beth,ahal,mconley
Differential Revision: https://phabricator.services.mozilla.com/D221874
2024-11-06 12:51:32 +00:00
Kershaw Chang
b93bfb85cd Bug 1925675 - Force HTTP/3 for performance tests, r=sparky,perftest-reviewers,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D226197
2024-11-04 12:55:19 +00:00
Kershaw Chang
2e5a6f729a Bug 1925554 - Configure caddy to use static file for download test, r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D226196
2024-11-04 12:55:19 +00:00
Sylvestre Ledru
cd289bcb06 Bug 1921433 - reformat with black 24.8.0 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,taskgraph-reviewers,releng-reviewers,dom-storage-reviewers,janv,jmaher,whimboo,afinder,ahal
Differential Revision: https://phabricator.services.mozilla.com/D223963
2024-11-03 20:28:59 +00:00
Greg Mierzwinski
8b177c7d88 Bug 1925589 - Pass iterationIndex argument in Windows 11 power profiling script. r=perftest-reviewers,kshampur
This patch fixes an issue where the iteration index was undefined because it wasn't being passed properly (missing in one of the function calls).

Differential Revision: https://phabricator.services.mozilla.com/D226552
2024-10-23 12:22:24 +00:00
Sylvestre Ledru
7f19f07519 Bug 1926284 - Ride along: fix other fenix links r=android-reviewers,geckoview-reviewers,tthibaud,owlish DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D226494
2024-10-23 08:38:09 +00:00
KS
6a2b69267e Bug 1920821 - Enable mitmproxy 11.0.0 on Windows/MacOS r=perftest-reviewers,sparky
This patch enables performance pageload tests to now use mitmproxy
11.0.0, only on the Mac/Windows platform.
This will run on a subset of tests as the binary doesn't properly run on
old recordings (e.g. mitm 6) but seems to run fine on recordings mitm7
and greater.

Additionally, the mitmproxy version for android is bumped from 10 -> 11.
Although 10.x.x was only recently landed, 11 was released shortly after
so we might as well keep all platforms on the same version where
possible.

Differential Revision: https://phabricator.services.mozilla.com/D224383
2024-10-21 22:13:45 +00:00
florin.bilt
1d1a1f4640 Bug 1881556 - Add documentation on the cpuTime metric to raptor documentation r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D223298
2024-10-11 09:52:43 +00:00
Kershaw Chang
69d3815717 Bug 1895361 - Implement network throttling based on dynamic conditions, r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D222785
2024-10-10 14:39:38 +00:00
KS
0989e534a0 Bug 1890306 - Add mitmproxy 10 for use on android performance testing. r=perftest-reviewers,sparky
This patch makes available the mitm 10 binary for android, and at the
moment only runs it on recordings using version 8 as there are errors on
older versions so we might as well wait until we record those.

These subset of sites are bild-de, allrecipes, instagram, and sina

Differential Revision: https://phabricator.services.mozilla.com/D223829
2024-10-02 17:43:20 +00:00
Greg Mierzwinski
8c395a0146 Bug 1910874 - Add Windows 11 power testing to benchmark support tooling. r=perftest-reviewers,taskgraph-reviewers,jmaher,aglavic
This patch adds Windows 11 power testing to our benchmark support tooling. It also removes the condition that prevented desktop from using the --power-test option.

At the same time some modifications are made to Chrome tasks running on Windows 11 to be able to use the xpcshell binary for the power usage testing.

Differential Revision: https://phabricator.services.mozilla.com/D222181
2024-09-25 18:31:11 +00:00
Greg Mierzwinski
210398706d Bug 1910874 - Move windows power profiling into separate methods. r=perftest-reviewers,fbilt
This patch moves the windows power profiling code into separate methods so they can be used in benchmarks to gather power usage during the benchmark itself.

Differential Revision: https://phabricator.services.mozilla.com/D222180
2024-09-25 18:31:10 +00:00
Greg Mierzwinski
fef9ba8274 Bug 1918792 - Add tooling for power testing in benchmarks on android. r=perftest-reviewers,kshampur
This patch adds tooling for producing android power usage measurements in benchmark-like tests. It makes use of the usb-power-profiling module that comes with Browsertime. Some changes are needed to pass the Browsertime node-modules path to the user-scripts.

Differential Revision: https://phabricator.services.mozilla.com/D222179
2024-09-25 18:31:10 +00:00
Greg Mierzwinski
dc53ea281a Bug 1917662 - Modify methodology for gathering CPU times in benchmarks. r=perftest-reviewers,kshampur
This patch changes how cpuTime is produced, and gathered for benchmark tests. It makes use of the new SupportMeasurements class.

The cpuTime for desktop on all browsers is produced using the `os` node module, and only the increase in user+system time is reported over the duration of the benchmark test. This measurement isn't process-specific.

On Android, the cpuTime is produced by using the shell `ps` command. We take all the processes for a given package, and then report the sum of the increase in cpuTime used by those processes at the end of the test (similar to desktop).

Measurements are parsed by the BaseSupportPython class in the `add_additional_metrics` method.

Differential Revision: https://phabricator.services.mozilla.com/D221728
2024-09-25 18:31:09 +00:00
Greg Mierzwinski
137285203b Bug 1917662 - Rework additional metrics parsing for support classes. r=perftest-reviewers,fbilt
This patch reworks the additional metrics parsing for support classes into a more generic method. It separates the metric parsing into multiple methods as well to make it simpler for other support classes to use them directly.

At the same time, these changes make better use of the saved data for building the measurements, and adds functionality that allows callers to specify if they want cold, or warm measurements (in case these need to be separate).

Some comments are modified as well to better reflect inputs, and what the methods are meant to be used for.

Differential Revision: https://phabricator.services.mozilla.com/D222178
2024-09-25 18:31:09 +00:00
Greg Mierzwinski
a42adb2db1 Bug 1917662 - Rework support class import, and fix flatten bug. r=perftest-reviewers,afinder
This patch fixes an issue with the support class import tooling. Instead of residing in the utils.py file, it'll now reside in it's own file to resolve circular dependency issues related to using utils.py code in support classes. A bug in the flatten code is also fixed here (adding a base case for it).

Differential Revision: https://phabricator.services.mozilla.com/D222177
2024-09-25 18:31:08 +00:00
Joel Maher
90e8dd7b5a Bug 1907273 - strict=true for .toml expressions. r=extension-reviewers,robwu,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D220794
2024-09-18 11:54:15 +00:00
KS
d4336afd76 Bug 1886026 - Disable motionmark 1.0 tests. r=perftest-reviewers,taskgraph-reviewers,jmaher,sparky
We have motionmark 1.3 tests running already and we are no longer
interested in motionmark 1.0 so this patch removes it from our testing.

Differential Revision: https://phabricator.services.mozilla.com/D221533
2024-09-16 14:17:25 +00:00
Alex Finder
e184843f79 Bug 1898514 Add custom-car to available apps for browsertime-tp6 tasks r=perftest-reviewers,kshampur,taskgraph-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D217553
2024-09-16 14:15:49 +00:00
Julian Descottes
15feebb264 Bug 1917003 - [eslint] Fix violations for reject-multiple-await r=perftest-reviewers,credential-management-reviewers,places-reviewers,issammani,daisuke,sparky
Depends on D221187

Differential Revision: https://phabricator.services.mozilla.com/D221306
2024-09-16 09:13:30 +00:00
florin.bilt
5583cb2770 Bug 1917839 - Re-record allrecipes for mobile r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D221646
2024-09-16 08:12:21 +00:00
KS
d50b71ab7c Bug 1910977 - Update to motionmark 1.3.1. r=perftest-reviewers,aglavic
This patch updates the patch version of motionmark 1.3.0 -> 1.3.1

Differential Revision: https://phabricator.services.mozilla.com/D221484
2024-09-12 14:53:19 +00:00
andrej
8dc62a2a46 Bug 1905954 - Enable cpuTime metric on sp3 test. r=perftest-reviewers,sparky
As part of out expanding performance metrics for resource usage we are adding the cpuTime metric to track CPU time in various performance tests on mobile and desktop tests for firefox browsers only

Differential Revision: https://phabricator.services.mozilla.com/D217146
2024-09-12 13:42:58 +00:00
Kershaw Chang
5015857851 Bug 1916996 - Add support for running upload/download test with Chrome, r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221195
2024-09-11 13:21:58 +00:00
Greg Mierzwinski
ead28ffe23 Bug 1916833 - Add tooling for support measurements in custom test scripts. r=aglavic,perftest-reviewers
This patch adds the first step in consolidating our support measurement tooling for custom scripts into a single location. A new file is added that is imported into the speedometer3 tests and produces a new wallclock time metric for sp3 on all platforms, and browsers.

Two methods are exported from the support_measurements.js file to make is simple to integrate into existing scripts (a start, and stop command).

Differential Revision: https://phabricator.services.mozilla.com/D221080
2024-09-11 11:52:47 +00:00
Butkovits Atila
e86369828a Backed out changeset b38c66343921 (bug 1905954) for causing btime failures complaining about raw_result. CLOSED TREE 2024-09-10 01:29:49 +03:00
andrej
58f5598e75 Bug 1905954 - Enable cpuTime metric on sp3 test. r=perftest-reviewers,sparky
As part of out expanding performance metrics for resource usage we are adding the cpuTime metric to track CPU time in various performance tests on mobile and desktop tests for firefox browsers only

Differential Revision: https://phabricator.services.mozilla.com/D217146
2024-09-09 14:15:44 +00:00
Kershaw Chang
e9472219fe Bug 1895363 - Implement handle_result in NetworkBench, r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D219970
2024-09-05 08:41:55 +00:00
Kershaw Chang
da7315d1ab Bug 1895362 - Add h3-download test, r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D219963
2024-09-05 08:41:55 +00:00
Gregory Pappas
cf796e320f Bug 1914578 - Remove EventTracer r=perftest-reviewers,geckoview-reviewers,win-reviewers,profiler-reviewers,mstange,sparky,gstoll,owlish
Differential Revision: https://phabricator.services.mozilla.com/D219955
2024-08-31 03:39:50 +00:00
KS
6484c6d869 Bug 1910111 - Resolve A55 failures by changing the external storage condition. r=perftest-reviewers,taskgraph-reviewers,sparky,jmaher,ahal
This patch changes the external storage to accomodate condprof creation
and subsequently performance testing tasks are enabled on the A55.

Differential Revision: https://phabricator.services.mozilla.com/D220067
2024-08-28 20:22:14 +00:00
Greg Mierzwinski
b4edb62122 Bug 1915455 - Don't use pageload support script for constant-regression test. r=kshampur,perftest-reviewers
This fixes a perma caused by the pageload support script changes.

Differential Revision: https://phabricator.services.mozilla.com/D220472
2024-08-28 18:39:29 +00:00
Greg Mierzwinski
41f41efc68 Bug 1914370 - Move pageload result/output handling to a support script. r=perftest-reviewers,kshampur
This patch moves the pageload result/output handling out of the results.py/output.py files, and into the browsertime_pageload.py support script. Unit tests, and the tests themselves are modified for this. The move is mostly a copy-paste from the result/output files, with some additional changes for handling the args passed into the test.

At the same time, the code where the results were previously handled is replaced with an exception to ensure that future tests use the support script instead of the results code. The output code is still being used by other custom tests that use `custom_data`, but then have their data parsed by the pageload-specific code. A warning is added in that case to dissuade future users of using the code.

Differential Revision: https://phabricator.services.mozilla.com/D219875
2024-08-28 16:16:20 +00:00
andrej
490a1df802 Bug 1914261 - Rename --noinstall to --no-install for raptor. r=perftest-reviewers,taskgraph-reviewers,jmaher,sparky
Mobile unit tests use --no-insall and raptor tests use --noinstall, this patch modifies the flag to be --no-install so that developers use one flag and are not confused from 2 difference but VERY similar flags

Differential Revision: https://phabricator.services.mozilla.com/D219817
2024-08-26 14:51:02 +00:00
Kershaw Chang
f9b94c2b0c Bug 1895359 - Setup servers for running upload test locally, r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D218585
2024-08-23 08:08:59 +00:00
florin.bilt
f841d51cb6 Bug 1881740 - Modify raptor documentation to mention mach try perf instead of fuzzy r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D218652
2024-08-07 13:52:48 +00:00
Alex Finder
a54d0f55c0 Bug 1779011 Update docs to remove usage of --browsertime r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D218716
2024-08-07 13:51:56 +00:00
Alex Finder
7005d1c64e Bug 1867135 Use in-tree version of speedometer3 instead of the perf-automation repo r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D216244
2024-07-22 15:18:20 +00:00
Florian Quèze
9269ad47f9 Bug 1905299 - Record power use when running raptor tests on Windows 11, r=sparky,perftest-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D215188
2024-07-10 13:40:56 +00:00
Florian Quèze
239ee286f1 Bug 1905067 - Add markers in resource use profiles of raptor jobs, r=sparky,perftest-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D215099
2024-07-04 13:09:14 +00:00
ahochheiden
3ead3dd323 Bug 1898817 - Replace distutils.util.strtobool with mach.util.strtobool in raptor r=perftest-reviewers,afinder
Differential Revision: https://phabricator.services.mozilla.com/D211636
2024-06-21 17:30:06 +00:00
Greg Mierzwinski
2c48458f60 Bug 1903512 - Remove grandprix benchmark test. r=perftest-reviewers,aglavic
This patch removes an unused test from browsertime.

Differential Revision: https://phabricator.services.mozilla.com/D214387
2024-06-20 14:44:05 +00:00
Noemi Erli
7763ec39c6 Backed out 8 changesets (bug 1899681, bug 1888570, bug 1898817) as requested by the dev CLOSED TREE
Backed out changeset 5be4d65a269f (bug 1899681)
Backed out changeset 4b2b91958615 (bug 1898817)
Backed out changeset 91cfbbe6cacd (bug 1898817)
Backed out changeset 689cadd510e1 (bug 1888570)
Backed out changeset dee593604635 (bug 1888570)
Backed out changeset 2fc073aab920 (bug 1898817)
Backed out changeset c68493490b5c (bug 1898817)
Backed out changeset eb50a220de69 (bug 1898817)
2024-06-12 21:19:10 +03:00