These are a first-cut of service worker performance tests, just running as
vanilla mochitests for now. Bug 1832059 tracks the integration work necessary.
Differential Revision: https://phabricator.services.mozilla.com/D177427
Takes use counter definitions and generates a use_counter_metrics.yaml with
`counter` metric definitions for each use counter and denominator.
Total use counters at time of writing: 2271 (excludes denominators)
Differential Revision: https://phabricator.services.mozilla.com/D193246
This is the latest version that still support 3.7.x. The 8.x series initially requires 3.8 and later
3.9. We could perhaps update to a 3.8-requiring version since this isn't used anywhere in automation,
but this version is a conservative choice for now.
Differential Revision: https://phabricator.services.mozilla.com/D194052
_get_recent_public_revisions is not reliably giving us revisions that
are available on the trees that artifacts are taken from. With both
mercurial and git, it is possible to end up in a situation where the
first few entries are only available on some private branch (but still
"public" in mercurial's or git-cinnabar's eye).
In that case, try parent revisions.
Differential Revision: https://phabricator.services.mozilla.com/D194175
Aliased commands have not loaded the virtualenv associated with a
command/subcommand since bug 1695312. It has been defaulting to the
`common` virtualenv, which worked most of the time since most commands
use `common` and it also contains a large share of our dependencies.
Differential Revision: https://phabricator.services.mozilla.com/D192376
Takes use counter definitions and generates a use_counter_metrics.yaml with
`counter` metric definitions for each use counter and denominator.
Total use counters at time of writing: 2271 (excludes denominators)
Differential Revision: https://phabricator.services.mozilla.com/D193246
Takes use counter definitions and generates a use_counter_metrics.yaml with
`counter` metric definitions for each use counter and denominator.
Total use counters at time of writing: 2271 (excludes denominators)
Differential Revision: https://phabricator.services.mozilla.com/D193246
As the comment said, adding these dependencies was showing good results
back when it was done. 6~7 years later, things have changed, and
removing them makes the build faster across the board (tested from -j4
to -j48, they're up to 10% faster, with the biggest difference at -j16
and -j24)
Differential Revision: https://phabricator.services.mozilla.com/D192045
When gtest is not linked as part of the build, the source files that are
generated for it are not necessarily created during the build, so we
won't be able to find them when packaging them. We make this an allowed
situation. Ideally, we'd "just" figure out which files these are, and
not emit them in the list of generated sources, but at the moment, it's
a lot of work to be able to do so.
Differential Revision: https://phabricator.services.mozilla.com/D193003
This patch sets up the paths for DMG extraction for Mochitest mozperftest tests. It also adds some additional artifacts for the mac tests to pull and extract.
Differential Revision: https://phabricator.services.mozilla.com/D192071
distutils is no longer available in Python 3.12, which means we cannot
require it on bootstrap, otherwise we cannot bootstrap from Py 3.12.
We already require setuptools as part of mach's requirements, so it's
fine to depend on setuptools elsewhere.
Differential Revision: https://phabricator.services.mozilla.com/D190537
Aliased commands have not loaded the virtualenv associated with a
command/subcommand since bug 1695312. It has been defaulting to the
`common` virtualenv, which worked most of the time since most commands
use `common` and it also contains a large share of our dependencies.
Differential Revision: https://phabricator.services.mozilla.com/D192376
migration.ftl was used by the old, legacy XUL migration dialog that was removed
in bug 1824851.
There were still a few strings being used by migration.ftl, but I've moved those
over to migrationWizard.ftl, and gone ahead and just removed the old file.
Differential Revision: https://phabricator.services.mozilla.com/D192509
As of bug 1272768, there are only two remaining uses of the usage data
that get_resource_data returns:
- mozbuild.controller.building.BuildMonitor.log_resource_data, which
only uses cpu_percent and io.
- mozbuild.telemetry.get_build_attrs, which only uses cpu_percent.
All the aggregatation of data for other fields is lost, and, it turns
out, it is accidentally quadratic and sucks a lot of time since the
sample rate as been increased to 10Hz.
Differential Revision: https://phabricator.services.mozilla.com/D192142
Back when the code to log the resources in BuildMonitor.finish was
added in bug 883209, the condition to call log_resource_usage was
`status == 0`. It was later kind of accidentally changed in bug
1571636 (it just didn't matter). Anyways, bug 1526072 later added
another use of get_resource_usage for telemetry, with the condition
`status == 0`.
Also, back then, the usage data from get_resource_usage was used to
fill the json file, but that was changed in bug 1272768, so we don't
strictly need to keep that call to log_resource_usage where it is.
What we thus do is to move it at the same place usage is recorded for
telemetry, reducing the number of calls to get_resource_usage to one.
Differential Revision: https://phabricator.services.mozilla.com/D192141
Unit tests for mozilla::contentanalysis::ContentAnalysis class.
ContentAnalysis must remain responsive, regardless of the behavior of the
agent.
Differential Revision: https://phabricator.services.mozilla.com/D189570
Unit tests for mozilla::contentanalysis::ContentAnalysis class.
ContentAnalysis must remain responsive, regardless of the behavior of the
agent.
Differential Revision: https://phabricator.services.mozilla.com/D189570
If for some reason the warning collector throws an exception, we ignore
it, which is fine, but we also end up not setting the message for the
BuildOutputResult, which means the line is not displayed.
It's better for the warning collector to miss a warning than for the
output to pretend the line wasn't there to begin with.
Differential Revision: https://phabricator.services.mozilla.com/D192046
As the comment said, adding these dependencies was showing good results
back when it was done. 6~7 years later, things have changed, and
removing them makes the build faster across the board (tested from -j4
to -j48, they're up to 10% faster, with the biggest difference at -j16
and -j24)
Differential Revision: https://phabricator.services.mozilla.com/D192045
In the build, we have a few cases of things that have the same name,
but they happen in different directories. While disambiguating them
in the profile itself might not be super important (although it may turn
out to be, but let's assume it's not that important for now because I
also don't really want to add the directory everywhere), not
disambiguating them while tracking the markers makes it so that when it
happens that ambiguous things are running in parallel, the profile ends
up with wrong data for the corresponding markers.
Differential Revision: https://phabricator.services.mozilla.com/D192044