Closed
Bug 712311
Opened 14 years ago
Closed 10 years ago
Javascript (exec + html5) is slow on my website
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: leaderpol, Unassigned)
Details
(Whiteboard: [closeme 2016-06-01])
Attachments
(1 file)
|
303 bytes,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20100101 Firefox/9.0
Build ID: 20111216140209
Steps to reproduce:
I write an grapher application in HTML5 (http://seg.deberranger.com) and FF9.0 is going very slow on it. Chrome is OK, FF8.0 OK and IE 9.0 OK. I think there is a bug you could find by debugging my site.
Actual results:
FF is frozen
Expected results:
The render 2D ans 3D will works fine
Comment 2•14 years ago
|
||
How can we test this? What are the steps to reproduce?
Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode
How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile
Please post the contents of about:memory when the slowness occurs (as a text attachment to this report)
In safe mode it's better but very slow and FF frozen sometimes.
Try a comparaison between FF9, FF8 and Chrome.
Chrome is better (~5FPS) than FF.
about:memory :
Main Process
Explicit Allocations
99.26 MB (100.0%) -- explicit
├──57.22 MB (57.65%) -- js
│ ├──19.21 MB (19.36%) -- compartment(http://seg.deberranger.com/)
│ │ ├──17.19 MB (17.32%) -- gc-heap
│ │ │ ├──11.05 MB (11.14%) -- objects
│ │ │ ├───5.11 MB (05.15%) -- arena-unused
│ │ │ ├───0.57 MB (00.57%) -- shapes
│ │ │ └───0.45 MB (00.46%) -- (5 omitted)
│ │ ├───1.15 MB (01.16%) -- object-slots
│ │ ├───0.52 MB (00.53%) -- script-data
│ │ └───0.35 MB (00.36%) -- (7 omitted)
│ ├──13.84 MB (13.95%) -- gc-heap-chunk-dirty-unused
│ ├───9.89 MB (09.96%) -- compartment([System Principal], 0x7f61000)
│ │ ├──6.00 MB (06.04%) -- gc-heap
│ │ │ ├──2.84 MB (02.86%) -- objects
│ │ │ ├──1.83 MB (01.85%) -- shapes
│ │ │ ├──0.67 MB (00.68%) -- scripts
│ │ │ └──0.65 MB (00.66%) -- (6 omitted)
│ │ ├──1.39 MB (01.40%) -- (7 omitted)
│ │ ├──1.32 MB (01.33%) -- script-data
│ │ ├──0.63 MB (00.64%) -- object-slots
│ │ └──0.55 MB (00.55%) -- property-tables
│ ├───3.44 MB (03.47%) -- compartment(http://www.google.fr/search?q=about&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:fr:official&client=firefox-a)
│ │ ├──2.08 MB (02.10%) -- gc-heap
│ │ │ ├──0.86 MB (00.86%) -- objects
│ │ │ ├──0.71 MB (00.72%) -- (6 omitted)
│ │ │ └──0.51 MB (00.52%) -- shapes
│ │ ├──0.80 MB (00.80%) -- script-data
│ │ └──0.56 MB (00.56%) -- (8 omitted)
│ ├───2.95 MB (02.97%) -- compartment(https://bugzilla.mozilla.org/token.cgi?t=2elbY71s9N&a=request_new_account)
│ │ ├──1.94 MB (01.96%) -- gc-heap
│ │ │ ├──0.79 MB (00.79%) -- objects
│ │ │ ├──0.70 MB (00.70%) -- shapes
│ │ │ └──0.46 MB (00.46%) -- (6 omitted)
│ │ └──1.01 MB (01.01%) -- (9 omitted)
│ ├───2.50 MB (02.52%) -- compartment(https://www.facebook.com/plugins/likebox.php?channel=https%3A%2F%2Fs-static.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df884fa1197fa08%26origin%3Dhttp%253A%252F%252Fseg.deberranger.com%252Ff2e0f220b978418%26relation%3Dparent.parent%26transport%3Dpostmessage&colorscheme=light&header=true&height=62&href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FScript-Equation-Grapher%2F200907969938389&locale=en_US&sdk=joey&show_faces=false&stream=false&width=400)
│ │ ├──1.64 MB (01.65%) -- gc-heap
│ │ │ ├──1.08 MB (01.09%) -- (7 omitted)
│ │ │ └──0.55 MB (00.56%) -- objects
│ │ ├──0.53 MB (00.53%) -- script-data
│ │ └──0.34 MB (00.34%) -- (8 omitted)
│ ├───2.14 MB (02.16%) -- compartment(atoms)
│ │ ├──1.28 MB (01.29%) -- string-chars
│ │ ├──0.87 MB (00.87%) -- gc-heap
│ │ │ ├──0.85 MB (00.86%) -- strings
│ │ │ └──0.01 MB (00.01%) -- (3 omitted)
│ │ └──0.00 MB (00.00%) -- (1 omitted)
│ ├───1.16 MB (01.17%) -- runtime
│ │ ├──1.00 MB (01.01%) -- atoms-table
│ │ └──0.16 MB (00.17%) -- (1 omitted)
│ ├───0.81 MB (00.82%) -- compartment(https://plus.google.com/u/0/_/notifications/frame?hl=fr&origin=http%3A%2F%2Fwww.google.fr&jsh=r%3Bgc%2F25220049-88ab8d80#pid=1&id=gbsf&parent=http%3A%2F%2Fwww.google.fr&rpctoken=129577217&_methods=onError%2ConInfo%2ChideNotificationWidget%2CpostSharedMessage%2CsetNotificationWidgetHeight%2CswitchTo%2CnavigateTo%2CsetNotificationText%2CsetNotificationAnimation%2ChandlePosted%2C_ready%2C_close%2C_open%2C_resizeMe)
│ │ ├──0.53 MB (00.53%) -- gc-heap
│ │ │ └──0.53 MB (00.53%) -- (8 omitted)
│ │ └──0.29 MB (00.29%) -- (9 omitted)
│ ├───0.69 MB (00.70%) -- gc-heap-chunk-admin
│ └───0.57 MB (00.57%) -- (4 omitted)
├──26.14 MB (26.34%) -- heap-unclassified
├───5.81 MB (05.85%) -- storage
│ └──5.81 MB (05.85%) -- sqlite
│ ├──1.92 MB (01.94%) -- places.sqlite
│ │ ├──1.63 MB (01.65%) -- cache-used [4]
│ │ └──0.29 MB (00.29%) -- (2 omitted)
│ ├──1.76 MB (01.77%) -- (9 omitted)
│ ├──1.27 MB (01.28%) -- cookies.sqlite
│ │ ├──1.26 MB (01.27%) -- cache-used
│ │ └──0.01 MB (00.01%) -- (2 omitted)
│ └──0.86 MB (00.87%) -- other
├───3.90 MB (03.93%) -- layout
│ ├──2.76 MB (02.78%) -- (13 omitted)
│ ├──0.62 MB (00.62%) -- shell(https://bugzilla.mozilla.org/request.cgi?requester=leaderpol%40gmail.com&requestee=leaderpol%40gmail.com&do_union=1&group=type&action=queue)
│ │ ├──0.56 MB (00.57%) -- arenas
│ │ └──0.05 MB (00.05%) -- (1 omitted)
│ └──0.53 MB (00.53%) -- shell(http://www.google.fr/search?q=about&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:fr:official&client=firefox-a)
│ └──0.53 MB (00.53%) -- (2 omitted)
├───3.25 MB (03.27%) -- spell-check
├───1.24 MB (01.25%) -- dom
├───0.89 MB (00.90%) -- xpti-working-set
├───0.52 MB (00.53%) -- images
│ └──0.52 MB (00.53%) -- (2 omitted)
└───0.28 MB (00.29%) -- (3 omitted)
Other Measurements
0.95 MB -- canvas-2d-pixel-bytes
0.00 MB -- gfx-d2d-surfacecache
0.00 MB -- gfx-d2d-surfacevram
0.00 MB -- gfx-surface-image
1.19 MB -- gfx-surface-win32
51.67 MB -- heap-allocated
59.68 MB -- heap-committed
3.86 MB -- heap-dirty
201.33 MB -- heap-unallocated
2 -- js-compartments-system
7 -- js-compartments-user
45.00 MB -- js-gc-heap
6.55 MB -- js-gc-heap-arena-unused
0.00 MB -- js-gc-heap-chunk-clean-unused
13.84 MB -- js-gc-heap-chunk-dirty-unused
45.32% -- js-gc-heap-unused-fraction
264.24 MB -- private
277.02 MB -- resident
831.26 MB -- vsize
16 -- webgl-buffer-count
3.71 MB -- webgl-buffer-memory
1 -- webgl-context-count
1 -- webgl-renderbuffer-count
16.00 MB -- webgl-renderbuffer-memory
4 -- webgl-shader-count
1 -- webgl-texture-count
16.00 MB -- webgl-texture-memory
I've put un my website some samples.
http://seg.deberranger.com/exemples/122-BouleSurUnDrap.crb
This one is very slow on FF and supportable on Chrome.
If you wan to test it use the load button on http://seg.deberranger.com (2nd from the icon list) and load the .crb on you hard disk.
Regards.
I have similar problems with javascript pagination project for http://www.outletpc.com. Everything fine in Chrome. Has anybody figure anything out?
Comment 5•10 years ago
|
||
leaderpol, Do you still see this problem when using a current version?
(In reply to kj52 from comment #4)
> I have similar problems with javascript pagination project for
> http://www.outletpc.com. Everything fine in Chrome. Has anybody figure
> anything out?
I cannot reproduce this using current nightly
Flags: needinfo?(leaderpol)
Whiteboard: [closeme 2016-06-01]
(In reply to Wayne Mery (:wsmwk, use Needinfo for questions) from comment #5)
> leaderpol, Do you still see this problem when using a current version?
>
>
> (In reply to kj52 from comment #4)
> > I have similar problems with javascript pagination project for
> > http://www.outletpc.com. Everything fine in Chrome. Has anybody figure
> > anything out?
>
> I cannot reproduce this using current nightly
My problem was with webgl not only html5.
For me this case is now close.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•10 years ago
|
Flags: needinfo?(leaderpol)
You need to log in
before you can comment on or make changes to this bug.
Description
•