Skip to content

Comments

Update constants.py#14222

Merged
jaredlockhart merged 4 commits intomozilla:mainfrom
tyler-thorne:patch-2
Dec 18, 2025
Merged

Update constants.py#14222
jaredlockhart merged 4 commits intomozilla:mainfrom
tyler-thorne:patch-2

Conversation

@tyler-thorne
Copy link
Contributor

We need new targeting criteria for Adaptive Performance, which will tune preferences based on device and session characteristics. This PR unlocks our immediate phase of experimentation around static device tiers.

Distinct from the two existing memory tier constants, these three use strategic thresholds informed by 2025 data and exact cutoffs of 16384 and 8192 (rather than 16000 and 8000), based on assessment of "gray areas" at 8GB and 16GB thresholds, where a collective 40% of devices may be allocated to higher tiers (analysis linked below). For Adaptive Performance, we want to intentionally err to the side of conservatism when applying optimizations on behalf of our users. User feedback also indicates a primary concern around resource usage and battery consumption, which is incidentally supported by biasing away from more aggressive resource allocation that we intend for "true" high end devices or "power users".

Side note, in relation to feedback received in experimenter office hours 16 Dec 2025: given that these thresholds may change after initial rounds of experimentation and feedback from engineering, we have not yet parameterized with code snippets.

Gray Zone Analysis: bquxjob_6c46232d_19b24ca47d0.csv

Adding three new targeting criteria to facilitate Adaptive Performance. Distinct from the existing memory tier options, these use different thresholds based on 2025 data and exact cutoffs of 16384 and 8192), based on assessment of "gray areas" near the 8GB and 16GB thresholds, where a collective 40% risks being allocated to a higher tier. For Adaptive Performance, we want to intentionally err to the side of conservatism when applying optimizations on a user's behalf. User feedback also indicates a primary concern around battery life and resource usage, which is incidentally targeted by biasing away from more aggressive resource allocation that we intend for "true" high end devices or "power users".
Copy link
Collaborator

@jaredlockhart jaredlockhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good thanks @tyler-thorne !

@tyler-thorne
Copy link
Contributor Author

Looks good thanks @tyler-thorne !

Thank you, @jaredlockhart !

Formatting line length
@jaredlockhart jaredlockhart added this pull request to the merge queue Dec 18, 2025
Merged via the queue into mozilla:main with commit e8be902 Dec 18, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants