Embed the first pending promise reaction into the promise itself, rather than allocating for it.
Categories
(Core :: JavaScript Engine, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: mgaudet, Assigned: mgaudet)
References
(Blocks 1 open bug)
Details
(Keywords: perf-alert)
Attachments
(5 external files)
What it says on the tin :)
| Assignee | ||
Comment 1•20 days ago
|
||
Updated•20 days ago
|
| Assignee | ||
Comment 2•20 days ago
|
||
| Assignee | ||
Comment 3•20 days ago
|
||
| Assignee | ||
Comment 4•20 days ago
|
||
Initialize pending and settled reactions on the stack before choosing
their representation. Pending reactions now collect host data and apply
extraStep before allocating their reaction record.
| Assignee | ||
Comment 5•20 days ago
|
||
Most pending promises only ever get one reaction, so instead of allocating a
PromiseReactionRecord for it, store it in two new reserved slots of the
promise (plus REACTIONS_OR_RESULT_SLOT and the promise flags) when its fields
fit. At settlement, enqueue it inline if eligible, otherwise inflate it into
a reaction record. Code that needs the reaction list representation (a second
reaction, the debugger) first moves it into a reaction record.
Comment 7•19 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/aa3ed985d735
https://hg.mozilla.org/mozilla-central/rev/dd56e494f1a1
https://hg.mozilla.org/mozilla-central/rev/ef62ef68f88f
https://hg.mozilla.org/mozilla-central/rev/00409eddcd7d
https://hg.mozilla.org/mozilla-central/rev/215c68ded9dc
https://hg.mozilla.org/mozilla-central/rev/4e0406852cf0
Comment 8•16 days ago
|
||
Perfherder has detected a browsertime performance change from push 4e0406852cf019fc803a9599cacc7967d1a8c253.
No action is required from the author; this comment is provided for informational purposes only.
| Improvements | Test | Platform | Options | Absolute values [old vs new] | Performance Profiles |
|---|---|---|---|---|---|
| 31% | jetstream3 doxbee-promise-Geometric (doc) | windows11-64-24h2-shippable | fission webrender | 92.24 score -> 121.21 score | |
| 21% | jetstream3 doxbee-promise-First (doc) | windows11-64-24h2-shippable | fission webrender | 50.31 ms -> 39.59 ms | |
| 19% | jetstream3 doxbee-promise-Worst (doc) | macosx1500-aarch64-shippable | fission webrender | 47.19 ms -> 38.42 ms | |
| 11% | jetstream3 doxbee-promise-Geometric (doc) | android-hw-a55-14-0-aarch64-shippable | fission webrender | 36.93 score -> 41.07 score | |
| 6% | jetstream3 async-fs-Geometric (doc) | macosx1500-aarch64-shippable | fission webrender | 137.09 score -> 144.81 score | |
| ... | ... | ... | ... | ... | ... |
| 5% | jetstream3 doxbee-async-Average (doc) | macosx1500-aarch64-shippable | fission webrender | 18.87 ms -> 17.93 ms |
Need Help or Information?
If you have any questions, please reach out to aesanu@mozilla.com. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
Comment 9•12 days ago
|
||
Perfherder has detected a devtools performance change from push 61519993ac138b81f5b8df14a080200b60b2ef78.
No action is required from the author; this comment is provided for informational purposes only.
| Improvement | Test | Platform | Options | Absolute values [old vs new] |
|---|---|---|---|---|
| 14% | reload-webconsole:parent-process objects-with-stacks | linux2404-64-shippable | 89.62 -> 77.33 |
Need Help or Information?
If you have any questions, please reach out to aesanu@mozilla.com. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
Comment 10•12 days ago
•
|
||
This devtools performance change is for push 4e0406852cf019fc803a9599cacc7967d1a8c253
Updated•2 days ago
|
Description
•