Skip to content

Raster graphics / heatmap performance #1827

Closed
@ssfrr

Description

@ssfrr

(continued from #332)

@jackparmer pointed me towards https://plot.ly/~PythonPlotBot/829, which is a good example of the sort of plots I'm working with.

On my machine (laptop without super graphics card, but 16GB ram), that page takes around 17s to load, and then clicking the "code" heading crashes the browser tab.

From chrome's profiler, it looks like there's a gap in the middle where the CPU isn't doing much, I'm not sure what's going on there.
image

The plots here (which are larger) load OK, but demonstrate some unexpected performance differences between the GL and non-GL

  • The mouse interactions for the GL version are laggier than the non-GL one, particularly with the box zoom-selection.
  • timing the loads separately (commenting out one at a time) the GL one takes about 4-5sec to load and the non-GL takes 2-3sec.
  • when repeatedly re-loading the GL heatmap, it occasionally renders only the color bar, not the actual heatmap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions