Name Description Size
.eslintrc.js 375
@types
aboutprofiling
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").SymbolicationService} SymbolicationService @typedef {import("./@types/perf").PreferenceFront} PreferenceFront @typedef {import("./@types/perf").PerformancePref} PerformancePref @typedef {import("./@types/perf").RecordingSettings} RecordingSettings @typedef {import("./@types/perf").RestartBrowserWithEnvironmentVariable} RestartBrowserWithEnvironmentVariable @typedef {import("./@types/perf").GetActiveBrowserID} GetActiveBrowserID @typedef {import("./@types/perf").MinimallyTypedGeckoProfile} MinimallyTypedGeckoProfile * @typedef {import("./@types/perf").ProfilerViewMode} ProfilerViewMode 6529
components
index.xhtml 917
initializer.js exported gInit, gDestroy, loader 6860
moz.build 733
package.json 301
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. 2851
popup
profiler_get_symbols.js 15042
README.md # Performance New 3898
store
symbolication-worker.js -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 7681
symbolication.jsm.js @type {any} 12838
test
tsconfig.json ": ["devtools/*"] }, // Make the type checking as strict as possible. "strict": true, // TypeScript will check JS files only if they have a @ts-check comment in them. "allowJs": true, // Only type check, don't emit files. "noEmit": true, // Allow esnext syntax. Otherwise the default is ES5 only. "target": "esnext", "lib": ["esnext", "dom"] }, "files": ["./@types/gecko.d.ts"], // Add a @ts-check comment to a JS file to start type checking it. "include": ["./* 895
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. 1569
typescript.md 2260
utils.js @typedef {import("./@types/perf").NumberScaler} NumberScaler @typedef {import("./@types/perf").ScaleFunctions} ScaleFunctions @typedef {import("./@types/perf").FeatureDescription} FeatureDescription 16751
yarn.lock 4410