biigle / annotations

:m: BIIGLE module to create, edit and explore image annotations
0 stars 1 forks source link

Abysmal map interaction performance with Chrome #49

Closed mzur closed 7 years ago

mzur commented 7 years ago

I just noticed a horrible performance of the annotation tool map in Chrome 54.0.2840.100 (64-bit) Ubuntu. Interacting with the image and creating annotations is almost impossible. This is unrelated to our adding of Vue or upgrading of OpenLayers since I can revert to dias-core v1.1.5 and dias-annotations v1.1.3 and it's still bad. Firefox works perfectly fine and it wasn't always like this in Chrome. Maybe it's some issue introduced in a recent version of Chrome?

I'ts caused by extremely slow drawImage calls:

screenshot from 2016-12-01 15-40-47

I hope this affects only my aged machine...

mzur commented 7 years ago

It runs much better in Chromium Version 53.0.2785.143 (64-bit) Ubuntu so maybe it's an issue introduced in Chrome 54.

mzur commented 7 years ago

I found a bug in the Chrome bug tracker that addresses a problem like this one. The two examples consistently reproduce the error.

I'm setting this to stalled since there probably is nothing we can do about it.

mzur commented 7 years ago

Works again in Chrome 55.0.2883.75 (64-bit).