Skip to content

perf: speculative navigation warmup + RegExp species fuse + speed-mod… - #446

Closed
shahriar0247 wants to merge 1 commit into
mozilla-firefox:mainfrom
shahriar0247:shahriar0247/perf-speculative-navigation
Closed

shahriar0247 wants to merge 1 commit into
mozilla-firefox:mainfrom
shahriar0247:shahriar0247/perf-speculative-navigation

Conversation

@shahriar0247

@shahriar0247 shahriar0247 commented Nov 12, 2026 •

Copy link
Copy Markdown

…e dial

Three independent performance changes built and benchmarked on top of firefox-main @ 133570141:

  • SpiderMonkey: skip RegExp @@species lookups in String.split/matchAll via a new OptimizeRegExpSpeciesFuse (mirrors CanOptimizeArraySpecies): intrinsic + CacheIR stub + Warp compile dependency. Fuse pops restore the generic SpeciesConstructor path.
  • Urlbar: speculativeConnect on keyboard selection ('select' reason), with privacy derived from the window when no query context exists.
  • Hover prefetch: dom.speculation_rules.hover_prefetch_all synthesizes a moderate-eagerness PrefetchCandidate for same-origin links when the document has no rule sets, reusing the existing SpeculationRules / PrefetchRecordParent activation path. Plus a browser.speed.mode pref-bundle dial (SpeedMode.sys.mjs) and HTTPS hover-preconnect / anchor DNS prefetch defaults.

Generated with Devin


Lando: link

⚠️ This pull request has 2 warnings.
🚫 This pull request has 2 blockers.

…e dial

Three independent performance changes built and benchmarked on top of
firefox-main @ 133570141:

- SpiderMonkey: skip RegExp @@species lookups in String.split/matchAll
  via a new OptimizeRegExpSpeciesFuse (mirrors CanOptimizeArraySpecies):
  intrinsic + CacheIR stub + Warp compile dependency. Fuse pops restore
  the generic SpeciesConstructor path.
- Urlbar: speculativeConnect on keyboard selection ('select' reason),
  with privacy derived from the window when no query context exists.
- Hover prefetch: dom.speculation_rules.hover_prefetch_all synthesizes a
  moderate-eagerness PrefetchCandidate for same-origin links when the
  document has no rule sets, reusing the existing SpeculationRules /
  PrefetchRecordParent activation path. Plus a browser.speed.mode
  pref-bundle dial (SpeedMode.sys.mjs) and HTTPS hover-preconnect /
  anchor DNS prefetch defaults.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@firefoxci-taskcluster

Copy link
Copy Markdown
No Taskcluster jobs started for this pull request

The allowPullRequests configuration for this repository (in .taskcluster.yml on the default branch) does not allow starting tasks for this pull request.

@github-actions

Copy link
Copy Markdown
Contributor

(Automated Close) Please do not file pull requests here, see https://firefox-source-docs.mozilla.org/contributing/how_to_submit_a_patch.html

@github-actions github-actions Bot closed this Nov 12, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant