@firefox-devtools/profiler-cli 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/profiler-cli.js +235 -116
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,6 +31,7 @@ Run `profiler-cli --help` for the full options reference.
|
|
|
31
31
|
```bash
|
|
32
32
|
profiler-cli load <PATH> # Start daemon and load profile (file or http/https URL)
|
|
33
33
|
profiler-cli profile info # Print profile summary [--all] [--search <term>]
|
|
34
|
+
profiler-cli profile meta # Print profile metadata (application, platform, recording settings)
|
|
34
35
|
profiler-cli profile logs # Print Log markers in MOZ_LOG format [--thread] [--module] [--level] [--search] [--limit]
|
|
35
36
|
profiler-cli thread info # Print detailed thread information
|
|
36
37
|
profiler-cli thread select <handle> # Select a thread (e.g., t-0, t-1)
|
|
@@ -39,7 +40,7 @@ profiler-cli thread samples-top-down # Show top-down call tree (where CPU
|
|
|
39
40
|
profiler-cli thread samples-bottom-up # Show bottom-up call tree (what calls hot functions)
|
|
40
41
|
profiler-cli thread markers # List markers with aggregated statistics [--list for flat per-marker view]
|
|
41
42
|
profiler-cli thread functions # List all functions with CPU percentages
|
|
42
|
-
profiler-cli thread network # Show network requests with timing phases [--search] [--min-duration] [--max-duration] [--limit]
|
|
43
|
+
profiler-cli thread network # Show network requests with timing phases [--search] [--min-duration] [--max-duration] [--limit] [--sort]
|
|
43
44
|
profiler-cli thread page-load # Show page load summary (navigation timing, resources, CPU, jank)
|
|
44
45
|
profiler-cli marker info <handle> # Show detailed marker information (e.g., m-1234)
|
|
45
46
|
profiler-cli marker stack <handle> # Show full stack trace for a marker
|
|
@@ -86,6 +87,7 @@ profiler-cli thread info --thread t-0 # View info for specific thread witho
|
|
|
86
87
|
| `--json` | Output as JSON (for use with `jq`, etc.) |
|
|
87
88
|
| `--limit <N>` | Limit number of results shown |
|
|
88
89
|
| `--max-lines <N>` | Limit call tree nodes for `samples-top-down`/`samples-bottom-up` (default: 100) |
|
|
90
|
+
| `--sort <order>` | Order `thread network` requests: `duration` (default, slowest first) or `start` (chronological) |
|
|
89
91
|
| `--scoring <strategy>` | Call tree scoring: `exponential-0.95`, `exponential-0.9` (default), `exponential-0.8`, `harmonic-0.1`, `harmonic-0.5`, `harmonic-1.0`, `percentage-only` |
|
|
90
92
|
| `--navigation <N>` | Select which navigation to show in `thread page-load` (1-based, default: last completed) |
|
|
91
93
|
| `--jank-limit <N>` | Max jank periods to show in `thread page-load` (default: 10, 0 = show all) |
|