Closed Bug 1849405 Opened 2 years ago Closed 2 years ago

Improve damp tests for pause and stepping to properly cover map scope scenarios

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We currently test have basic tests for pausing and stepping in original files. See https://searchfox.org/mozilla-central/source/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js#84-132

These do not seem to properly cover all scenarios as there are no significant improvements or regressions when map scopes are turned on.

For map scopes the differences are significant when a pause or step jumps to a new source, lets cover that as part of the test.

Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Attachment #9350326 - Attachment description: WIP: Bug 1849405 - [devtools] Make sure step in test covers stepping into a new source → Bug 1849405 - [devtools] Make sure the step-in test covers stepping into a new source r=#devtools-reviewers
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfbd0bd9bc62 [devtools] Make sure the step-in test covers stepping into a new source r=perftest-reviewers,devtools-reviewers,sparky,ochameau
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

== Change summary for alert #39574 (as of Sat, 16 Sep 2023 13:22:51 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
24% damp custom.jsdebugger.stepIn.DAMP windows10-64-shippable-qr e10s fission stylo webrender 599.81 -> 458.59
23% damp custom.jsdebugger.stepIn.DAMP windows10-64-shippable-qr e10s fission stylo webrender-sw 599.96 -> 463.45
14% damp custom.jsdebugger.stepIn.DAMP linux1804-64-shippable-qr e10s fission stylo webrender 716.11 -> 617.04
13% damp custom.jsdebugger.stepIn.DAMP linux1804-64-shippable-qr e10s fission stylo webrender-sw 705.41 -> 612.04
9% damp custom.jsdebugger.stepIn.DAMP macosx1015-64-shippable-qr e10s fission stylo webrender 763.88 -> 696.23
... ... ... ... ...
6% damp custom.jsdebugger.project-search.first-search-result.DAMP linux1804-64-shippable-qr e10s fission stylo webrender 131.15 -> 123.19

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=39574

Thanks!
This improvements are expected as the new custom.jsdebugger.stepInNewSource.DAMP subtest added (runs before the custom.jsdebugger.stepIn.DAMP), the step-in-test.js has already been parsed and the symbols built, so the stepIn test would run slightly faster.

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

Attachment

General

Created:
Updated:
Size: