Swimlane performance needs to be optimized for mobile
Zooming and navigating the Swimlane is fairly low-fps on mobile, especially when zoomed in far enough for the framebased grid to be visible.
Profiling shows the following distribution of spent time for dragging the Swimlane:
- 72% - EventHandler for the drag
- 13% - Painting
- 5,3% - Styles
- 3,5% - Reflow
Time within EventHandler is split between (% of total Time)
- 43% - Updating the Ruler Grid/Ticks
- 28% - Updating the AnnotationElements
Within Updating Ruler Grid (% of total Time)
- 23% - buildRulerGridSvgElement > toFormat() (creating the label-string for Ruler Ticks)
- 4,4% - Node.removeChild
Within Updating AnnotationElements
- 25% - buildAnnotationElements > mostly spent on fromISO() and toDuration()
- 3,5% - arrangeAnnotationElements > mostly spent on fromISO()
Edited by Mittermeier, Maximilian