In mochitests I introduced the `--profiler` flag, however Talos uses `--gecko-profiler`. I would prefer to only have `--profiler`. In addition, the settings are exposed through various flags. I would prefer to remove all of these settings, and ONLY rely the environment variables. In the mochitests I documented this like so:
```
--profiler Run the Firefox Profiler and get a performance profile
of the mochitest. This is useful to find performance
issues, and also to see what exactly the test is
doing. To get profiler options run:
`MOZ_PROFILER_HELP=1 ./mach run`
```
Bug 1667208 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
In mochitests I introduced the `--profiler` flag, however Talos uses `--gecko-profiler`. I would prefer to only have `--profiler`. In addition, the settings are exposed through various flags. I would prefer to remove all of these settings, and ONLY rely the environment variables. In the mochitests I documented this like so:
```
--profiler Run the Firefox Profiler and get a performance profile
of the mochitest. This is useful to find performance
issues, and also to see what exactly the test is
doing. To get profiler options run:
`MOZ_PROFILER_HELP=1 ./mach run`
--profiler-save-only Run the Firefox Profiler and save it to the path
specified by the MOZ_UPLOAD_DIR environment variable.
```