Name Description Size
@types # TypeScript @types 4 # Performance New 3898
aboutprofiling # about:profiling 4
browser.js @typedef {import("./@types/perf").Action} Action @typedef {import("./@types/perf").Library} Library @typedef {import("./@types/perf").PerfFront} PerfFront @typedef {import("./@types/perf").SymbolTableAsTuple} SymbolTableAsTuple @typedef {import("./@types/perf").RecordingState} RecordingState @typedef {import("./@types/perf").GetSymbolTableCallback} GetSymbolTableCallback @typedef {import("./@types/perf").PreferenceFront} PreferenceFront @typedef {import("./@types/perf").PerformancePref} PerformancePref @typedef {import("./@types/perf").RecordingStateFromPreferences} RecordingStateFromPreferences @typedef {import("./@types/perf").RestartBrowserWithEnvironmentVariable} RestartBrowserWithEnvironmentVariable @typedef {import("./@types/perf").GetEnvironmentVariable} GetEnvironmentVariable @typedef {import("./@types/perf").GetActiveBrowsingContextID} GetActiveBrowsingContextID @typedef {import("./@types/perf").MinimallyTypedGeckoProfile} MinimallyTypedGeckoProfile 10185
components # Performance New Components 12
frame-script.js global content 6504
index.xhtml 889
initializer.js exported gInit, gDestroy, loader 5385 703
package.json 332
panel.js This file contains the PerformancePanel, which uses a common API for DevTools to start and load everything. This will call `gInit` from the initializer.js file, which does the important initialization for the panel. This code is more concerned with wiring this panel into the rest of DevTools and fetching the Actor's fronts. 2367
popup # Profiler Popup 5
preference-management.js @typedef {import("./@types/perf").RecordingStateFromPreferences} RecordingStateFromPreferences 2150
store # Performance New Store 5
symbolication.jsm.js @typedef {import("./@types/perf").Library} Library @typedef {import("./@types/perf").PerfFront} PerfFront @typedef {import("./@types/perf").SymbolTableAsTuple} SymbolTableAsTuple 7766
test 3
tsconfig.json 827
typescript-lazy-load.jsm.js TypeScript can't understand the lazyRequireGetter mechanism, due to how it defines properties as a getter. This function, instead provides lazy loading in a TypeScript-friendly manner. It applies the lazy load memoization to each property of the provided object. Example usage: const lazy = createLazyLoaders({ moduleA: () => require("module/a"), moduleB: () => require("module/b"), }); Later: const moduleA = lazy.moduleA(); const { objectInModuleB } = lazy.moduleB(); @template T @param {T} definition - An object where each property has a function that loads a module. @returns {T} - The load memoized version of T. 1572 1653
utils.js @typedef {import("./@types/perf").NumberScaler} NumberScaler @typedef {import("./@types/perf").ScaleFunctions} ScaleFunctions @typedef {import("./@types/perf").FeatureDescription} FeatureDescription 12456
yarn.lock 4432
.eslintrc.js 375