www.cendio.com
Bug 6002 - Firefox has massive delay loading JPEG images
: Firefox has massive delay loading JPEG images
Status: NEW
: ThinLinc
Web Access
: 1.3.1
: PC Unknown
: P2 Normal
: LowPrio
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2016-09-22 09:12 by
Modified: 2018-09-11 13:17 (History)
Acceptance Criteria:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From cendio 2016-09-22 09:12:08
noVNC relies on the browser to decode JPEG images, as that will most likely be
massively faster than doing it in JavaScript. Unfortunately Firefox has some
odd delay in returning the decoded result. Other browsers return the result
pretty much right away, but Firefox takes tens of milliseconds.

Throughput seems to be unaffected though, so the effect is primarily delayed,
but not slowed down, rendering. That delay still could still cause queues to
build up and confuse the congestion control.

We haven't found a workaround yet. It doesn't seem to matter which method we
use to wait for the image to load.

Reported upstream:

https://bugzilla.mozilla.org/show_bug.cgi?id=1304391
------- Comment #1 From cendio 2018-09-11 13:17:38 -------
There is still some delay, but it's similar to Chrome now. The performance of
running an entire noVNC playback test is also better on Firefox than Chrome
now. Not sure if we need to care about this anymore.

(Firefox can get even faster loading using newer APIs:
https://github.com/novnc/noVNC/pull/1131)