Perspective performance issue with transform-style: preserve-3d

RESOLVED INACTIVE

Status

()

Core
Layout
P5
normal
RESOLVED INACTIVE
5 years ago
2 days ago

People

(Reporter: eric, Unassigned)

Tracking

({perf})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36

Steps to reproduce:

Visit http://codepen.io/zeropx/pen/BmepH to see the demo that allows you to see the performance differences. Tested with Firefox(25) at the time and Chrome(31.0.1650.57) at the time. 

Compare the performance differences in both browsers and Firefox chokes quite a bit. 

In Chrome, it doesn't require that you use the transform-style: preserve-3d; to attain the effect. But FF does require it, and soon as you use it it then starts to choke. 

Original Twitter thread that spawned the bug request. https://twitter.com/simevidas/status/403633835218190336


Actual results:

The results are visual, and hard to explain but in general Firefox just doesn't handle the animation well and a huge loss of FPS and CPU spiking happens. 


Expected results:

Would of hoped for smoother animations.

Updated

5 years ago
Component: Untriaged → Layout
Product: Firefox → Core
Summary: perspective performance issue → Perspective performance issue with transform-style: preserve-3d

Comment 1

5 years ago
If I understand you right, you have a bad performance when you use transform-style: preserve-3d;
On Linux, the demo works fine for me, but has a really bad performace if I remofe transform-style: preserve-3d;
(Reporter)

Comment 2

5 years ago
Correct on the bad performance. At the time of test, I did test with OS X 10.8.5 with firefox 25. Also tested on Windows 7 pro machine( my gaming machine ). And performance was even worse with the windows machine. 

Both computers would run the same test with Chrome with very little slow down. 

I don't have an official linux box and haven't been able to try with that. Suppose its time to get one to make sure I have more testing units.

Updated

5 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Version: 25 Branch → Trunk

Updated

5 years ago
Keywords: perf
Priority: -- → P5
SPS profile: http://people.mozilla.org/~bgirard/cleopatra/#report=50597720ab664431b9c42242ab7f0da738d7e0c4

against Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 ID:20140620234544 CSet: 2048ba3b8468

Comment 4

2 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 2 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.