26 Nov 2026
Planet 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:
- [mstange] Improve service worker upgrade reliability and UI (#6469)
- [canova] Add a profiler-cli
self-updatecommand (#6463) - [mstange] Add a find bar to the source and assembly views. (#6413)
- [mstange] Add a pretty-print toggle button (#6433)
Other Changes:
- [mstange] Do something useful with the selection when applying transforms (#6454)
- [canova] Add AGENTS.md and CLAUDE.md for coding agents (#6474)
- [fatadel] Bump profiler-cli version to 0.15.0 (#6485)
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
26 Nov 2026 2:47pm GMT
25 Nov 2026
Planet 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 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.

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
- Release: Roto v0.14.0!
- October in Servo: video captions and inert content
- A new name for ntpd-rs: Statime
Observations/Thoughts
- Optimizing Rustc's next trait solver
- Advice for the next 100 Rust GUIs
- Abolish Lock Poisoning
- Compile time improvements for derive(Debug)
- The semver trick is not backwards compatible if you wait
- How to Stop Generic Type Explosion in Rust
- How Proton (Mail / VPN...) are rewriting their cross-platform apps in Rust to reduces costs and improve security for millions of people
- [video] Rust Release Changelog - 1.100
- [video] From Hardware to Human Interface: Building HID Devices in Rust - Frank Lyaruu
- [video] Tales from the Embedded Rust Frontier - Jonathan Pallant
- [audio] Axum with David Pedersen
- [audio] Embedded Software with Rust with David Cabanis
Rust Walkthroughs
- The State of Allocators in 2026 - Finally Stabilised!
- Rust Projects - Write an Interpreter - Version 1.0.1
- RSPHP Part 2: Build Tools
- Rolling upgrades in tellus: old code cannot learn a new shape
- Build your own Paint
- [video] Nine Rules for Compile-Time Work with const fn by Carl Kadie
- [video] [series] Repository Pattern in Rust: async fn in traits, dyn vs generics, and the Send problem (Axum + SQLx)
- [video] Code Safari: uutils cp
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.
- No Calls for participation were submitted this week.
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.
- No Calls for papers or presentations were submitted this week.
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
- add lint against duplicate parameter names in fns without body
- add wide pointer visualizer for LLDB
- avoid instantiating
FnSigwhen not necessary - avoid unnecessary LLVM passes when thin LTO buffer is null
- compressed
ParamEnvs for common marker traits hir_typeck: propagate async closure output into its body- inline some attribute parsing code
- perf: remove cache in
DeepResolverIgnoringRegions - perf: separate flag computation & intern functions per
TyKind - share more debuginfo for inlined functions
Library
- core: stabilize
float_bits_const - fmt: improve
DebugforFormattingOptions - implement RangeIntersect on
core::rangetypes - stabilize
char::is_case_ignorable,char::is_cased, and thetitlecasefeature - stabilize unchecked
nonzero_ops - unstably constify
std::process::abort
Cargo
- config: Add IncludeConfig
- config:
--configuse same layers merge as config files - config: Handle parsing dotted keys using TOML keys
- config: Improve config schema by implementing Serialize
- config: drop redundant config merge error context
- config: keep winning definition for non-mergeable list
- config: layer loads to work the same as merged load
- config: list unmerged config in precedence order
- context: merge files and
--configas layers - fix git checkout long paths
- config: really ensure no comments are present
- support wasm64-unknown-emscripten
Rustdoc
- add emoji icons for unstable and deprecated to search results
- clean inlined assoc items in their own param-env
- fix search index generation: if crate content didn't change, it should generate the same search index
Rustfmt
- don't duplicate type bounds when a comment precedes the where clause
- have
cfg_select!double-brace concise formatting respectmatch_block_trailing_comma
Clippy
- add a recursion limit to avoid hang with recursive associated types
- fix
single_matchsuggests wrongly for bool comparisons - fix
unused_async_trait_implsuggestion for implicit unit return type unusual_byte_groupings: Don't lint binary literals
Rust-Analyzer
- add
r? @ghostJosh push PR suffix - show custom iter adapter in chaining inlayHints
- fix
extract_type_aliasfor const_placeholders - accidentally quadratic performance in type inference
- allow
notable_traitattr args - exclude proc macro crates from lang item computations for their dependencies
- make sure copied lock files are writable
- respect
is_workspace_memberfor all crates in rust-project.json - introduce a hack for
PartialEqlang item attr change in core lib - ops: resolve
artipackedandtemplate-injection - perf: cache the mark when expanding MBE
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
Approved RFCs
Changes to Rust follow the Rust RFC (request for comments) process. These are the RFCs that were approved for implementation this week:
- No RFCs were approved 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
- emit fake reads for indexing after every bounds-check
- Don't emit diagnostics during pre-expansion lint attribute parsing
- Types FCP v2: Supertrait item shadowing stabilization
- don't ignore ambiguity during MIR type check
- debugger: stabilize trim-paths unremap file loading
- Add #[rustc_edition_redirect]
- Tracking Issue for NEON FCMA intrinsics
- Remove
T: Send + Syncbound fromArc::downcast - Stabilization of the
documentationscope inrustc
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
- 2026-11-26 | Virtual | betterCode() Rust
- 2026-11-28 | Virtual (Charlottesville, VA, US) | Charlottesville Rust Meetup
- 2026-12-01 | Virtual | Rust 🦀 Maven
- 2026-12-01 | Virtual | ERNI
- 2026-12-01 | Virtual (London, UK) | Women in Rust
- 2026-12-02 | Virtual (Cardiff, GB) | Rust and C++ Cardiff
- 2026-12-02 | Virtual (Indianapolis, IN, US) | Indy Rust
- 2026-12-03 | Virtual (Berlin, DE) | Rust Berlin
- 2026-12-04 | Hybrid (Moscow, RU) | RustCon RU
- 2026-12-05 | Virtual (Charlottesville, VA, US) | Charlottesville Rust Meetup
- 2026-12-06 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
- 2026-12-08 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
- 2026-12-08 | Virtual (London, UK) | Women in Rust
- 2026-12-12 | Virtual (Charlottesville, VA, US) | Charlottesville Rust Meetup
- 2026-12-15 | Virtual (Washington, DC, US) | Rust DC
- 2026-12-16 | Hybrid (Vancouver, CA) | Vancouver Rust
- 2026-12-17 | Virtual (Berlin, DE) | Rust Berlin
- 2026-12-20 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
- 2026-12-22 | Virtual (Dallas, TX, US) | Dallas Rust User Meetup
Asia
- 2026-12-12 | Bangalore, IN | Rust Bangalore
- 2026-12-12 | Shah Alam, MY | Rust Malaysia Meetup
Europe
- 2026-11-25 | Amsterdam, NL | Rust Developers Amsterdam Group
- 2026-11-25 | Dortmund, DE | Rust Dortmund
- 2026-11-26 | Berlin, DE | Rust Berlin
- 2026-11-26 | Berlin, DE | Rust Berlin
- 2026-11-26 | Copenhagen, DK | Copenhagen Rust Community
- 2026-11-26 | London, UK | Rust London User Group
- 2026-11-26 | Manchester, UK | Rust Manchester
- 2026-11-26 | Stockholm, SE | Stockholm Rust
- 2026-11-28 | Stockholm, SE | Stockholm Rust
- 2026-11-30 | Augsburg, DE | Rust Meetup Augsburg
- 2026-12-01 | Milano, MI, IT | Rust Language Milan
- 2026-12-01 | Paris, FR | Rust Paris
- 2026-12-02 | Frankfurt, DE | Rust Rhein-Main
- 2026-12-02 | Köln, DE | Rust Cologne
- 2026-12-04 | Hybrid (Moscow, RU) | RustCon RU
- 2026-12-08 | Dresden, DE | Rust Dresden
- 2026-12-08 | München, DE | Rust Munich
- 2026-12-10 | Copenhagen, DK | Copenhagen Rust Community
- 2025-11-13 | Geneva, CH | Rust Geneva
- 2026-12-22 | Leipzig, SN, DE | Rust - Modern Systems Programming in Leipzig
North America
- 2026-11-28 | Boston, MA, US | Boston Rust Meetup
- 2026-12-03 | Montréal, CA | Rust Montréal
- 2026-12-04 | New York, NY, US | Rust NYC
- 2026-12-04 | New York, NY, US | Women in Rust
- 2026-12-15 | San Francisco, CA, US | San Francisco Rust Study Group
- 2026-12-16 | Hybrid (Vancouver, CA) | Vancouver Rust
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:
- nellshamrell
- llogiq
- ericseppanen
- extrawurst
- U007D
- mariannegoldin
- bdillo
- opeolluwa
- bnchi
- KannanPalani57
- tzilist
Email list hosting is sponsored by The Rust Foundation
25 Nov 2026 5:00am GMT