React performance
Profiler actualDuration
Time spent rendering the profiled subtree for the current committed update.
Formal Syntax & Structure
react syntaxreact
function report(id, phase, actualDuration) { console.log(actualDuration); }Working Example
Example Snippetreact
function report(id, phase, actualDuration) { console.log(actualDuration); }