NPellet / visualizer

Other
43 stars 24 forks source link

Process highlight is a limiting step in panzoom #972

Open lpatiny opened 7 years ago

lpatiny commented 7 years ago

https://github.com/NPellet/visualizer/blob/master/src/modules/types/display/panzoom/view.js#L287-L359

In my image processing of cells it appears that 40% of the time is spend in the calculation of highlight

image

stropitek commented 7 years ago

could you check how many times the processHighlights function is called? I don't think it's slow, but maybe it's called often. Does your view has many panzoom modules?

lpatiny commented 7 years ago

We have indeed 4 pan-zoom module in the view and the image have around 10 million pixels