Use Deep mode in staging, Light in dev, disable in production (automatic with NODE_ENV=production ). 7. CLI Reference btools-v5 profile --url http://localhost:3000 --duration 10s btools-v5 snapshot --selector .app --output ./snap btools-v5 doctor # checks config & compatibility btools-v5 clean # removes all .btools cache 8. Extending with Plugins Plugin API example (custom metric collector):
export default mode: 'deep', // 'light' :
export default function customMetricPlugin(btools) btools.registerMetric('customFPS', () => return measureFrameRate(); );
Use Deep mode in staging, Light in dev, disable in production (automatic with NODE_ENV=production ). 7. CLI Reference btools-v5 profile --url http://localhost:3000 --duration 10s btools-v5 snapshot --selector .app --output ./snap btools-v5 doctor # checks config & compatibility btools-v5 clean # removes all .btools cache 8. Extending with Plugins Plugin API example (custom metric collector):
export default mode: 'deep', // 'light' : FE Btools V5 -NEW VERSION-
export default function customMetricPlugin(btools) btools.registerMetric('customFPS', () => return measureFrameRate(); ); Use Deep mode in staging, Light in dev,