@@ -55,7 +55,6 @@ const PerfView = (props:PerfViewProps) => {
5555 } , [ adjustedSize ] ) ;
5656
5757 function handleNoRenderData ( isNoRenderData ) {
58- console . log ( "lick balls" , isNoRenderData ) ;
5958 setNoRenderData ( isNoRenderData ) ;
6059 }
6160
@@ -74,7 +73,7 @@ const PerfView = (props:PerfViewProps) => {
7473
7574 // Generate tree with our data
7675 const packedRoot = packFunc ( snapshots [ indexToDisplay ] ) ;
77- console . log ( 'PerfView -> packedRoot' , packedRoot ) ;
76+ // console.log('PerfView -> packedRoot', packedRoot);
7877
7978 // Set initial focus to root node
8079 let curFocus = packedRoot ;
@@ -107,7 +106,7 @@ const PerfView = (props:PerfViewProps) => {
107106 . style ( 'fill-opacity' , ( d :{ parent :object } ) => ( d . parent === packedRoot ? 1 : 0 ) )
108107 . style ( 'display' , ( d :{ parent ?:object } ) => ( d . parent === packedRoot ? 'inline' : 'none' ) )
109108 . text ( ( d :{ data :{ name :string , componentData ?:{ actualDuration :any } } } ) => {
110- console . log ( "PerfView -> d.data" , d . data ) ;
109+ // console.log("PerfView -> d.data", d.data);
111110 if ( ! d . data . componentData . actualDuration ) handleNoRenderData ( true ) ;
112111 else handleNoRenderData ( false ) ;
113112 return `${ d . data . name } : ${ Number . parseFloat ( d . data . componentData . actualDuration || 0 ) . toFixed ( 2 ) } ms` ;
0 commit comments