Closed Bug 1504434 Opened 6 years ago Closed 6 years ago

WebP seems slow to decode

Categories

(Core :: Graphics: ImageLib, enhancement, P3)

enhancement

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox65 --- affected

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

(Keywords: perf)

Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Depends on: WebP
Keywords: perf
Priority: -- → P3
Webp is lot more complex that jpeg and png, so it's normal to be slower with the same CPU. Webp it's less complex that HEIC/HEIF and AV1F, so it's normal to be faster with the same CPU.
But maybe half the speed is to much...
> But maybe half the speed is to much... I don't see why. On any somewhat-modern hardware (as in: doesn't belong in a museum) this is hardly something any user would notice.
I don't notice a difference on giphy.com or soeren-hentzschel.at, but on http://littlesvr.ca/apng/gif_apng_webp3.html I still have a huge delay to load the images. So I wonder if it may depend on an issue on the server?
(In reply to sjw from comment #4) > I don't notice a difference on giphy.com or soeren-hentzschel.at, but on > http://littlesvr.ca/apng/gif_apng_webp3.html I still have a huge delay to > load the images. > So I wonder if it may depend on an issue on the server? For me in that page FF2018-11-05 not allways load webp images. Chrome and Edge load fast and always fine.
(In reply to Marco Sousa from comment #5) > (In reply to sjw from comment #4) > > I don't notice a difference on giphy.com or soeren-hentzschel.at, but on > > http://littlesvr.ca/apng/gif_apng_webp3.html I still have a huge delay to > > load the images. > > So I wonder if it may depend on an issue on the server? > > For me in that page FF2018-11-05 not allways load webp images. > Chrome and Edge load fast and always fine. Bug 1504448 should resolve that. I think. There are some buffering related problems. The telemetry will probably shift somewhat after that patch lands.
If some concrete examples come up versus Chrome, please comment. Local testing of decoding on the command line vs profiling firefox did not seem to show a significant difference. The buffering problem before was causing some weirdness that could explain the apparent performance (at least in part).
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.