@@ -55,7 +55,6 @@ const PerfView = (props:PerfViewProps) => {
55
55
} , [ adjustedSize ] ) ;
56
56
57
57
function handleNoRenderData ( isNoRenderData ) {
58
- console . log ( "lick balls" , isNoRenderData ) ;
59
58
setNoRenderData ( isNoRenderData ) ;
60
59
}
61
60
@@ -74,7 +73,7 @@ const PerfView = (props:PerfViewProps) => {
74
73
75
74
// Generate tree with our data
76
75
const packedRoot = packFunc ( snapshots [ indexToDisplay ] ) ;
77
- console . log ( 'PerfView -> packedRoot' , packedRoot ) ;
76
+ // console.log('PerfView -> packedRoot', packedRoot);
78
77
79
78
// Set initial focus to root node
80
79
let curFocus = packedRoot ;
@@ -107,7 +106,7 @@ const PerfView = (props:PerfViewProps) => {
107
106
. style ( 'fill-opacity' , ( d :{ parent :object } ) => ( d . parent === packedRoot ? 1 : 0 ) )
108
107
. style ( 'display' , ( d :{ parent ?:object } ) => ( d . parent === packedRoot ? 'inline' : 'none' ) )
109
108
. text ( ( d :{ data :{ name :string , componentData ?:{ actualDuration :any } } } ) => {
110
- console . log ( "PerfView -> d.data" , d . data ) ;
109
+ // console.log("PerfView -> d.data", d.data);
111
110
if ( ! d . data . componentData . actualDuration ) handleNoRenderData ( true ) ;
112
111
else handleNoRenderData ( false ) ;
113
112
return `${ d . data . name } : ${ Number . parseFloat ( d . data . componentData . actualDuration || 0 ) . toFixed ( 2 ) } ms` ;
0 commit comments