Roger Yang
599e139e7a
[fenix] No issue: Add telemetry data renewal helper
2022-03-02 15:53:31 +00:00
Roger Yang
e33f407e9c
[fenix] Close https://github.com/mozilla-mobile/fenix/issues/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
d68adfa81b
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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
b7a03ea6d8
[fenix] For https://github.com/mozilla-mobile/fenix/issues/21700 : linting fixes
...
For https://github.com/mozilla-mobile/fenix/issues/21700 : nit fixes
2021-10-14 21:03:05 +00:00
Marc Leclair
fe69bd4541
[fenix] For https://github.com/mozilla-mobile/fenix/issues/21700 : Made the class to test argument a requirement
2021-10-14 21:03:05 +00:00
Marc Leclair
7a6e792024
[fenix] For https://github.com/mozilla-mobile/fenix/issues/21700 : Fixed output path to be in app/build
2021-10-14 21:03:05 +00:00
Marc Leclair
c261feb602
[fenix] For https://github.com/mozilla-mobile/fenix/issues/21700 : Added option to open in browser instead of automatically doing it
2021-10-14 21:03:05 +00:00
Marc Leclair
60fa679e9a
[fenix] For https://github.com/mozilla-mobile/fenix/issues/21700 : Created benchmark script runner and edited benchmark gradle file
2021-10-14 21:03:05 +00:00
Michael Comella
5504314468
[fenix] No issue: add gve to setup-startup-profiling.py.
2021-09-15 21:44:52 +00:00
Michael Comella
9cefe650b3
[fenix] No issue: convert to argparse in setup-startup-profiling.py.
2021-09-15 21:44:52 +00:00
Michael Comella
7197b2d24b
[fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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
aa4a6b1610
[fenix] For perf-frontend-issues https://github.com/mozilla-mobile/fenix/issues/211 : support focus in measure_start_up.py.
2021-07-26 23:54:39 +00:00
Michael Comella
f6019b5292
[fenix] For perf-frontend-issues https://github.com/mozilla-mobile/fenix/issues/211 : dynamically resolve activity in measure_start_up.
2021-07-26 23:54:39 +00:00
Michael Comella
f47c62da9f
[fenix] For perf-frontend-issues https://github.com/mozilla-mobile/fenix/issues/211 : add pycodestyle config to tools, fix existing errors.
2021-07-26 23:54:39 +00:00
Michael Comella
57ec8df799
[fenix] No issue: increase sleep duration in cold_view_nav_start benchmark.
2021-06-17 14:03:38 -07:00
Michael Comella
ef740e5d61
[fenix] For https://github.com/mozilla-mobile/fenix/issues/20017 : add cold_main_session_restore test type to measure.
2021-06-17 12:24:03 -07:00
Michael Comella
fe2c5ef151
[fenix] For https://github.com/mozilla-mobile/fenix/issues/20017 : use 'in' syntax for test name checks.
2021-06-17 12:24:03 -07:00
Michael Comella
58382c2a2d
[fenix] For perf-frontend-issues https://github.com/mozilla-mobile/fenix/issues/208 : rename to measure_start_up.py.
2021-06-01 14:54:45 -07:00
Michael Comella
eb5aca5cdb
[fenix] For perf-frontend-issues https://github.com/mozilla-mobile/fenix/issues/208 : clean up help text.
2021-06-01 14:54:45 -07:00
Michael Comella
54e9606a42
[fenix] For perf-frontend-issues https://github.com/mozilla-mobile/fenix/issues/208 : use CHANNEL_TO_PKG directly.
2021-06-01 14:54:45 -07:00
Michael Comella
41373c7dd3
[fenix] For perf-frontend-issues https://github.com/mozilla-mobile/fenix/issues/208 : add nav_start test to measure… script.
2021-06-01 14:54:45 -07:00
Michael Comella
eebb7c52ea
[fenix] No issue: enable CPU usage in profiler.
2021-03-31 08:37:42 -07:00
Michael Comella
1bc9e5245c
[fenix] 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
a6f2cba5f6
[fenix] No issue: when init profiling, remind to enable setting in app.
2021-02-26 10:48:52 -08:00
Michael Comella
d7d87963ec
[fenix] 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
2412f24e06
[fenix] 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
6157cade94
[fenix] No issue: add main function to setup-startup-profiling.
2021-01-14 10:25:28 -08:00
Michael Comella
b3b28189ca
[fenix] 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
f8d8f2fb3c
[fenix] No issue: add tools/setup-startup-profiling.py.
2020-12-14 09:23:49 -08:00