sootsim react
inspect React component render cost in the tenant worker
sootsim react
Start a tenant-worker React render collector, interact with the app, then print slow component and rerender tables from the same bridge-backed sim. This is component-level React profiling; use sootsim cpu-profile for sampled JS CPU flame charts.
terminal
Options
| flag | description |
|---|---|
--include-props | record shallow prop value previews for why output |
--max-commits <n> | bounded commit ring size (default: 2000) |
--limit <n> | rows to print for summary/slow/rerenders (default: 10) |
--depth <n> | tree depth for react tree (default: 3) |
--find <name> | filter react tree by component name |
--json | print structured output |
--sim <sim> | target a specific sim |
Examples
terminal