Closed Bug 1950508 Opened 14 days ago Closed 8 days ago

Ship Error.captureStackTrace

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
relnote-firefox --- 138+
firefox138 --- fixed

People

(Reporter: mgaudet, Assigned: mgaudet)

References

Details

(Keywords: dev-doc-needed, perf-alert)

Attachments

(1 file)

We'll ship this while resolving standardization in parallel

https://github.com/mgaudet/proposal-error-capturestacktrace/blob/main/README.md

Assignee: nobody → mgaudet
Status: NEW → ASSIGNED
Attachment #9468494 - Attachment description: Bug 1950508 - Ship Error.captureStackTrace r?dminor → Bug 1950508 - Ship Error.captureStackTrace r?dminor!,mccr8!
Pushed by mgaudet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5fdd7a5d986d Ship Error.captureStackTrace r=dminor,mccr8
Status: ASSIGNED → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Regressions: 1951619

Release Note Request (optional, but appreciated)
[Why is this notable]: Fixes web compat problem
[Affects Firefox for Android]: yes
[Suggested wording]: "Shipped an implementation of Error.captureStackTrace to avoid incompatibility with other browsers. We're also pushing on standardization of this non-standard feature"
[Links (documentation, blog post, etc)]: github.com/tc39/proposal-error-capturestacktrace

relnote-firefox: --- → ?

This lead to an improvement of 4KB on Base content JS opt fission on Windows. No idea why, but i did 5 retriggers and got consistent results.

Added to the 138 nightly release notes and on track to be in the final release notes.

(In reply to Cristian Tuns from comment #3)

https://hg.mozilla.org/mozilla-central/rev/5fdd7a5d986d

Perfherder has detected a awsy performance change from push 5fdd7a5d986dbf8742e762f09d8ae7475aea0455.

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
0.27% Base Content JS macosx1470-64-shippable fission 1,539,680.00 -> 1,535,584.00
0.27% Base Content JS windows11-64-24h2-shippable fission 1,540,640.00 -> 1,536,544.00
0.26% Base Content JS windows11-64-24h2-shippable fission 1,540,946.00 -> 1,536,885.33

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.

You can run these tests on try with ./mach try perf --alert 44202

For more information on performance sheriffing please see our FAQ.

Keywords: perf-alert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: