26 Nov 2026

feedPlanet Mozilla

Firefox Tooling Announcements: Firefox Profiler Deployment (November 26, 2026)

The latest version of the Firefox Profiler is now live! Check out the full changelog below to see what's changed:

Highlights:

Other Changes:

Big thanks to our amazing localizers for making this release possible:

de: Michael Köhler, Ralf Duehnfahr, VfBFan
el: Jim Spentzos
en-GB: Ian Neal
es-CL: ravmn
fr: Théo Chevalier
fy-NL: Fjoerfoks
ia: Melo46
it: Francesco Lodolo
nl: Fjoerfoks, Mark Heijl
ro: robbp
ru: Valery Ledovskoy
sv-SE: Andreas Pettersson, Luna Jernberg
tr: Grk
zh-TW: Pin-guang Chen

Find out more about the Firefox Profiler on profiler.firefox.com! If you have any questions, join the discussion on our Matrix channel!

1 post - 1 participant

Read full topic

26 Nov 2026 2:47pm GMT

25 Nov 2026

feedPlanet Mozilla

Florian Quèze: Quickly debugging an intermittent failure that never reproduced locally, with the Firefox Profiler

An intermittent timeout, nothing useful in the log, and a test that always passes locally: this used to mean days of try pushes and debug logging. This time, the profile that CI recorded for the failing test showed what was unusual about that run, and that was enough to make the test fail every time on my machine.

The symptom

The test's dashboard shows that browser_searchbar_addEngine.js timed out about 10% of the time on standalone jobs over the last 3 weeks:

The test's dashboard: 58 timeouts in 21 days, all on opt browser-chrome-standalone, 9.7% on Linux and 10.5% on Windows.

The test opens a page offering search engines, clicks one of the "Add" buttons that the search bar then shows, and waits for the engine to be installed. The standalone jobs restart the browser before each test file, so each test runs in a freshly started browser. The log of a failure says this, and nothing else:

INFO - Entering test test_addEngine
INFO - TEST-PASS | browser/components/search/test/browser/browser_searchbar_addEngine.js | test_addEngine - All items are in addEngineList - 3 == 3
INFO - Waiting for engine to be installed.
INFO - TEST-FAIL | browser/components/search/test/browser/browser_searchbar_addEngine.js | test_addEngine - Test timed out

The test clicked the button and waited 45 seconds for an engine that never came.

Debugging, the old way

Locally, the test passed more than 20 times in a row: whatever happens on CI wasn't happening on my machine.

Without a local reproduction, the remaining options were to push to try with more logging, or to land the logging and wait for the next failures. The failure rate here was high enough to make try pushes usable, but each round takes hours, and the logging has to be decided in advance: guess wrong about what to log, and it's another round.

What installing an OpenSearch engine does

For security reasons, the XML description of an OpenSearch engine is processed in a hidden browser rather than in the parent process. parseInHiddenBrowser loads about:blank in that hidden browser, waits for a progress listener to report that the load finished, and then sends the XML to that page.

What the profiles show

For the last few months, mochitests have run with the profiler enabled, so when a test fails, its profile is uploaded as an artifact of the job (the log has a line saying profile uploaded in profile_browser_searchbar_addEngine.js.json.gz).

Here is the profile of one of the failing runs. Right after the test starts waiting for the engine, the markers show the hidden browser being set up: its invisible window, the <browser> element getting a content process, about:blank loading in that process, and the parent process being told that it loaded. And then nothing happens for 45 seconds, until the test times out.

For comparison, a profile of a passing run, recorded locally with ./mach mochitest --profiler, has the same sequence. Right after the test starts waiting and the same load event, the SendQuery that sends the XML to the hidden browser comes 0.1ms later. In the failing run, it never comes.

What was unusual

Zooming on the time between the load in the content process and the moment the parent process hears about it shows an orange GCMajor marker: a 41ms garbage collection, right there.

The failing profile zoomed on 90ms after the click: an orange GCMajor marker of 41.5ms in the parent process, right after about:blank loads in the Web Content (4/5) process.

That's not a proof of anything: GCs happen all the time, and the profile can't show whether a JS object was collected. But it's a hint, and more importantly something to try.

From a hint to a perma-fail

Forcing a GC right after the hidden browser starts loading is a small change:

function widenForceGC() {
  Cu.forceGC();
  Cu.forceCC();
  Cu.forceGC();
}
...
browser.loadURI(Services.io.newURI("about:blank"), { ... });
Services.tm.dispatchToMainThread(widenForceGC);

The function is defined at the top level of the module on purpose: any function created next to progressListener, arrow function or not, keeps that scope alive, and the listener with it.

The test then timed out every time, at exactly the same point as on CI. From there, I didn't need the profiler anymore: a failure that happens every time can be debugged like any other bug.

The fix

The web progress only holds weak references to its listeners, and nothing else referenced this one, so a GC before the load finished could collect it. The fix keeps a reference to the listener until its load finishes; with it, the test passes even with the forced GC. It landed on November 25th.

This probably only showed up on the standalone jobs because they run the test in a freshly started browser, where major GCs still happen soon after startup. But this wasn't only a test problem: for users, it meant that clicking "Add" to install a search engine could silently do nothing.

Summary

An intermittent failure with nothing in the log no longer means days of try pushes: the profile of a failed run is there, and often actionable. Looking at it shows exactly what happened, which can let us guess what was unusual in the failing run: a hint rather than a proof. Forcing the suspected condition made it fail locally, and from there it was a normal bug to fix.

25 Nov 2026 10:00pm GMT

This Week In Rust: This Week in Rust 679

Hello and welcome to another issue of This Week in Rust! Rust is a programming language empowering everyone to build reliable and efficient software. This is a weekly summary of its progress and community. Want something mentioned? Tag us at @thisweekinrust.bsky.social on Bluesky or @ThisWeekinRust on mastodon.social, or send us a pull request. Want to get involved? We love contributions.

This Week in Rust is openly developed on GitHub and archives can be viewed at this-week-in-rust.org. If you find any errors in this week's issue, please submit a PR.

Want TWIR in your inbox? Subscribe here.

Updates from Rust Community

Official
Foundation
Newsletters
Project/Tooling Updates
Observations/Thoughts
Rust Walkthroughs

Crate of the Week

This week's crate is i_overlay, providing a set of geometrical operations on polygons and line segment chains running completely on integer math.

Thanks to Mikolaj Wielgus for the suggestion!

Please submit your suggestions and votes for next week!

Calls for Testing

An important step for RFC implementation is for people to experiment with the implementation and give feedback, especially before stabilization.

If you are a feature implementer and would like your RFC to appear in this list, add a call-for-testing label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature need testing.

No calls for testing were issued this week by Rust, Cargo, Rustup or Rust language RFCs.

Let us know if you would like your feature to be tracked as a part of this list.

RFCs
Rust
Rustup

If you are a feature implementer and would like your RFC to appear on the above list, add the new call-for-testing label to your RFC along with a comment providing testing instructions and/or guidance on which aspect(s) of the feature need testing.

Call for Participation; projects and speakers

CFP - Projects

Always wanted to contribute to open-source projects but did not know where to start? Every week we highlight some tasks from the Rust community for you to pick and get started!

Some of these tasks may also have mentors available, visit the task page for more information.

If you are a Rust project owner and are looking for contributors, please submit tasks here or through a PR to TWiR or by reaching out on Bluesky or Mastodon!

CFP - Events

Are you a new or experienced speaker looking for a place to share something cool? This section highlights events that are being planned and are accepting submissions to join their event as a speaker.

If you are an event organizer hoping to expand the reach of your event, please submit a link to the website through a PR to TWiR or by reaching out on Bluesky or Mastodon!

Updates from the Rust Project

724 pull requests were merged in the last week

Compiler
Library
Cargo
Rustdoc
Rustfmt
Clippy
Rust-Analyzer
Rust Compiler Performance Triage

Very positive week with many improvements in the type system, codegen, debuginfo and encoding. The biggest improvement came perhaps surprisingly from Cargo submodule update, because Cargo recently changed the default debuginfo level for dev profile to line-tables-only.

Triage done by @panstromek. Revision range: 6ca2b346..5debe6a1

Summary:

(instructions:u) mean range count
Regressions ❌
(primary)
1.3% [0.2%, 11.1%] 65
Regressions ❌
(secondary)
4.1% [0.2%, 12.1%] 79
Improvements ✅
(primary)
-5.2% [-38.3%, -0.2%] 136
Improvements ✅
(secondary)
-3.4% [-24.3%, -0.1%] 172
All ❌✅ (primary) -3.1% [-38.3%, 11.1%] 201

7 Regressions, 8 Improvements, 19 Mixed; 1 of them in rollups 235 artifact comparisons made in total

Full report here

Approved RFCs

Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:

Final Comment Period

Every week, the team announces the 'final comment period' for RFCs and key PRs which are reaching a decision. Express your opinions now.

Tracking Issues & PRs

Rust

Rust RFCs

Cargo

Compiler Team (MCPs only)

Leadership Council

No Items entered Final Comment Period this week for Language Team, Language Reference or Unsafe Code Guidelines. Let us know if you would like your PRs, Tracking Issues or RFCs to be tracked as a part of this list.

New and Updated RFCs

Upcoming Events

Rusty Events between 2026-11-25 - 2026-12-23 🦀

Virtual
Asia
Europe
North America

If you are running a Rust event please add it to the calendar to get it mentioned here. Please remember to add a link to the event too. Email the Rust Community Team for access.

Jobs

Please see the latest Who's Hiring thread on r/rust

Quote of the Week

Good news bad news situation.

Good news: I have 3 blog posts' worth of work in cargo-semver-checks to publish. Bad news: It means Rust is way more cursed than we all ever knew.'

- Predrag Gruevski on Mastodon

Despite a lamentable lack of suggestions, llogiq loves cursed Rust is pretty pleased with his choice.

Please submit quotes and vote for next week!

This Week in Rust is edited by:

Email list hosting is sponsored by The Rust Foundation

Discuss on r/rust

25 Nov 2026 5:00am GMT