Closed Bug 1657353 Opened 4 years ago Closed 4 years ago

Move ObjLiteralStencil out of ScriptThingVariant

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

References

Details

Attachments

(1 file)

This is currently bloating the size of the ScriptThingVariant by more than 10x. We should move it out-of-band to a vector in the CompilationInfo similar to how bigint/regexp are handled.

Severity: -- → N/A
Priority: -- → P1

This type was ballooning the size of the variant, but could instead be put
out-of-band in a vector on the CompilationInfo. This change also makes the
case more similar to BigInt / RegExp.

Depends on D86007

Assignee: nobody → tcampbell
Status: NEW → ASSIGNED
Blocks: 1649968
Attachment #9168170 - Attachment description: Bug 1657353 - Move ObjLiteralStencil out of ScriptThingVariant. r?djvj → Bug 1657353 - Move ObjLiteralStencil out of ScriptThingVariant. r?arai
See Also: → 1657614
Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f646bc5b763 Move ObjLiteralStencil out of ScriptThingVariant. r=arai
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch

== Change summary for alert #26696 (as of Tue, 11 Aug 2020 08:00:40 GMT) ==

Improvements:

2% Base Content Explicit linux1804-64-shippable-qr opt 13,447,936.00 -> 13,149,013.33
2% Base Content Explicit linux1804-64-shippable-qr opt 13,433,514.67 -> 13,151,744.00

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=26696

== Change summary for alert #26696 (as of Tue, 11 Aug 2020 08:00:40 GMT) ==

Improvements:

2% Base Content Explicit linux1804-64-shippable opt 13,191,680.00 -> 12,888,746.67
2% Base Content Explicit linux1804-64-shippable-qr opt 13,447,936.00 -> 13,149,013.33
2% Base Content Explicit linux1804-64-shippable-qr opt 13,433,514.67 -> 13,151,744.00
2% Base Content Explicit linux1804-64-shippable opt 13,113,173.33 -> 12,855,637.33
0.49% Base Content JS macosx1014-64-shippable opt 3,509,860.67 -> 3,492,752.67
0.48% Base Content JS windows10-64-shippable-qr opt 3,510,642.00 -> 3,493,816.00
0.47% Base Content JS linux1804-64-shippable-qr opt 3,504,748.00 -> 3,488,149.33
0.44% Base Content JS linux1804-64-shippable opt 3,503,560.00 -> 3,488,149.33
0.41% Base Content JS linux1804-64-shippable opt 3,500,837.33 -> 3,486,609.33

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=26696

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: