Closed Bug 1035548 Opened 11 years ago Closed 10 years ago

IPViking Live, citing performance issues, Only Supports Chrome

Categories

(Core :: Graphics, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bkerensa, Unassigned)

References

()

Details

(Keywords: hang, perf)

Attachments

(2 files)

WFM in current Nightly, but it seems to have a very bad performance.
Works but they give a popup saying they only support Chrome unless you UA spoof
I worked on the IPViking map, and added that message because performance was significantly better on Chrome compared to any other browser. It might be possible for it to be optimized for Firefox, but I'm not sure how to best start. Would profiling data be the most useful? Or is there a list of Firefox specific speedups and and gotchas (esp around Canvas) that the code can be checked against. Thanks
Connecting to https://map.ipviking.com/ with Firefox 32.0.1 raises a > "Secure Connection Failed. An error occurred during a connection > to map.ipviking.com. SSL received a record that exceeded the > maximum permissible length. > (Error code: ssl_error_rx_record_too_long) " Trying with http://map.ipviking.com/ I don't see any issues be performance or layout. Some performance issues happen when there is massive attack being displayed, but this happens also in Opera Blink. So not sure there is a real bug here. @jtmoulia How did you determine that there was a difference? Which aspects? If there is really a difference it would be cool to know from where it was noticed and then from there we can drilled down the origin of it. ^_^ Thanks.
Assignee: english-us → nobody
URL: https://map.ipviking.com
Component: English US → Desktop
Flags: needinfo?(jtmoulia)
Whiteboard: [country-us]
Attached image massive-attack.png
Example of massive attack. Burst of green.
There is no more spoofing needed as the website does not block Firefox visitors on http://map.ipviking.com/, but in Firefox you get roughly one frame every *two seconds* (tested with radeonsi and intel drivers on Linux). In Chrome, you get super fluid performance with animations flying all over the place and interactive points being very reactive.
Since this is likely a Firefox specific performance bug I'll move it to Core.
Severity: normal → major
Component: Desktop → JavaScript Engine
Keywords: hang, perf
OS: Mac OS X → All
Product: Tech Evangelism → Core
Hardware: x86 → All
Whiteboard: [country-us]
Version: unspecified → Trunk
You should also retitle for clarity. BTW, I tested this on Firefox for Windows with a fairly powerful i7+nVidia setup too, same results; YMMV.
Moving to graphics, as almost all time is spent in either Canvas or DisplayList code. Also, enabling skia-gl on my OS X setup improves things substantially. Which makes me wonder: Jtmoulia, did you test this on Windows? We have hardware acceleration of Canvas2D working there, so it might well be the case that most of your users wouldn't experience the same performance issues that one sees on OS X and Linux.
URL: https://map.ipviking.com http://map.ipviking.com
Component: JavaScript Engine → Graphics
Summary: IPViking Live Only Supports Chrome → IPViking Live, citing performance issues, Only Supports Chrome
Just tried Win8.1 with x86_64 e10s Nightly against Chrome. Chrome has at least 4 times the framerate. Full CPU used in content process.
Jeff, Bas, do you know who might be able to look into this?
Flags: needinfo?(jmuizelaar)
Flags: needinfo?(bas)
@till - I haven't ran it on windows yet, I asked my dad to give it a try :) Has anyone else tried this? Additionally, my contract is up I'm not working on this anymore. I sent the issue to Norse; hopefully they can implement any suggested changes. Thanks for the thoughts!
Flags: needinfo?(jtmoulia)
(In reply to jtmoulia from comment #12) > @till - I haven't ran it on windows yet, I asked my dad to give it a try :) > Has anyone else tried this? > > Additionally, my contract is up I'm not working on this anymore. I sent the > issue to Norse; hopefully they can implement any suggested changes. > > Thanks for the thoughts! jtmoulia, One of the big performance bottlenecks seems to be the use of getImageData(). Do you know why that page is using getImageData()?
Flags: needinfo?(jmuizelaar) → needinfo?(jtmoulia)
Depends on: 1108719
Flags: needinfo?(bas)
`getImageData()` is used to draw+color to the "particles", however it should be caching each result for a given `(r, g, b, a)`. I believe that's why it's especially slow initially, but speeds up after a little while. At the moment, I don't have dev access to the code, and am not able to connect to the data source locally so I'm not the best resource :/
Flags: needinfo?(jtmoulia)
Still running into problems with this site in Firefox 37.0.2 x86_64. Any news?
Thanks Wayne. I tested again in Firefox Nightly 46.0a1 (2016-01-20). The performances seem to be acceptable. I will close this as worksforme. If we reopen we need a way to better assess the perf issue and set a criteria for reaching them out.
URL: http://map.ipviking.com http://map.norsecorp.com/
Status: NEW → RESOLVED
Closed: 10 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: