Bug 6002 - Firefox has massive delay loading JPEG images
Summary: Firefox has massive delay loading JPEG images
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: 1.3.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Bugzilla mail exporter
Keywords: upstream
Depends on:
Reported: 2016-09-22 09:12 CEST by Pierre Ossman
Modified: 2023-07-04 13:28 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2016-09-22 09:12:08 CEST
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:

Comment 1 Pierre Ossman cendio 2018-09-11 13:17:38 CEST
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)
Comment 2 Pierre Ossman cendio 2023-07-04 13:28:25 CEST
The original issue seems to have resolved itself, so let's close this bug. We don't want it growing to some general performance investigation bug.

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