Open Bug 1935596 Opened 1 year ago Updated 1 year ago

Modified Codepen demo (https://codepen.io/wodniack/pen/poOGZoX?editors=0010) spends time around GCMinor

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(2 files)

Go to https://codepen.io/wodniack/pen/poOGZoX?editors=0010
Change the number of rays to be 10x

Nightly: https://share.firefox.dev/3CVaTiH
Chrome: https://share.firefox.dev/41kZfYM

If you enable the drawing of rays, the profile is dominated by gfx stuff on 16 worker threads. If you disable drawing, its difficult to tell the relative speed difference.

Attached file Testcase_No Draw.html —
Attached file index - Yes Draw.html —

I wonder if the " SM's one-element double-to-string cache" mentioned here is also relevent in this case.

See Also: → 1880795

The test is creating a ton of small ropes. These are allocated in the nursery and then tenured. The promotion rate (70%) isn't high enough to disable allocating strings in the nursery. So string pretenuring (especially for concatenation) would help here.

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: