@@ -117,9 +117,6 @@ const PerformanceVisx = (props: BarStackProps) => {
117
117
118
118
const { width, height, snapshots, hierarchy } = props ;
119
119
120
- console . log ( 'snapshots' , snapshots ) ;
121
- console . log ( 'hierarchy' , hierarchy )
122
-
123
120
const {
124
121
tooltipOpen, tooltipLeft, tooltipTop, tooltipData, hideTooltip, showTooltip,
125
122
} = useTooltip < TooltipData > ( ) ;
@@ -134,10 +131,6 @@ const PerformanceVisx = (props: BarStackProps) => {
134
131
const allComponentStates = traverse ( snapshots [ 0 ] , 'getComponentType' ) ;
135
132
const allComponentRtids = traverse ( snapshots [ snapshots . length - 1 ] , 'getRtid' ) ;
136
133
137
- console . log ( 'data' , data )
138
- console . log ( 'allComponentState' , allComponentStates )
139
- console . log ( 'allComponentRtids' , allComponentRtids )
140
-
141
134
// create array of total render times for each snapshot
142
135
const totalRenderArr = data . reduce ( ( totalRender , curSnapshot ) => {
143
136
const curRenderTotal = keys . reduce ( ( acc , cur ) => {
@@ -227,7 +220,6 @@ const PerformanceVisx = (props: BarStackProps) => {
227
220
} }
228
221
// Cursor position in window updates position of the tool tip
229
222
onMouseMove = { event => {
230
- console . log ( allComponentRtids [ bar . key ] )
231
223
dispatch ( onHover ( allComponentRtids [ bar . key ] ) )
232
224
if ( tooltipTimeout ) clearTimeout ( tooltipTimeout ) ;
233
225
const top = event . clientY - margin . top - bar . height ;
0 commit comments