Roger Yang
af5b2c94d3
Close #22956 : Define "tags" for metrics in the app repository
...
Co-authored-by: William Lachance <wlach@protonmail.com>
Define "tags" for metrics in the app repository
Using the new "tags" feature in Glean, we can remove most of the
manual process/pain of defining tags in a seperate Glean annotations
repository (see: https://github.com/mozilla-mobile/fenix/wiki/Add-a-Glean-Annotation-for-an-event )
and just put them beside the metrics themselves. This should make it
much easier to keep this metadata up to date, since it can be added
in the same pull request as the instrumentation itself.
To keep the list of tags up to date with the Fenix issue labels, a new
script `update-glean-tags.py` has been added to the repository. It
should not need to be run often.
This pull request uses a scraped version of the defined tags in the
Glean annotations repository. After it lands, we can remove those and
just use the tagging information here as the main source of information.
2022-01-18 23:31:11 +00:00
Michael Comella
ba25364895
Closes #23150 : remove 'threads' feature setup-startup-profiling.py.
...
Root cause: Bug 1729815 removed the threads feature and, because of Bug
1749498, we crash if a feature is provided that does not exist.
The immediate solution is to remove the unused threads feature.
2022-01-13 01:21:16 +00:00
Marc Leclair
8d5c6f6082
For #21700 : linting fixes
...
For #21700 : nit fixes
2021-10-14 21:03:05 +00:00
Marc Leclair
22df40b35c
For #21700 : Made the class to test argument a requirement
2021-10-14 21:03:05 +00:00
Marc Leclair
dede8a1ca4
For #21700 : Fixed output path to be in app/build
2021-10-14 21:03:05 +00:00
Marc Leclair
27cd609d0f
For #21700 : Added option to open in browser instead of automatically doing it
2021-10-14 21:03:05 +00:00
Marc Leclair
c527decda1
For #21700 : Created benchmark script runner and edited benchmark gradle file
2021-10-14 21:03:05 +00:00
Michael Comella
aaa14a8208
No issue: add gve to setup-startup-profiling.py.
2021-09-15 21:44:52 +00:00
Michael Comella
0201120c61
No issue: convert to argparse in setup-startup-profiling.py.
2021-09-15 21:44:52 +00:00
Michael Comella
4a0f29d0a0
Closes #21128 : remove measure_start_up.py.
...
This script was moved to the perf-tools repository for easy to access
from other perf tools & to be accessible for multiple apps:
https://github.com/mozilla-mobile/perf-tools
2021-09-07 18:01:23 +00:00
Michael Comella
e0c1c51b6a
For perf-frontend-issues#211: support focus in measure_start_up.py.
2021-07-26 23:54:39 +00:00
Michael Comella
72159260a2
For perf-frontend-issues#211: dynamically resolve activity in measure_start_up.
2021-07-26 23:54:39 +00:00
Michael Comella
ba86dff942
For perf-frontend-issues#211: add pycodestyle config to tools, fix existing errors.
2021-07-26 23:54:39 +00:00
Michael Comella
3905859fcb
No issue: increase sleep duration in cold_view_nav_start benchmark.
2021-06-17 14:03:38 -07:00
Michael Comella
1b996e3b4b
For #20017 : add cold_main_session_restore test type to measure.
2021-06-17 12:24:03 -07:00
Michael Comella
f7c59bd395
For #20017 : use 'in' syntax for test name checks.
2021-06-17 12:24:03 -07:00
Michael Comella
b3ffdd2a47
For perf-frontend-issues#208: rename to measure_start_up.py.
2021-06-01 14:54:45 -07:00
Michael Comella
23068cd2f7
For perf-frontend-issues#208: clean up help text.
2021-06-01 14:54:45 -07:00
Michael Comella
18f0931d2e
For perf-frontend-issues#208: use CHANNEL_TO_PKG directly.
2021-06-01 14:54:45 -07:00
Michael Comella
9fb4366646
For perf-frontend-issues#208: add nav_start test to measure… script.
2021-06-01 14:54:45 -07:00
Michael Comella
35de7056b3
No issue: enable CPU usage in profiler.
2021-03-31 08:37:42 -07:00
Michael Comella
7df0006aaa
No issue: add script to measure duration to first frame.
...
I only tested this for nightly but we can fix it for other channels as
we use it.
2021-03-11 16:02:55 -08:00
Michael Comella
319883d951
No issue: when init profiling, remind to enable setting in app.
2021-02-26 10:48:52 -08:00
Michael Comella
4657afc4ba
No issue: switch subcommand names to deactivate/activate.
...
These make more sense than push/remove if you don't understand the
underlying mechanism.
2021-01-14 10:25:28 -08:00
Michael Comella
291fac11d3
No issue: change startup profiling script to take release channel.
...
This is easier to remember and less error prone to write.
2021-01-14 10:25:28 -08:00
Michael Comella
23bc70aeb1
No issue: add main function to setup-startup-profiling.
2021-01-14 10:25:28 -08:00
Michael Comella
d20bbf5331
No issue: embed startup-profiling configs in script.
...
Not leaving around config files is more intuitive and less redundant.
2021-01-14 10:25:28 -08:00
Michael Comella
68e1c78453
No issue: add tools/setup-startup-profiling.py.
2020-12-14 09:23:49 -08:00