Firefox Profiler update introduces profile merging and improved source map handling
The Firefox Profiler update enhances developer debugging capabilities through new profile merging functionality and more accurate source map symbolication.
Summary
Mozilla has deployed the latest update to the Firefox Profiler, a critical performance analysis tool used by web developers and browser engineers. This release introduces significant improvements to how developers interact with trace data, specifically regarding the merging of different profile types.
The update also addresses technical debt in the deployment pipeline and improves the accuracy of call tree searches. These changes affect developers utilizing the web-based profiler interface as well as those using the command-line interface (CLI) for automated performance testing.
Technical improvements in Firefox Profiler
- Profile Merging: The
profiler-edittool now supports merging two distinct profiles, allowing users to combine one profile containing samples with another containing markers. - Source Map Accuracy: Improvements were made to symbolication logic to prevent errors during source map processing when path collisions occur, and the call tree search now matches original filenames in source-mapped data.
- Visualization and CLI: The update includes modifications to FlameGraph rendering for function lists and bumps the
profiler-cliversion to 0.13.0. - CI/CD and Testing: Deployment processes for production have been automated, and a 30-second timeout has been implemented for CLI integration tests to improve testing stability.
Why it matters
These updates provide web developers and browser engineers with more robust tools for diagnosing complex performance bottlenecks. The ability to merge sample data with custom markers allows for more precise correlation between application events and CPU/memory usage.
Original reference: discourse.mozilla.org →