webviz-subsurface-components icon indicating copy to clipboard operation
webviz-subsurface-components copied to clipboard

fix: Component for displaying performance metrics

Open nilscb opened this issue 8 months ago • 2 comments

Added a component to show metrics from deck.gl (like frames pr sec etc) Demonstrated in story Map/BigMap3D

nilscb avatar May 05 '25 12:05 nilscb

The reason for using forward ref etc is that I want only the metrics component to redraw when a new metrics update occurs. Alternatively it could be a state in the story component and the metrics info could be sent to the metrics component trough a property. However that would cause also the deck component to redraw which is undesirable. But this rest on my understanding that if a react components state is changed then all its children will also be redrawn, I could be wrong here (Håvard disagrees I think) I don't have any strong feelings about it but redrawing deck may alter its statistics which is the very thing we want to measure.

nilscb avatar May 07 '25 11:05 nilscb

Here a snapshot: image

w1nklr avatar May 14 '25 08:05 w1nklr