Firefox Source Docs Logo

Quick search

Overview

  • A Glossary of Common Terms
  • A Quick Guide to Mozilla Applications

Getting Started

  • Getting Set Up To Work On The Firefox Codebase

Working On Firefox

  • Working on Firefox
  • Bug Handling

Firefox User Guide

  • Firefox DevTools User Docs

Source Code Documentation

  • Governance
  • Firefox Front-end
  • DOM
  • Editor
  • Style system (CSS) & Layout
  • Graphics
  • Processes, Threads and IPC
  • Firefox DevTools Contributor Docs
  • Toolkit
  • SpiderMonkey
  • JS Loader
  • GeckoView
  • Fenix
  • Focus for Android
  • WebIDL
  • libpref
  • Networking
  • Remote Protocols
  • Services
  • Permissions
  • File Handling
  • Firefox on macOS
  • Firefox on Windows
  • Firefox AI Runtime
  • Accessibility
  • Media Playback
  • Code quality
  • Writing Rust Code
  • Rust Components
  • Gecko Profiler
  • Performance
    • Benchmarking
    • GPU Performance
    • Activity Monitor, Battery Status Menu and top
    • Automated performance testing and sheriffing
    • Performance best practices for Firefox front-end engineers
    • dtrace
    • Intel Power Gadget
    • JIT Profiling with perf
    • JIT profiling with samply
    • Perf
    • PerfStats
    • Power profiling
    • powermetrics
    • Profiling with Concurrency Visualizer
    • Profiling with Instruments
    • Profiling on Android with simpleperf
    • Profiling with xperf
    • Profiling with Zoom
    • Reporting a Performance Problem
    • Scroll-linked effects
    • Sorting algorithms comparison
    • TimerFirings Loggings
    • tools/power/rapl
    • Turbostat
    • Memory profiling and leak detection
      • about:memory
      • Memory Reporters
      • Are We Slim Yet (AWSY)
      • Bloatview
      • Leak hunting strategies and tips
      • Debugging a “leaked until shutdown” problem using cycle collector logs
      • Refcount Tracing and Balancing
      • GC and CC logs
      • Dark Matter Detector (DMD)
      • DMD heap scan mode
      • Memory Tools
      • Basic operations
      • Aggregate view
      • Tree map view
      • Dominators
      • Dominators view
      • DOM allocation example
      • Monster example slug
    • General Performance references
    • Memory profiling and leak detection tools
    • Profiling and performance tools
    • Power Profiling
    • Performance Metrics
  • Database bindings (SQLite, KV, …)
  • XPCOM
  • NSPR
  • Network Security Services (NSS)
  • Web Security Checks in Gecko

The Firefox Build System

  • Mach
  • Pushing to Try
  • Build System
  • Firefox CI and Taskgraph
  • Managing Documentation
  • Vendoring Third Party Components

Testing & Test Infrastructure

  • Automated Testing
  • Understanding Treeherder Results
  • Sheriffed intermittent failures
  • Turning on Firefox tests for a new configuration
  • Avoiding intermittent tests
  • Debugging Intermittent Test Failures
  • Testing Policy
  • Configuration Changes
  • Browser chrome mochitests
  • Chrome Tests
  • Marionette
  • geckodriver
  • Test Verification
  • WebRender Tests
  • Mochitest
  • XPCShell tests
  • TPS
  • web-platform-tests
  • GTest
  • Fuzzing
  • Sanitizer
  • Performance Testing
  • Code coverage
  • Testing & Debugging Rust Code

AI Agent Tools

  • AI Agent Tools for Firefox Development

Releases & Updates

  • Mozilla Update Infrastructure
  • Watershed Updates
  • Desupport Updates
  • Update Verify

Localization & Internationalization

  • Internationalization
  • Localization

Firefox and Python

  • mozbase
  • Using third-party Python packages

Metrics Collected in Firefox

  • Metrics
Firefox Source Docs
  • Performance
  • Memory profiling and leak detection
  • Report an issue / View page source

Memory profiling and leak detection

Tools for measuring how much memory Firefox uses, and for tracking down memory that is never released.

Measuring memory usage

  • about:memory
  • Memory Reporters
  • Are We Slim Yet (AWSY)
  • Bloatview

Leak detection

  • Leak hunting strategies and tips
  • Debugging a “leaked until shutdown” problem using cycle collector logs
  • Refcount Tracing and Balancing
  • GC and CC logs

Heap profiling with DMD

  • Dark Matter Detector (DMD)
  • DMD heap scan mode

The DevTools Memory panel

  • Memory Tools
  • Basic operations
  • Aggregate view
  • Tree map view
  • Dominators
  • Dominators view
  • DOM allocation example
  • Monster example slug
Previous Next

Built with Sphinx using a theme provided by Read the Docs.