React performance
Profiler baseDuration
Estimate of rendering cost for the subtree without optimization.
Formal Syntax & Structure
react syntaxreact
function report(id, phase, actualDuration, baseDuration) { console.log(baseDuration); }Working Example
Example Snippetreact
function report(id, phase, actualDuration, baseDuration) { console.log(baseDuration); }