CSS image base64 + background-size - two or more copies -> loading the CPU x2-x10

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
4 years ago
3 years ago

People

(Reporter: admin, Unassigned)

Tracking

({perf, testcase})

30 Branch
x86_64
Linux
perf, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 8453732 [details]
firefox_img_base64_load_cpu

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140608211622

Steps to reproduce:

http://jsfiddle.net/BaNru/JZnNZ/

CSS image base64 two or more copies
and always different background-size

After a full load the page in a peaceful state
And you can see pictures

CPU Intel Core i7


Linux Ubuntu 64 + FF30
CPU load x6-x10
other pages 0-1% CPU
page of img-base64 (demo) - 6-10%

Win8 + FF30 (VirtualBox)
CPU load x2-x3
other pages 1-3% CPU
page of img-base64 (demo) - 3-6%


If 1+ various images and background-size change once (no more), the load on the CPU is not present.

Updated

4 years ago
Keywords: perf, testcase

Updated

4 years ago
Component: Untriaged → Untriaged
Product: Firefox → Core

Comment 1

4 years ago
Is this still happening?  See bug 1006353.
Flags: needinfo?(admin)
(Reporter)

Comment 2

4 years ago
Example of bug 1006353
http://jsfiddle.net/BaNru/3aojahs4/
http://download.g63.ru/ff_bug/FF_cpu_from_1006353.png
(other page | example page)

My example is not changed
http://download.g63.ru/ff_bug/FF_cpu_bug.png

xUbuntu 64 FF32
Which version fixes?


AND see other bug from example 1006353 (http://jsfiddle.net/BaNru/3aojahs4/)
http://download.g63.ru/ff_bug/FF_cpu_1006353.gif
Flags: needinfo?(admin)

Comment 3

4 years ago
(In reply to BaNru from comment #2)
> xUbuntu 64 FF32
> Which version fixes?

35 (Nightly).  You can get a latest one from https://nightly.mozilla.org/, and earlier ones from https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/ (mozilla-central).
(Reporter)

Comment 4

3 years ago
Sorry for the long answer.
FF39 (stable) and 41.0a1 (2015-05-13) - so good

Thread can be closed.

Thanks!
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Component: Untriaged → XUL
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.