mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
[fenix] No issue: add notes on perf build variants in README.
This commit is contained in:
parent
5b245e54e9
commit
b5c240a8fd
@ -88,7 +88,7 @@ which app id and settings to use. Here is a description of what each means:
|
|||||||
#### Performance Build Variants
|
#### Performance Build Variants
|
||||||
For accurate performance measurements, read this section!
|
For accurate performance measurements, read this section!
|
||||||
|
|
||||||
If you want to analyze performance during **local development**:
|
If you want to analyze performance during **local development** (note: there is a non-trivial performance impact - see caveats):
|
||||||
- Recommendation: use a `forPerformanceTest` variant with local Leanplum, Adjust, & Sentry API tokens: contact the front-end perf group for access to them
|
- Recommendation: use a `forPerformanceTest` variant with local Leanplum, Adjust, & Sentry API tokens: contact the front-end perf group for access to them
|
||||||
- Rationale: `forPerformanceTest` is a release variant with `debuggable` set to true. There are numerous performance-impacting differences between debug and release variants so we need a release variant. To profile, we also need debuggable, which is disabled on other release variants. If API tokens are not provided, the SDKs may change their behavior in non-trivial ways.
|
- Rationale: `forPerformanceTest` is a release variant with `debuggable` set to true. There are numerous performance-impacting differences between debug and release variants so we need a release variant. To profile, we also need debuggable, which is disabled on other release variants. If API tokens are not provided, the SDKs may change their behavior in non-trivial ways.
|
||||||
- Caveats:
|
- Caveats:
|
||||||
@ -96,6 +96,8 @@ If you want to analyze performance during **local development**:
|
|||||||
- Random experiment opt-in & feature flags may impact performance (see [perf-frontend-issues#45](https://github.com/mozilla-mobile/perf-frontend-issues/issues/45) for mitigation).
|
- Random experiment opt-in & feature flags may impact performance (see [perf-frontend-issues#45](https://github.com/mozilla-mobile/perf-frontend-issues/issues/45) for mitigation).
|
||||||
- This is slower to build than debug builds because it does additional tasks (e.g. minification) similar to other release builds
|
- This is slower to build than debug builds because it does additional tasks (e.g. minification) similar to other release builds
|
||||||
|
|
||||||
|
Nightly `forPerformanceTest` variants with API tokens already added [are also available from Taskcluster](https://firefox-ci-tc.services.mozilla.com/tasks/index/project.mobile.fenix.v2.performance-test/).
|
||||||
|
|
||||||
If you want to run **performance tests/benchmarks** in automation or locally:
|
If you want to run **performance tests/benchmarks** in automation or locally:
|
||||||
- Recommendation: production builds. If debuggable is required, use recommendation above but note the caveat above. If your needs are not met, please contact the front-end perf group to identify a new solution.
|
- Recommendation: production builds. If debuggable is required, use recommendation above but note the caveat above. If your needs are not met, please contact the front-end perf group to identify a new solution.
|
||||||
- Rationale: like the rationale above, we need release variants so the choice is based on the debuggable flag.
|
- Rationale: like the rationale above, we need release variants so the choice is based on the debuggable flag.
|
||||||
|
Loading…
Reference in New Issue
Block a user