Closed Bug 1317986 Opened 8 years ago Closed 8 years ago

Unity WebGL rendering and mouse/key responsive are delayed, for about 10-15 seconds from the start of the game

Categories

(Core :: JavaScript Engine: JIT, defect, P1)

52 Branch
x86
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox50 --- unaffected
firefox51 --- unaffected
firefox52 --- ?
firefox53 --- verified

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: perf, regression)

Attachments

(1 file)

[Tracking Requested - why for this release]: performance regression of Unity WebGL


+++ This bug was initially created as a clone of Bug #1317960 +++

Probably, It will be remarkable on low spec PC.

Steps to reproduce:
0. Start Firefox
1. open URL http://beta.unity3d.com/jonas/AngryBots/ 
2. Repeatedly key press Arrow key to move a player
   Repeatedly Move mouse pointer and Press left mouse button

Actual Results:
For about 10-15 seconds from the start of the game, the rendering is delayed and lagged.
After for a while(15sec+), the rendering becomes normal without delay.

Expected Results:
The problem should be less than for 1-2 seconds.(but it depend on CPU/GPU spec)

Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=d0f06f2fdba053344e07fbd5b4e55af117077dd4&tochange=ad7523af20b9386d4770e7d124ba42ba8b061a70

Regressed by: Bug 1313180
Flags: needinfo?(luke)
No longer depends on: 1317960
See Also: → 1317967, 1317960
Attached file about_suppot
Bug 1313180 was the one that accidentally disabled asm.js optimizations and was later fixed by bug 1317967.  I tested on the latest nightly and there is no problem loading.  Are you able to reproduce on the latest nightly?
Flags: needinfo?(luke)
(In reply to Luke Wagner [:luke] from comment #2)
> Bug 1313180 was the one that accidentally disabled asm.js optimizations and
> was later fixed by bug 1317967.  I tested on the latest nightly and there is
> no problem loading.  Are you able to reproduce on the latest nightly?

https://hg.mozilla.org/mozilla-central/rev/79feeed4293336089590320a9f30a813fade8e3c
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 ID:20161116030212

It works as expected about mouse moving.
However, due to Bug 1317967, I cannot test about key pressing.
Sorry, I'm trying to understand: are you saying that the 10-15 seconds lag are gone, but that bug 1317967 still reproduces?  Does that mean this bug could be closed?
(In reply to Luke Wagner [:luke] from comment #4)
> Sorry, I'm trying to understand: are you saying that the 10-15 seconds lag
> are gone, 

The delay of mouse interaction is almost same as the good build.

> bug 1317967 still reproduces?  

Yes. 

> Does that mean this bug could be closed?

I will verify after bug 1317967 is fixed.
Component: Untriaged → JavaScript Engine: JIT
Product: Firefox → Core
Priority: -- → P1
I can confirm the problem is fixed on Nightly53.0a1

https://hg.mozilla.org/mozilla-central/rev/28e2a6dde76ab6ad4464a3662df1bd57af04398a
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 ID:20161118030222


(I cannot confirm on Aurora52.0a2 due to bug 1317967).
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: